vscode extension view with expose and filter condition shows nothing

クローズ
#1,199 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #1255 @devin-ai-integration による — マージ済み

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, vscode
領域
tooling

調査の方向性

The payload names no files, so start by reproducing the fails view from the issue text with the sysml-lsp language server and the CLI, and compare what each renders. Find where the filter @PartUsage condition is applied to the exposed elements in the InterconnectionView path. Read the five comments first, since they may already narrow the cause. Done means the fails view renders the same diagram as the works view, filtered to part usages, with a regression test.

索引モデルが issue の本文から書いたものです。

説明

bug
What happened, and what you expected instead

When I use VS code extension on example below, I get no diagram for interconnection view that uses filter condition.

Command line tools for getting diargams work fine.

Reproduction
package Model {
    part abcd {
        part a {
            port a;
        }
        part b {
            port b;
        }
        action d;
        interface i connect (a.a, b.b);
        part c;
        port p;
    }
    private import StandardViewDefinitions::*;
    view fails: InterconnectionView {
        expose abcd;
        filter @PartUsage;
    }
    view works: InterconnectionView {
        expose abcd;
    }
}
Version

0.10.0-nightly-20261015-6b8187298

Surface

Language server (sysml-lsp) / VS Code extension

Platform

Ubuntu 24

主要言語
Go
スター
56
フォーク
17
平均マージ
12時間 38分
マージ済み PR(30日)
903

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Open-MBEE/OpenSysML のほかの issue

Open-MBEE/OpenSysML の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。