Open gabipetrovay opened 3 years ago
A workaround is to move the folder containing the app out of the workspace, open VScode and make sure it does not see the old app, then bring the app folder back in place and start VSCode again.
java extension is responsible for importing and compiling project. For each workspace, there is a corresponding workspace storage folder(different from your workspace folder). I guess the out-of-date data was stored there. This extension simply retrieve project information from java extension.
AFAIK, you can try below to re-import the project: Right click on your pom.xml file, and select "update project".
Let me know if it works.
@jdneo for awareness, as it's related to importing projects.
I have renamed one Spring Boot app project. But the dashboard still displays the old project name.
I searched the entire VSCode workspace (
grep -ri <old_name>
) for the old name and this is not found.Where/why is the Spring Boot Dashboard caching the project/app name?
The "Refresh" action in the Dashboard also has no effect (looks as if it would not work at all) (the other action "Start ..." is working).
If I start the app, a new launch configuration is added to the launch.json which contains the old
projectName
.Also restarted the VSCode multiple times.