You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Syntax highlighting works only if you add a new language and its file for syntax coloring (syntax colorization is based on TextMate grammars and TextMate themes), so VS Code can recognize it and paint it (base on language extension).
Languages from the examples folder are not added to language section in our package.json and that's why syntax coloring is not working.
For e.g. , if you open workflow.wf file in VS Code, in bottom right corner you should see that VS Code recognizes it as a plaintext and do not know the coloring rules.
Main purpose of textx-ls extension is to generate and pack new extension from your DSL definition and other configurations (.txconfig, .txol, .txcl, etc.). You can read here how to generate specific extension.
.txol files are pretty simple. If you are familiar with textX, you can see the outline grammar here.
For_.txcl_, @starcev can help you. Meanwhile, here is the coloring grammar.
We will try to make the documentation as soon as possible. :)
I am testing the examples from the textX-languageserver repo with latest version of VSCode and your extension.
Everything is working except syntax / keyword coloring.
Is this not implemented yet?
Is there any documentation for the .txol and .txco files?
The text was updated successfully, but these errors were encountered: