Skip to content

Adding libraries doesn't work unless restart IDEΒ #876

@yuyully

Description

@yuyully

Environment:

  • VS Code Version: 1.96.4
  • Extension Version: Extension Pack for Java v0.29.0 + Lanuagae Support for Java v1.41.0
  • JDK Type & Version: jdk-17
  • OS Type & Version: Linux/Windows

Step to Reproduce:

  1. Clone and open https://github.com/jdneo/invisble-project
  2. Open a java file
  3. Open project settings > Libraries > Add new library for test-lib folder > Apply
  4. Or Open Java Project view > Referenced Libraries > Add new library for test-lib folder

Expected Behavior:
After add new libraries, it can automatically show up without manually refreshing or restarting IDE.

Actual Behavior:
Add libraries at step 3 or step 4, it won't be refreshed here, even manually refresh it > Restart IDE, the new added libraries will be shown up.
Note: with vscode java 1.40.0 + pack 1.29.0, it doesn't repro.

Image

Related Issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions