redhat-developer / redhat-developer/vscode-java

Multiple Java projects - How?

Open
#3,582 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

I'm new to VS Code and now trying to convert an Eclipse project to VS Code.
I have multiple Java projects stored in a common folder.
Each project have its own .vscode/settings.json file.
The projects are unmanaged using VS Code terminology.
Opening a project individually everything works as expected.
Opening the holding folder, the projects are treated as a single project.

Environment
  • Operating System: Mac Sonoma 14.4.1
  • JDK version: 21
  • Visual Studio Code version: 1.88.1
  • Java extension version: 1.29
Steps To Reproduce
  1. open folder "multi"

Sample project:
multi.zip

Current Result

Single Java project called multi

multi

Expected Result

Two Java projects named p1 and p2

Additional Informations

Followed https://github.com/jvdevlab/vscode-multiple-java-projects/tree/main

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening the attached multi.zip sample in VS Code with the reported Java and extension versions, then compare opening each project individually with opening the common multi folder. Investigate why the holding folder is treated as one Java project; done means the folder exposes separate projects named p1 and p2.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.