Edit your SysML v2 model with the Visual Studio Code SysML v2 extension.
This extension adds full textual support for SysML v2 files into Visual Studio Code, including features such as syntax highlighting, error detection, reference navigation. It supports the release 2022-08 release of the SysML v2 specification.
This extension contains a full SysML v2 textual parser allowing error detection. It detects syntax parsing errors and presents them. It parses and checks errors in all opened files and files in the current workspaces. The reference resolution works across files and uses all parsed files in the workspaces.
The resolved references by the parser are navigable in Visual Studio Code. Both by Ctrl+Click (or Cmd+Click on MacOS) to go to the definition or using Go to References or Find all References
Under development features
This extension is in active development and follows the monthly release of the SysML v2 specification. Many features are under development:
[x] Support for SysML textual syntax.
[x] syntax highlighting.
[x] parsing and error detection.
[x] reference resolution and navigation.
[ ] Support for KerML textual syntax.
[ ] syntax highlighting.
[ ] parsing and error detection.
[ ] reference resolution and navigation.
[ ] Full list of symbol presentation and files outline.
[ ] Support for documentation presentation in a hover popup.
[ ] Reference resolution error presentation.
[ ] Rename symbol action.
[ ] Prolog facts generation.
Updates from SysML release 2022-10.
Updates from SysML release 2022-09.
Changed asynchronous messaging through ports to use "send via".
Added "library package" to language extension example.
Changed "as" to "meta" in semantic metadata example.
Declared all standard model library packages using "standard library package".