Provides UON Language support to Visual Studio Code.
UON ™ (short for Unified Object Notation) is a serialization format that aims to bring together the best features of all available serialization formats out there, to create the one to unify them all.
- Syntax highlight:
- Provides syntax highlighting
- Document outlining (Ctrl + Shift + O):
- Provides the document outlining of the file
- Auto completion (Ctrl + Space):
- Provides possible completions for collections, units, types and their properties
- Hover support:
- Hovering over a node shows its description if it exists
- Lint:
- Detects if token are missing or false
First run :
npm install
Then open the project ans press F5
to open a new window with your extension loaded.
If you change the grammar file, you need to re-generate the antlr files used by the extension by running :
npm run antlr4ts
The parser for UON have been implemented using antlr4ts.
The autocompletion has been implemented with the excellent c3 engine.