Skip to content

Conversation

nickjs
Copy link

@nickjs nickjs commented Dec 6, 2012

Previously, class methods (method names in a class prefixed with @) were not highlighted nor registered as functions definitions. This is my admittedly naive attempt at adding the @ symbol to the first character recognition of the function name regex. The achieved effect is that class-level function names are highlighted the same as all other functions (including the @ symbol), and they show up in the Go To Symbol navigator (also including the @).

A big win for anyone who has more than a handful of static methods.

Allows the display of class methods in Go To Symbol.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant