Permalink
Browse files

Show class and instance methods in symbol list

  • Loading branch information...
andrewschleifer committed Feb 15, 2011
1 parent 1a39136 commit 70df11c3eb00a967877f5055cda28c91b3aa7965
Showing with 25 additions and 0 deletions.
  1. +24 −0 Preferences/Symbol List.plist
  2. +1 −0 info.plist
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//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: Method</string>
<key>scope</key>
<string>meta.function.nu</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>
<integer>1</integer>
<key>symbolTransformation</key>
<string>
s/^\(//; # strip leading parentheses
s/^(\-|\+|imethod|cmethod)\s*\(.*?\)\s*/ $2 /; # strip return type
s/:(\s*\(.*?\))?\s*\w+\s*/:/g; # strip argument variables
s/is(\Z|\s|\)).*//g; # strip terminating keyword
</string>
</dict>
<key>uuid</key>
<string>46E9A54F-5D93-4002-8DF7-86C36C0CE0FD</string>
</dict>
</plist>
View
@@ -253,6 +253,7 @@
<string>61BF925A-71FD-499A-9A1B-D4B407116062</string>
<string>6AC5F301-9421-4C34-A14B-848205EDD633</string>
<string>EAA5B245-8BC3-4D47-8B3D-FFF6D9C81AFA</string>
<string>46E9A54F-5D93-4002-8DF7-86C36C0CE0FD</string>
<string>82E4152A-57BA-476F-9FC1-83920DFE2ADD</string>
<string>CD9FF10E-B2AD-446C-8580-B050643473CF</string>
<string>5092D366-FCA7-4EAF-88B9-B6DDCA942938</string>

0 comments on commit 70df11c

Please sign in to comment.