Skip to content

mscgenjs/vscode-mscgen

Repository files navigation

MscGen for Visual Studio Code

Syntax highlighting and snippets for MscGen and two similar sequence chart languages.

demo

Features

  • Contextualized syntax highlighting
  • Inline expression folding
  • Snippets:
    • msc - a skeleton sequence chart appropriate for the language
    • arc - a single arrow arc: a =>> b [label="Message"];
    • ent - an entity: entity [label="Entity"]
    • loop and arc - a loop and an arc template (only available in xù and msgenny)

Supported grammars

The three languages supported by the mscgen_js library and interpreter:

  • MscGen (*.mscgen, *.mscin, *.msc)
    see http://www.mcternan.me.uk/mscgen
  • (*.xu)
    ... which adds inline expressions like alt and loop to MscGen. See the Xù wiki page for more information.
  • MsGenny (*.msgenny)
    ... which is Xù with a simplified syntax. And a little less features. The MsGenny wiki page has more information.

License

GPL-3.0