tmGrammar / editor support / LSP #27
alensiljak
started this conversation in
General
Replies: 1 comment 3 replies
-
Yes and no. If the text is parsed correctly, you can highlight it with AST. However, if the text is invalid (for example, an unclosed transaction), the parser cannot help you. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To support editing the data files in editors (like vscode, for example), a tmGrammar file would be used.
I've noticed that this grammar is a bit limited (see here but would be helpful, nonetheless.
The question is - would this be useful for the parser, #11, at all?
Or, more generally, could the parser be used to support syntax highlighting in text editors?
Beta Was this translation helpful? Give feedback.
All reactions