Developers, developers, developers! Steve Ballmer
Like any serious programming language OMT and ODT deserve their own syntax highlighting. We gathered the best people in the fields of semantics, regular expressions and syntax highlighting coloring psychology. They then worked 24/7 for two years to develop this extremely exciting extension.
The plugin includes two languages for syntax highlighting, OMT and ODT. It will add document links to OMT imports and it also includes several nifty snippets for both languages.
In the future, more advanced features like syntax checking, hover information, and code completion will be added.
The plugin should automatically recognise OMT and ODT files, no configuration needed. If it doesn't, add the folowing settings to your Preferences:
"files.associations": {
"*.omt": "omt",
"*.odt": "odt"
},
To easily restart VSCode use Ctrl + Shift + P
/⇧ ⌘ P
and then type Reload Window
.
After you restart VSCode OMT files should have a little OMT label in the bottom right of your screen, and likewise for ODT.
If you notice any problems or have suggestions for improved highlighting you can add an issue on GitHub. You are also welcome to make a pull request of your own for the desired changes.