redhat-developer / redhat-developer/vscode-java
"The source path must be contained in the project root folder"
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 refer to each other on source level as which requires cross-project references.
The projects are unmanaged using VS Code terminology.
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
- Try to add a source path from another project in the folder.
Then you get the error message from the issue.
[Please attach a sample project reproducing the error]
Please attach logs
Current Result
Expected Result
Additional Informations
If this will be addressed, I think "sourcePaths" should permit relative and absolute paths to any folder.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the error with multiple Java projects and their .vscode/settings.json files. Inspect how the sourcePaths setting is validated when it refers to a folder outside the project root. Done means the intended cross-project source path is accepted, with regression coverage for the reported configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100