spadgos / sublime-jsdocs

Simplifies writing DocBlock comments in Javascript, PHP, CoffeeScript, Actionscript, C & C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work when assigning function to a name

nagarjun opened this issue · comments

In frameworks like Ember or Sails.js, I have to declare functions like this:

doSomething: function(a, b) {
    return true;
}

In these situations, DocBlocker picks up that there is a function with two arguments but does not pick up argument and function names. Am I missing some configuration setting?

That example works for me...
selection_115

Do you have your syntax highlighting set to Javascript?

@spadgos It seems to work now. :-) That was odd. I think I just had to restart Sublime. I'm sorry about that. Please mark this as resolved.