-
-
Save AndrewRadev/1932675 to your computer and use it in GitHub Desktop.
ctags definitions for coffeescript
You're right :). I don't use classes much, so I guess I never took a good look at this particular regex. Thanks.
No problem, we're all trying to get ctags properly set up for CoffeeScript ;)
Maybe it is better to take last part from class definition? https://gist.github.com/2624883
class GS.Views.Campaign extends Backbone.View
....
I want just Campaign in my autocompletion list instead of GS.Views.Campaign. In fact, I can't autocomplete classes with dots in sublime %(
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can also declare a class like this:
(export ? window).MyClass = class MyClass
constructor: ...
I mean, it doesn't need to start with "class":
https://gist.github.com/2405554