An Atom extension that provides language support for Cylc workflow configuration files.
Check here for info on supported syntax features.
Install from the Atom settings, the Atom website, or by running
apm install language-cylc.
By default, only files called
suite.rc.processed (and with the future Cylc 8 extension
.cylc) will use the package. If you want all
.rc files to use it: in Atom, go to
Edit > Config... and add the desired extension to your Atom config file under
core.customFileTypes.source.cylc, like this:
The cylc-textmate-grammar repo contains a JSON TextMate grammar file which is used by Atom for syntax highlighting (symlinked to by
To install a development copy of the package:
git clone --recurse-submodules https://github.com/cylc/language-cylc.git cd language-cylc apm link --dev
--recurse-submodules option automatically initialises the cylc-textmate-grammar submodule.
apm link --dev symlinks the clone to
~/.atom/dev/ so that it is loaded when you run Atom in dev mode:
atom --dev .
You can then edit the
cylc-textmate-grammar/src/cylc.tmLanguage.js grammar file. First, read the contributing section of the cylc-textmate-grammar repo - any such edits will be part of that repo as opposed to this vscode-cylc repo. Remember to run
npm build inside
cylc-texmate-grammar after editing & saving the file. Reload the dev window using Ctrl+Shift+F5.
Contributions to Atom-specific features are to be made in this repo, not the submodule.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.