Skip to content

[vscode] Boot LS is broken if Java LS launch mode is 'Hybrid' #919

Closed

Description

@BoykoAlex

Boot LS Classpath notification mode is off at the beginning in Hybrid mode. Then it becomes on when Java LS is started in Standard mode a bit later. However at this time Boot LS may not be up since it is up when spring-boot is discovered on classpath and hence enablement of classpath listening goes blank :-
The result of this bug is troublesome as all features of Boot LS are not working because there are no boot projects discovered in the workspace.
The workaround is switch to Standard launch mode of the Java LS.

The solution on the spring-boot tools extension would be enable classapth listener when boot ls is started via the command (command executed via Java LS when spring-boot discovered on the classpath)

Activity

  1. BoykoAlex commented on Dec 7, 2022

    @BoykoAlex
    ContributorAuthor

    Fixed with 88541f6

  2. added this to the 4.17.1.RELEASE milestone on Dec 8, 2022
  3. added
    for: vscode
    and removed on Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: vscodetype: bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions