bolt icon indicating copy to clipboard operation
bolt copied to clipboard

Editor support

Open pascalbe-dev opened this issue 6 years ago • 6 comments

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.

pascalbe-dev avatar Nov 29 '17 10:11 pascalbe-dev

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

rockwotj avatar Dec 10 '17 15:12 rockwotj

I'd like to make an attempt. If anyone else would like to work on this with me please let me know.

walkerrandolphsmith avatar Dec 15 '17 00:12 walkerrandolphsmith

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

ahaverty avatar Dec 15 '17 01:12 ahaverty

That extension is not supported nested path yet 😢 https://github.com/smkamranqadri/vscode-bolt-language/issues/3

yamadashy avatar Oct 11 '18 02:10 yamadashy

In case anyone is interested I ended up using vscode plugin https://marketplace.visualstudio.com/items?itemName=smkamranqadri.vscode-bolt-language

walkerrandolphsmith avatar Oct 16 '18 11:10 walkerrandolphsmith

Just release new version, will appreciate feedback.

https://marketplace.visualstudio.com/items?itemName=smkamranqadri.vscode-bolt-language

smkamranqadri avatar Sep 12 '20 18:09 smkamranqadri