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
{{ message }}
Repository navigation
Go to Definition does not work when using AMD #2683
It just does nothing unless its a local variable.
I would have suspected this would present a list of all possible matching items in the source.
Its almost as if its not even indexing the code. I am working in a source base of millions of lines of JS so it would be nice.
Products like resharper and visual assist do this better.
Thanks egamma but i could not see it make a difference. Is there some think like lucene indexing the code when you load a folder?
It does not seem very busy when it starts and noticed that the search is really slow which implies its just trawling the files rather then indexing the source.
OK i understand now although i have not looked but its trying to do something smart with module references. Does it go down to script tag html level? I think there are a lot of us that don't use it for vscode for just nodejs development.
OK i understand now although i have not looked but its trying to do something smart with module references.
Correct, Salsa supports the CommonJS module lookup semantics, but it doesn't support AMD yet and we are interested in user feedback on this limitation, so you have done the right thing by filing an issue 😄.
Activity
dresoy commentedon Feb 4, 2016
I agree, it should search it for JavaScript.
egamma commentedon Feb 5, 2016
Please give Salsa our new JS infrastructure a try. Here is how:
get the insider channel: https://blogs.msdn.microsoft.com/vscode/2016/02/01/introducing-insiders-builds/
enable salsa: https://github.com/Microsoft/vscode-docs/blob/master/release-notes/latest.md#javascript---salsa-preview
justin-romano commentedon Feb 5, 2016
Thanks egamma but i could not see it make a difference. Is there some think like lucene indexing the code when you load a folder?
It does not seem very busy when it starts and noticed that the search is really slow which implies its just trawling the files rather then indexing the source.
egamma commentedon Feb 6, 2016
Justin Romaine (@justin-romano) Then I assume your code isn't using the
commonjsmodule system? Are you using another JS module system?justin-romano commentedon Feb 6, 2016
No actually anguar and requirejs.
On Sun, Feb 7, 2016 at 4:52 AM, Erich Gamma [email protected]
wrote:
Justin Romaine
Senior Systems Architect
Spark Dental Technology
[email protected]
ph 021 764 506
hm 09 445 9166
[-]Go to Definition does not work.[/-][+]Go to Definition does not work when using AMD[/+]egamma commentedon Feb 6, 2016
Thanks, got it. Salsa doesn't support AMD yet. I'll move it as a feature request to Salsa component.
egamma commentedon Feb 6, 2016
This issue was moved to microsoft/TypeScript#6942
justin-romano commentedon Feb 6, 2016
OK i understand now although i have not looked but its trying to do something smart with module references. Does it go down to script tag html level? I think there are a lot of us that don't use it for vscode for just nodejs development.
egamma commentedon Feb 6, 2016
Correct, Salsa supports the CommonJS module lookup semantics, but it doesn't support AMD yet and we are interested in user feedback on this limitation, so you have done the right thing by filing an issue 😄.