red-blox / zap

A lightning fast networking solution for roblox.
https://zap.redblox.dev
MIT License
82 stars 15 forks source link

[FEAT] Zap LSP #11

Open sasial-dev opened 8 months ago

sasial-dev commented 8 months ago

Zap should have an LSP with a companion VSCode extension. This opens the door for other editor's support down the line.

jackdotink commented 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.

jackdotink commented 7 months ago

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.