Rakefile preferences (Textmate/Sublime Text) that will add rake tasks to the symbol list
<?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