atom-ternjs
atom-ternjs copied to clipboard
Deal with duplicate declarations
Hey! I'm an angular developer, and I follow John Pappa's style guide for my general code styling guidlines. This means that, for services, a declaration will look something like this:
function ServiceName(dependencies) {
return {
functionName1 : function1
functionName2 : function1
}
/*JSDOCS HERE*/
function function1() {
}
/*JSDOCS HERE*/
function function2() {
}
}
Unfortunately, that leads to behavior like this:

As you can see, there's a duplicate clogging up the request. And often times when I press enter, it will select the incorrect entry. Is there anything that can be done about this?