bolt
bolt copied to clipboard
Editor support
Proposal: Editor support for .bolt files (e.g. WebStorm plugin, VS Code plugin)
Reason: It's great to write rules with bolt but still it's very easy to misspell something, miss a bracket and so on. Yes, that is checked by the compiler on building but it would be nice, to have some editor intellisense (for types, functions, ...) and errors within the IDE without building every expression.
This is maybe not the correct place for that request but I didn't know where to put it and I didn't find any issue according to that. Please let me know if there is some editor support already.
This is a totally valid request. Do you know if there is a way to write a plug-in once (maybe specify the Grammer) and get plugins for multiple editors?
/cc @ryanpbrewster
I'd like to make an attempt. If anyone else would like to work on this with me please let me know.
I used something unofficial from the firebase team for Sublime text awhile ago (@samstern authored it afaik). Just seeing a vscode plugin here, might be a nice starting fork https://github.com/smkamranqadri/vscode-bolt-language
That extension is not supported nested path yet 😢 https://github.com/smkamranqadri/vscode-bolt-language/issues/3
In case anyone is interested I ended up using vscode plugin https://marketplace.visualstudio.com/items?itemName=smkamranqadri.vscode-bolt-language
Just release new version, will appreciate feedback.
https://marketplace.visualstudio.com/items?itemName=smkamranqadri.vscode-bolt-language