microsoft / microsoft/vscode-java-dependency

Adding libraries doesn't work unless restart IDE

Open
#876 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
199
Forks
105
Avg merge
1d 22h
Merged PRs (30d)
27

Description

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:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue from the listed steps, using Project Settings > Libraries and the Java Project view > Referenced Libraries as the entry points. Compare adding a library on the reported versions and verify that the library appears without a manual refresh or IDE restart; the issue names no source files or tests to start from.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.