redhat-developer / redhat-developer/vscode-java
offer to import explicit class reference when anywhere on the class name
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
lets say you have java.util.stream.Stream.concat(...) then please provide quick fix on "Stream" or even anywhere on the class name to turn it into:
import java.util.stream.Stream;
...
Stream.concat(...);
today you can only get quick fix offered if you are on the "concat" method name.
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
Reproduce the quick-fix behavior in the VS Code Java extension with java.util.stream.Stream.concat(...), checking the current result on the class name and method name. Trace the quick-fix entry point responsible for unresolved imports; done means the same import suggestion is offered from anywhere on Stream and produces the shown import and shortened call.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100