CoffeeScript-Sublime-Plugin
CoffeeScript-Sublime-Plugin copied to clipboard
Better Recognition for Class Method Names
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.