Jinja ModelicaSyntax highlighting for Jinja2 templates that generate Modelica code. FeaturesLayers Jinja2 delimiter highlighting on top of Modelica syntax:
Supported File Extensions
PrerequisitesThis extension depends on an external Modelica grammar for the embedded Modelica highlighting. Install one of: If neither is installed, Jinja2 delimiters will still be highlighted — only the Modelica tokens outside them won't be colored. Python syntax (used for Jinja2 expression content) is provided by VS Code's built-in Python extension. DevelopmentRun locally (no build step)
To iterate: edit the grammar in Inspect token scopesPlace the cursor on any token and run Build a .vsix for local install
Manual File AssociationIf VS Code doesn't automatically recognize your files, add this to your
Publisherhttps://marketplace.visualstudio.com/manage/publishers/hyumo |