symbol-gen icon indicating copy to clipboard operation
symbol-gen copied to clipboard

Symbols not referenced with correct line number for static class members in JavaScript

Open derwaldgeist opened this issue 9 years ago • 0 comments

I am using these kind of static class member definitions in my JS files:

Messaging.getConversation = function(options) {

}

These kind of method definitions are found and included in the symbols list. But if I open them, the editor does jump to somewhere at the top of the page (typically to the end of the first method used in this file), but not to the definition of the method.

It works for prototype extensions, though:

Message.prototype.send = function(options) {

}

derwaldgeist avatar Dec 21 '15 08:12 derwaldgeist