Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Recognition for Class Method Names #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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