INTERLIS 2.4 language support
DescriptionA Visual Studio Code extension providing INTERLIS 2.4 language support. The colors of the syntax highlighting are customizable using the colors of the current color theme by default. In addition, this extension provides snippets for commonly used blocks in INTERLIS 2 and a markdown documentation generator. FeaturesSyntax HighlightingThe extension associates with
SnippetsThe extension provides interactive snippets for commonly used INTERLIS 2 blocks. To use the snippets start by typing the name of the block until VSC provides the correct option as suggestion. Select the snippet with the arrow keys and hit Supported snippets include: Code navigation and refactoringThe extension provides code navigation to referenced symbols such as classes, structures and imported models using the Go To Definition functionality (default hotkey Imported models from the model repositories are downloaded automatically to enable navigation to external models. Rename Symbol ( Hovering a name shows the fully qualified name of the element it refers to, with each name linking to its declaration, and its doc comments ( File associationsTo make VS Code treat other file extensions than the default
The example above associates extensions such as Markdown documentationThe extension provides the command "Generate markdown documentation" to create markdown code from an INTERLIS 2 file describing the classes and their attributes. This command can be executed from the Command Palette (Default hotkey Live Diagram ViewWatch your ILI models come to life in real time. As you type, the diagram automatically updates so you can instantly see your model’s structure, spot inconsistencies, and keep everything aligned—no extra clicks required. Export the diagram as .SVG to embed in your webpages or edit it further. The diagram is an interactive UML class graph. Drag boxes and arrows, and click a box or association to jump to its definition. Format DocumentThe Format Document command automatically formats your entire INTERLIS file. It adjusts indentation and spacing to make the code more readable and consistent, while carefully preserving all existing comments. You can invoke this command by right-clicking in an INTERLIS editor and selecting "Format Document" from the context menu. Troubleshooting
|
