-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate Delayed Go-to-Definition Behavior in Editors #34783
Comments
See also #34843 for a real project experiencing this. |
I just spoke to @amcasey a bit - part of it seems to be that jumping into a file triggers a project load, but maybe that's fine. The "I'm blocked from navigation" go-to-definition behavior that I'm more concerned about seems to come from Ctrl+Clicking or Cmd+Clicking which might trigger an immediate quick info request! That request will trigger a project load, and that project load will block the server on a "go-to-definition" request. |
@mjbvz we should chat about this one this Thursday |
@DanielRosenwasser Can you also test this in the latest VS Code insiders build to confirm this is still happening. I checked in a fix the hover issue @amcasey mentioned last week but am not sure if it would also fix this |
This is a tracking issue not aimed at any particular milestone. |
I'm not sure this is tracking anything specific. |
Today go-to-definition across files takes a minute in large projects when a file isn't currently opened in an editor.
It's not clear why this is the case when the language service is fully initialized and program loading has occured - the file path is already known (even when declaration maps are enabled). So it seems like the editor is taking a bit longer than it needs, or go-to-definition is being blocked by some other operation (which should potentially be considered lower-priority).
The text was updated successfully, but these errors were encountered: