microsoft / vscode-java-dependency

Manage Java projects in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-dependency
MIT License
140 stars 68 forks source link

Java Projects view is not synced with editor when opening external libraries #812

Closed mamilic closed 3 months ago

mamilic commented 5 months ago

Screencast from 2024-01-10 14-30-12.webm

When I try to navigate to Spring @PathVariable it does open the class file, however it is not synced with Java Projects view.

Steps:

  1. Open demo project, which is attached(simple spring project) demo.zip
  2. Open Java Projects View
  3. Open DemoApplication.java
  4. Navigate to SpringApplication class by ctrl+Left Click
  5. Java Projects View is not synced

However, Java projects view is working perfect with Java classes, and classes which are in the project.

mamilic commented 3 months ago

If you need any additional info regarding this bug, please let me know.

jdneo commented 3 months ago

Is this issue reproducible all the time? If yes, would be great if we have the steps.

mamilic commented 3 months ago

The issues is reproducible all the time, I;ve added the steps to the issue body.

jdneo commented 3 months ago

Thank you! I will take a look!

mamilic commented 3 months ago

The view is now synced. Closing the issue. Thanks @jdneo !