Skip to content

Commit

Permalink
Merge pull request #2 from lvzixun/master
Browse files Browse the repository at this point in the history
Add symbol list support
  • Loading branch information
vihangm committed Apr 22, 2015
2 parents ac83fe0 + 37f04f9 commit 248cbcc
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Protobuf.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ repository:
begin: (message|extend)(\s+)([A-Za-z][A-Za-z0-9_.]*)(\s*)(\{)?
beginCaptures:
'1': {name: keyword.source.proto}
'3': {name: entity.name.class.proto}
'3': {name: entity.name.class.message.proto}
end: \}
patterns:
- include: $self
Expand Down
2 changes: 1 addition & 1 deletion Protobuf.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<key>3</key>
<dict>
<key>name</key>
<string>entity.name.class.proto</string>
<string>entity.name.class.message.proto</string>
</dict>
</dict>
<key>end</key>
Expand Down
10 changes: 10 additions & 0 deletions Symbol List.YAML-tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# [PackageDev] target_format: plist, ext: tmPreferences

name: Symbol List
scope: "entity.name.class.message.proto"
uuid: c2234a3a-2e4e-4c92-af3e-5640847d91c6


settings:
showInSymbolList: "1"
showInIndexedSymbolList: "1"
19 changes: 19 additions & 0 deletions Symbol List.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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</string>
<key>scope</key>
<string>entity.name.class.message.proto</string>
<key>settings</key>
<dict>
<key>showInIndexedSymbolList</key>
<string>1</string>
<key>showInSymbolList</key>
<string>1</string>
</dict>
<key>uuid</key>
<string>c2234a3a-2e4e-4c92-af3e-5640847d91c6</string>
</dict>
</plist>

0 comments on commit 248cbcc

Please sign in to comment.