Skip to content

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

Closed

Description

@martinlippert

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.

Activity

  1. martinlippert commented on May 26, 2021

    @martinlippert
    MemberAuthor

    @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?

  2. added this to the 4.11.0.RELEASE milestone on May 26, 2021
  3. martinlippert commented on May 26, 2021

    @martinlippert
    MemberAuthor

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

  4. BoykoAlex commented on May 27, 2021

    @BoykoAlex
    Contributor

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

  5. BoykoAlex commented on May 28, 2021

    @BoykoAlex
    Contributor

    Should be fixed with b2ebc43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions