CQL icon indicating copy to clipboard operation
CQL copied to clipboard

Editor Support: tmBundle for syntax highlighting

Open tehprofessor opened this issue 5 years ago • 2 comments

Howdy,

It'd be nice there was a tmBundle (textmate bundle) for hightling cql syntax. It would allow nearly every text editor on the planet to then highlight CQL.

Best, Seve

P.S. I've been looking around to see if there's a tool that'll take the antlr4 code and automagically output one but I haven't yet gotten the parser to build.

tehprofessor avatar Nov 28 '19 21:11 tehprofessor

There is an XML filed used by RSyntaxTextArea's TokenMakerMaker that lists all the CQL keywords that are highlighted in the editor (an RSyntaxTextArea):

https://github.com/CategoricalData/CQL/blob/master/tools/aqlparse

If you're willing to create a tmBundle that would be great!

wisnesky avatar Nov 30 '19 20:11 wisnesky

Update: there's a new line-by-line tokenizer for syntax highlighting that replaces the tool mentioned above.

wisnesky avatar Feb 22 '21 19:02 wisnesky