You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using "Go To Symbol..." (⇧⌘O) it seems to only recognize certain ways of declaring functions in javascript.
All three functions should show up when you search "searchable", right? Only "searchable" and "alsoSearchable" show up however.
In this case it looks like these cases work:
Anonymous function assigned as a property on and object when the object is instantiated.
Named function assigned as a property on an object after it's instantiated.
And this case doesn't work:
Anonymous function assigned as a property on an object after it's already been instantiated.
This works in Sublime Text and I'd love if it could work in VS Code as well as it's one of the main ways I navigate my javascript code (especially the thousands of lines of code for my game).
The text was updated successfully, but these errors were encountered:
Using Salsa JS on the same example as I wrote before I get IntelliSense knowing the function, but now when I try to go to symbol I got no suggestion ( the go to symbol ( @ ) returns an empty list ).
egamma
changed the title
Incomplete symbol recognition for functions in javascript
Goto Symbol doesn't show all functions defined inside the file.
Feb 10, 2016
Using "Go To Symbol..." (⇧⌘O) it seems to only recognize certain ways of declaring functions in javascript.
All three functions should show up when you search "searchable", right? Only "searchable" and "alsoSearchable" show up however.
In this case it looks like these cases work:
And this case doesn't work:
This works in Sublime Text and I'd love if it could work in VS Code as well as it's one of the main ways I navigate my javascript code (especially the thousands of lines of code for my game).
The text was updated successfully, but these errors were encountered: