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
Stream results for "Go To References" and other "Go To" methods #4321
changed the title [-]Lazy load Go To References and other Got To methods[/-][+]Stream resulsts "Go To References" and other "Got To" methods[/+]on Jan 29, 2026
changed the title [-]Stream resulsts "Go To References" and other "Got To" methods[/-][+]Stream results for "Go To References" and other "Got To" methods[/+]on Jan 29, 2026
changed the title [-]Stream results for "Go To References" and other "Got To" methods[/-][+]Stream results for "Go To References" and other "Go To" methods[/+]on Jan 29, 2026
How big a delay are you talking about?
The solution you describe is the exact opposite of lazy loading. I'd rather fix performance issue than preload the world just in case someone needs Go to references
The performance issue with Go to References is with medium to large projects. For example try to open this project, https://github.com/spring-cloud/spring-cloud-stream, go to BindingsLifecycleController try to find all references for setApplicationContext, it will take few seconds to return the results.
Activity
[-]Lazy load Go To References and other Got To methods[/-][+]Stream resulsts "Go To References" and other "Got To" methods[/+][-]Stream resulsts "Go To References" and other "Got To" methods[/-][+]Stream results for "Go To References" and other "Got To" methods[/+][-]Stream results for "Go To References" and other "Got To" methods[/-][+]Stream results for "Go To References" and other "Go To" methods[/+]fbricon commentedon Jan 29, 2026
How big a delay are you talking about?
The solution you describe is the exact opposite of lazy loading. I'd rather fix performance issue than preload the world just in case someone needs Go to references
fbricon commentedon Jan 29, 2026
Sorry I misunderstood what you described :-)
We need to investigate if streaming results is a possible solution
fbricon commentedon Jan 29, 2026
@mamilic do you know of other extensions providing streaming support for "go to references", for other languages?
mamilic commentedon Jan 29, 2026
Hi @fbricon , thank you for quick reply.
The performance issue with Go to References is with medium to large projects. For example try to open this project, https://github.com/spring-cloud/spring-cloud-stream, go to BindingsLifecycleController try to find all references for setApplicationContext, it will take few seconds to return the results.
mamilic commentedon Jan 29, 2026
I do not know any, not sure if its possible to be honest. :/
fbricon commentedon Jan 29, 2026
LSP spec says it's doable (ReferenceParams extends PartialResultParams). But I'm curious to see how it looks like in a real world scenario
fbricon commentedon Jan 29, 2026
VS Code currently doesn't support streaming : microsoft/vscode#105870