editors/

directory
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: Apache-2.0

README

Editors

Integrations that put OpenSysML inside a modeling tool or editor. Each lives in its own directory here with its own build.

  • VS Code — the extension that runs sysml-lsp as its language server and hosts the diagram panel; see docs/guide/08-editors.md for what a user sees.

  • JupyterLab — jupyterlab-opensysml, a prebuilt JupyterLab 4 / Notebook 7 extension that registers the sysml and kerml CodeMirror languages, so the cells of a notebook on the sysml kernel, .sysml/.kerml files and Markdown fences are highlighted. Its keyword tables are generated from the lexer by the same tool as the VS Code grammars (make vscode-grammar), and the kernel's pip package (client/jupyter-kernel) ships the build in every wheel and the sdist (make jupyterlab-build); see docs/guide/12-jupyter.md.

  • Magic MDK — a plugin for Cameo Systems Modeler and MagicDraw 2026x Refresh1 (the 2024x line as the minimum; SysML v2 export needs 2026x), positioned as the successor to OpenMBEE's Model Development Kit (MDK) for SysML v2 work; it adds an OpenSysML group to the browser and diagram context menus with Instantiate, Execute action, Execute state machine, Verify requirement/constraint, Evaluate calc and Run analysis. A SysML v2 project is exported through the textual notation service; a SysML v1 project leaves as a .mdzip and is migrated through Convert(xmi→sysml); either is parsed and run on sysml-grpc through the Java client. Outcomes, diagnostics, final time and schedule land in a docking results window and as validation annotations on the Cameo elements, and — where MDK is installed — in DocGen documents through the bundled «JavaExtension» bridge. It builds against compile-only stubs of the OpenAPI, so no licence is needed in CI; the design is in docs/internals/design/mdk-plugin.md and the MDK gap matrix in docs/project/mdk-parity.md.
  • SysON MDK (syson/) — a plugin with a backend adapter and frontend dialog for Eclipse SysON, the Sirius Web based graphical SysML v2 workbench. Phases 1–2 provide right-click instantiate, execute, explore, verify, render document or run document query operations on OpenSysML through the Java client in client/java/opensysml-client, shows the results in SysON with diagnostics attached to the elements they concern. Parser checks on import and structural synchronization are designed only; the discovery against release v2026.9.0, module layout, call sequence and phased plan are in docs/internals/design/syson-plugin.md.

Versions

The editors carry the core version — 0.12.1 now — the same lockstep the clients follow, even though nothing publishes them. check_version.py --editors checks every manifest (the three package.json files and their locks, the Cameo and SysON poms and their children's <parent><version>), and a release fails early when one disagrees. The client references the editors build against — opensysml.client.version in the Cameo pom and the opensysml dependency in the SysON backend pom — are pinned to client/java/pom.xml the same way.

Directories

Path Synopsis
vscode
tools/gengrammar command
Command gengrammar writes the VS Code extension's TextMate grammars and the JupyterLab extension's CodeMirror syntax table from the lexer's keyword list, so highlighting cannot drift from the language.
Command gengrammar writes the VS Code extension's TextMate grammars and the JupyterLab extension's CodeMirror syntax table from the lexer's keyword list, so highlighting cannot drift from the language.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL