feat: log file syntax highlighting
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 https://github.com/microsoft/vscode-docs/issues/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. https://github.com/microsoft/vscode/issues/210475
As debug log tree sitter grammar already exists over at https://github.com/aheber/tree-sitter-sfapex