Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing mixed (maven,gradle,eclipse) projects #1583

Closed
sbj42 opened this issue Aug 19, 2020 · 0 comments · Fixed by eclipse-jdtls/eclipse.jdt.ls#1532
Closed

Importing mixed (maven,gradle,eclipse) projects #1583

sbj42 opened this issue Aug 19, 2020 · 0 comments · Fixed by eclipse-jdtls/eclipse.jdt.ls#1532

Comments

@sbj42
Copy link

sbj42 commented Aug 19, 2020

When VSCode scans a folder for projects, if that folder contains both a maven and a non-maven project, VSCode will only import the maven project.

Environment
  • Operating System: Windows 10
  • JDK version: 11.0.7+10
  • Visual Studio Code version: 1.48.0
  • Java extension version: 0.65.0
Steps To Reproduce
  1. Unzip the attached zipfile and open the mixed folder in VSCode.
  2. Click on a Java file (e.g. project1/src/Test.java)
  3. After projects are imported, check the JAVA PROJECTS view.

mixed-projects.zip
extension-log.txt
language-server-log.txt

Current Result

Only project2 is listed in the JAVA PROJECTS view.

Expected Result

Both project1 and project2 should be listed.

See the non-maven folder in the zip file for an example with two projects that are both successfully loaded (neither of them is a maven project).

Additional Informations

The motivation behind such a mixed-project-type environment is that I have a large multi-project repo with several non-maven projects. I'm adding a new project and would like to use maven there. With this issue, I can no longer open all of the projects in a single vscode window without losing some language support on the non-maven projects.

@snjeza snjeza changed the title In a folder with both maven and non-maven projects, only the maven project is imported Importing mixed (maven,gradle,eclipse) projects Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant