clemos / haxe-sublime-bundle

Sublime Text bundle for Haxe programming language
Apache License 2.0
237 stars 86 forks source link

Do not match functions or variables with @:noCompletion #83

Closed jgranick closed 11 years ago

jgranick commented 11 years ago

Haxe 3 has a new meta, @:noCompletion, that hides methods or variables from code completion. This small commit changes the search pattern to ignore methods or variables that have this tag, helping improve the code completion.

clemos commented 11 years ago

Thanks a lot !

clemos commented 11 years ago

It seems this regexp of yours actually didn't find any variables/functions, rather than just hiding @:noCompletion tagged ones. So unfortunately I had to revert to the previous working regex. I made a few attempts to fix it, but it looks like we need to come up with something else than a regexp to implement the feature.