WDL Syntax Highlighter for SublimeText and TextMate
Installation (SublimeText)
This set of instructions assumes SublimeText running on a Mac
- Create a directory
~/Library/Application Support/Sublime Text 3/Packages/WDL Syntax Highlighting- For version 2, replace Sublime Text 3 with Sublime Text 2
- Copy the
WDL.tmLanguagefile to this new directory - Restart SublimeText, open a WDL file, enjoy!
Installation (TextMate)
- Drag the
WDL.tmLanguagegenerated above onto the TextMate application. - This will convert it and leave you in the BundleEditor window, close the window.
- Open a WDL file, enjoy!
Building .tmLanguage file
This repository has the WDL.tmLanguage file that you can use in the installation section to start using the syntax highlighter immediately. However, if you care to make changes to the current tmLanguage file, you will need to edit WDL.YAML-tmLanguage and then use SublimeText to recompile the WDL.tmLanguage file. To do this, you can use the following set of instructions (assumes SublimeText running on a Mac):
- Install SublimeText 2 or 3
- Install the Package Control package
- Use Package Control to install
PackageDev(CMD+SHIFT+P | Package Control : Install Package) - Open the
WDL.YAML-tmLanguagefile (File | Open...) - Open the Command Palette (CMD+SHIFT+P)
- Select the "PackageDev: Convert (YAML,JSON, Plist) to..." option
- This should write the
WDL.tmLanguagefile to the same directory asWDL.YAML-tmLanguage