Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>INTERLIS 2New to Visual Studio Code? Get it now.
INTERLIS 2

INTERLIS 2

geowerkstatt

|
796 installs
| (5) | Free
Language support for INTERLIS 2.4
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

INTERLIS 2.4 language support

CI Release Visual Studio Marketplace Version License

image

Description

A 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.

Features

Syntax Highlighting

The extension associates with .ILI files and applies coloring to the different elements in the file, for example:

  • Object names like
    • TOPIC
    • MODEL
    • CLASS
  • Data types like
    • BOOLEAN
    • TEXT
  • Keywords like
    • ASSOCIATION
    • ABSTRACT
    • EXTENDS
  • String patterns like
    • {...}

Snippets

The 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 ENTER to insert. Navigate through the snippet and its options with TAB.

Supported snippets include: MODEL, TOPIC, CLASS, STRUCTURE, ASSOCIATION and Role

File associations

To make VS Code treat other file extensions than the default .ili as INTERLIS2 files, add the following to the user settings:

"files.associations": {
    "*.ili*": "INTERLIS2"
},

The example above associates extensions such as .ili with this extension.

Markdown documentation

The 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 Ctrl+Shift+P) or the context menu of an open INTERLIS 2 file.

Live Diagram View

Watch 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 copy the mermaid code directly to your clipboard.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft