-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Is your feature request related to a problem?
The salesforce replay debugger has a syntax but what if I do not have that installed?
**What happens if two grammars are detected? **
It turns out that the last extension alphabetically wins.
We can add a grammar in our extension and get syntax highlighting when the replay debugger extension is not installed.
If a user has both extensions installed then the replay debugger syntax would take priority.
According to microsoft/vscode-docs#2862 there is no way to specify a preferred order.
Tree sitter grammars for vscode extensions are coming in the next few years
Vscode are also implementing tree sitter grammars atm which will be faster than text mate. We should use tree sitter once custom grammars are available.
microsoft/vscode#210475
As debug log tree sitter grammar already exists over at https://github.com/aheber/tree-sitter-sfapex