Cylc syntax highlighting for VSCode, TextMate, PyCharm, WebStorm & Sublime Text 3

We have developed an extension for Visual Studio Code that provides syntax highlighting for Cylc files. It’s available at the Visual Studio Marketplace which can be accessed at marketplace.visualstudio.com/items?itemName=cylc.vscode-cylc or from within VSCode by searching for “cylc” in the extensions panel. Note currently the minimum supported version of VSCode is v1.41.0; if you’re using an earlier version let us know as we can probably support it.

For the other editors, a TextMate bundle is available at github.com/cylc/Cylc.tmbundle - follow the corresponding installation instructions there.

A package for Atom is also in the pipeline.

5 Likes

I’ve just added it - it’s great!

The vscode cylc extension sure is handy! Thanks for providing that.

One additional setting I find useful is I installed the font Fira Code and turned on ligatures. This makes the arrow symbols in the graph section visually appealing

Default font
image

With Fira Code font ligatures (notice the change in the arrow)
image

In my settings.json…

"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace"
"editor.fontLigatures": true,
4 Likes

We’ve release V1.1.0 which now contains snippets with help for Cylc Workflow config items: