Syntax Highlighting
Syntax highlighting in editors and other environments is achieved through quite specific means, for which, unfortunately, there is no common solution. And since there is no common solution, difficulties arise with maintaining code for each individual solution.
Highlighting in VS Code
VS Code has two highlighting methods:
- TextMate format
- Semantic highlighting
Ready-made Solutions
-
TextMate format
glife/tools/syntax/VSCode/qsrc/syntaxes/QSP.tmLanguage.json
- TextMate format by someone called Xorgroth
-
Semantic highlighting
- Combination of
Qsp.FSharp.Parser
,Qsp.FSharp.ServerLanguage
andQsp.FSharp.VsCode
- Combination of