Created
May 16, 2015 16:58
-
-
Save jguice/838fced1e067a2334144 to your computer and use it in GitHub Desktop.
Rakefile preferences (Textmate/Sublime Text) that will add rake tasks to the symbol list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Symbol List</string> | |
<key>scope</key> | |
<string>source.ruby.rakefile.task</string> | |
<key>settings</key> | |
<dict> | |
<key>showInSymbolList</key> | |
<integer>1</integer> | |
<key>symbolTransformation</key> | |
<string> | |
s/^\s*(task\s+:[A-Za-z_][A-Za-z0-9_]+).*$/$1/g; | |
</string> | |
</dict> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment