CoffeeScript-Sublime-Plugin icon indicating copy to clipboard operation
CoffeeScript-Sublime-Plugin copied to clipboard

Better Recognition for Class Method Names

Open nickjs opened this issue 11 years ago • 0 comments

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.

nickjs avatar Dec 06 '12 03:12 nickjs