Open sasial-dev opened 8 months ago
Adding as a summary of discord discussion:
While VSCode may use monaco, it requires textmate grammar files be used for syntax highlighting. We could move to attempt using textmate grammar in docs, or maintain two different highlighters.
My own personal thoughts:
I think we should wait some time for the zap grammar to stabilize, and then create a full LSP and formatter - a formatter especially.
I think this is an issue that should now be prioritized. We're getting a lot more usage of Zap, and the current workflow is quite poor. To get basic syntax highlighting you have to use the playground, which isn't ideal.
We should create a textmate grammar for Zap, use that for a vscode extension and for the docs website.
Zap should have an LSP with a companion VSCode extension. This opens the door for other editor's support down the line.