Skip to content

spring boot language server causing long waits for Java outline view when running in lightweight mode #642

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
martinlippert opened this issue May 26, 2021 · 4 comments

Comments

@martinlippert
Copy link
Member

Describe the bug
I am running the Java language support in Lightweight launch mode only. When I open a Java file and there is no Spring Boot tooling enabled, the outline view will show Java content pretty quickly.

However, when I have the Spring Boot tooling enabled, it takes a long time until the outline content from the Java tooling gets populated.

My assumption is:
VS Code asks all the language servers for the symbols on the file. The Spring Boot tooling waits for a timeout before it returns, and VS Code is waiting for the language servers to return something before it shows the combined results.

@martinlippert
Copy link
Member Author

@BoykoAlex My assumption (but I haven't verified this) is that this is related to the changes to wait for projects to get resolved. Any thoughts here?

@martinlippert
Copy link
Member Author

We definitely need to solve this before we can ship those changes...

@BoykoAlex
Copy link
Contributor

Likely to be related to work we've done to wait for symbols to show... We'll have a look at it.

@BoykoAlex
Copy link
Contributor

Should be fixed with b2ebc43

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants