Replies: 3 comments 1 reply
-
Have you tried right clicking in B/pom.xml -> "Update project"? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
yes it's the same command in the pom.xml context menu and the command palette. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When developing something involving multiple projects with a setup like
Project A provides some feature
Project B uses a snapshot of project A
You quickly run into the problem that you have one VS Code window open for each project, you fix something in project A and do
mvn install
.You are able to run project B and it will use the new snapshot correctly but if you have a class from project A open e.g. for debugging, you will keep seeing the old source code so code lines won't match etc. Effectively you cannot debug.
The only workaround for this I have found is to do
Reload window
as it clears some cache(?) and then shows the correct sources for project A classes.Is there a better way?
Beta Was this translation helpful? Give feedback.
All reactions