Permalink
Browse files

fix symbol list

symbols are prefixed by their type's name, e.g. "Function: handle_call"
  • Loading branch information...
1 parent 2497b2d commit 6ea8cf7315e75eb4da2b77dd320f8fa6817784ee @fjl committed Oct 7, 2011
@@ -5,13 +5,13 @@
<key>name</key>
<string>Function Symbols</string>
<key>scope</key>
- <string>source.erlang entity.name.function.definition</string>
+ <string>source.erlang entity.name.function.definition.erlang</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>
<integer>1</integer>
<key>symbolTransformation</key>
- <string>s,$,/,</string>
+ <string>s/^/Function: /</string>
</dict>
<key>uuid</key>
<string>7D7FE91B-0543-4F95-8D99-AF393226415C</string>
@@ -5,13 +5,13 @@
<key>name</key>
<string>Macro Symbols</string>
<key>scope</key>
- <string>source.erlang entity.name.function.macro.definition</string>
+ <string>source.erlang entity.name.function.macro.definition.erlang</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>
<integer>1</integer>
<key>symbolTransformation</key>
- <string>s/^/?/</string>
+ <string>s/^/Macro: /</string>
</dict>
<key>uuid</key>
<string>5EEC72E3-EEA9-4C53-8D70-3903EF1D84E2</string>
@@ -11,7 +11,7 @@
<key>showInSymbolList</key>
<integer>1</integer>
<key>symbolTransformation</key>
- <string>s/^/-/</string>
+ <string>s/^/Module: /</string>
</dict>
<key>uuid</key>
<string>1250456F-9F83-4BAA-B338-5C9E86E89DD9</string>
@@ -5,13 +5,13 @@
<key>name</key>
<string>Record Symbols</string>
<key>scope</key>
- <string>source.erlang entity.name.type.class.record.definition</string>
+ <string>source.erlang entity.name.type.class.record.definition.erlang</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>
<integer>1</integer>
<key>symbolTransformation</key>
- <string>s/^/#/</string>
+ <string>s/^/Record: /</string>
</dict>
<key>uuid</key>
<string>31DB728C-AC89-4DF0-A2B9-9D3D3A7552A9</string>
@@ -5,7 +5,7 @@
<key>name</key>
<string>Symbol Overrides</string>
<key>scope</key>
- <string>source.erlang entity.name.function, source.erlang entity.name.type.class</string>
+ <string>source.erlang entity.name.function.erlang, source.erlang entity.name.function.macro.erlang, source.erlang entity.name.function.guard.erlang, source.erlang entity.name.type.class.module.erlang, source.erlang entity.name.type.class.record.erlang</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>

0 comments on commit 6ea8cf7

Please sign in to comment.