Skip to content

Commit

Permalink
Filter out things starting with <.
Browse files Browse the repository at this point in the history
  • Loading branch information
quarnster committed Jul 6, 2012
1 parent 1bc2775 commit 7ee6dc8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CompleteSharp.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

// Regular expression filter used to filter the completion
// suggestions
"completesharp_filterregex": "^(get_|set_|op_|add_|remove_)",
"completesharp_filterregex": "^(get_|set_|op_|add_|remove_|<)",

// When set to true will inhibit the completions suggested
// by default by Sublime Text 2 if CompleteSharp can't
Expand Down
2 changes: 1 addition & 1 deletion completesharp.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_packages(self, data, thispackage, type):
return packages

def filter(self, typename, var, isstatic, data, indata):
filterregex = self.get_setting("completesharp_filterregex", r"^(get_|set_|op_|add_|remove_)")
filterregex = self.get_setting("completesharp_filterregex", r"^(get_|set_|op_|add_|remove_|<)")
try:
filterregex = re.compile(filterregex)
except:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"description": "C# completions for Sublime Text 2",
"author": "Fredrik Ehnbom (quarnster)",
"homepage": "http://github.com/quarnster/CompleteSharp",
"last_modified": "2012-07-05 22:10:00",
"last_modified": "2012-07-06 07:28:00",
"platforms": {
"*": [
{
"version": "1.0.8",
"version": "1.0.9",
"url": "http://cloud.github.com/downloads/quarnster/CompleteSharp/CompleteSharp.sublime-package"
}
]
Expand Down

0 comments on commit 7ee6dc8

Please sign in to comment.