redhat-developer / redhat-developer/vscode-java
Auto import is not working in a java file when multiple root/subfolder project in one workspace
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
[provide a description of the issue]
Environment
- Operating System: MacOS
- JDK version: 17
- Visual Studio Code version: Version: 1.70.2
- Java extension version: v1.9.0
Steps To Reproduce
Step 1: delete a necessary import in a java under one project under multiple root workspace
Step 2: the extension can not import automatically
[Please attach a sample project reproducing the error]
Please attach logs
Current Result
lack of dependency import and build failed
Expected Result
auto import the dependency necessarily
Additional Informations
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 missing auto-import in a multi-root workspace containing a Java project, using the listed macOS, JDK 17, VS Code 1.70.2, and extension v1.9.0 environment. Enable the extension logs and inspect the provided reproduction details; done means the required dependency is imported automatically and the project builds successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100