2

Today vscode stopped recognizing Java projects in sub folders. How can I make that happen without manually creating a workspace and manually importing each project. My file structure looks like:

parent
- project1
    ...
    pom.xml
- project2
    ...
    pom.xml
  ...
- projectn
    ...
    pom.xml

I used to cd to parent and issue code . and it would automatically discover and open all the Java projects. I've never needed a .code-workspace file before.

Thanks, Paul

1 Answer 1

4

When you run across this kind of problem you can try to execute java:clean java language server workspace command in the command palette.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks Steven, that did the trick :-)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.