Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cylc/Cylc.tmbundle
TextMate bundle for the Cylc language (for TextMate, PyCharm, WebStorm, Sublime)
https://github.com/cylc/Cylc.tmbundle
cylc textmate-bundle
Last synced: about 1 month ago
JSON representation
TextMate bundle for the Cylc language (for TextMate, PyCharm, WebStorm, Sublime)
- Host: GitHub
- URL: https://github.com/cylc/Cylc.tmbundle
- Owner: cylc
- License: bsd-3-clause
- Created: 2020-04-23T18:38:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T10:10:23.000Z (7 months ago)
- Last Synced: 2024-05-17T03:44:56.304Z (7 months ago)
- Topics: cylc, textmate-bundle
- Language: Ruby
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cylc TextMate Bundle
Last updated: 2024-05-15
A TextMate bundle for working with [Cylc](http://www.cylc.org) workflow
configuration files.## Installing
Download this repository keeping the `.tmbundle` extension.
* TextMate - Open the bundle file.
* PyCharm - [instructions](https://www.jetbrains.com/help/pycharm/tutorial-using-textmate-bundles.html)
* WebStorm - [instructions](https://www.jetbrains.com/help/webstorm/tutorial-using-textmate-bundles.html)
* Sublime Text 3:``git clone https://github.com/cylc/Cylc.tmbundle /Cylc.tmbundle``
(to get package path click Preferences => Browse Packages)
## FAQ - How do I enable syntax highlighting for all `.rc` files?
By default this bundle will enable highlighting for `suite.rc` and `.cylc` files (plus a few others), but not all `.rc` files. However, you can add your own file associations:
Once you've downloaded the repository, open the `Syntaxes/cylc.tmLanguage` file and add `rc` under the `fileTypes` key, like this:
```diff
fileTypes
suite.rc
cylc
+ rc
...
```
You will probably have to restart the editor for this to take effect.Note: you can add exact matches (e.g. `suite.rc.processed`) OR extensions without the dot (e.g. `rc`), but you cannot use wildcards (e.g. `*` won't work).
## Building
This bundle is built from the
[Cylc TextMate grammar](https://github.com/cylc/cylc-textmate-grammar).The bundle needs to be re-built when the grammar is updated. This is done by
running `build.rb`.Tue builder requires the
[plist](https://rubygems.org/gems/plist/versions/3.5.0) gem.## How to Build A Bundle From Scratch
Bundles can be created via the TextMate app (Mac OS only).
The bundle editor appears to have disappeared in version 2, these steps apply
to TextMate 1.5:1. Open TextMate.
1. Open the bundle editor via the bundle menu.
1. Create a new bundle.
1. Within that bundle create a new language.
1. Close the bundle editor.
1. Navigate to `/Users/$USER/Library/Application Support/TextMate/Bundles/`.You now have a blank bundle. We need the bundle for two things:
1. The `info.plist` file (which we will keep).
1. The `uuid` in the language file (which we will use in the build process).