Skip to content

Commit

Permalink
put up a moving sign for Sublime text highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Billings authored and geoffjentry committed Oct 12, 2017
1 parent b9b8c86 commit a63806c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 470 deletions.
34 changes: 1 addition & 33 deletions highlighters/SublimeText/README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1 @@
WDL Syntax Highlighter for [SublimeText][1] and TextMate
===================================================

Installation ([SublimeText][1])
--------------------------
This set of instructions assumes [SublimeText][1] 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.tmLanguage` file to this new directory
* Restart [SublimeText][1], open a WDL file, enjoy!

Installation ([TextMate][2])
--------------------------
* Drag the `WDL.tmLanguage` generated above onto the [TextMate][2] 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][1] to recompile the `WDL.tmLanguage` file. To do this, you can use the following set of instructions (assumes [SublimeText][1] running on a Mac):

* Install [SublimeText][1] 2 or 3
* Install the [Package Control][3] package
* Use [Package Control][3] to install `PackageDev` (CMD+SHIFT+P | Package Control : Install Package)
* Open the `WDL.YAML-tmLanguage` file (File | Open...)
* Open the Command Palette (CMD+SHIFT+P)
* Select the "PackageDev: Convert (YAML,JSON, Plist) to..." option
* This should write the `WDL.tmLanguage` file to the same directory as `WDL.YAML-tmLanguage`

[1]: http://www.sublimetext.com/ "SublimeText"
[2]: https://macromates.com/ "TextMate"
[3]: https://packagecontrol.io/ "Package Control"
## Moved to [it's own repo](https://github.com/broadinstitute/wdl-sublime-syntax-highlighter)
107 changes: 0 additions & 107 deletions highlighters/SublimeText/WDL.YAML-tmLanguage

This file was deleted.

Loading

0 comments on commit a63806c

Please sign in to comment.