eclipse-jdt / eclipse-jdt/eclipse.jdt.core
RFE code assist: Start completing after only :: in streams while determinig the class from the stream.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 236
- Forks
- 196
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 48
Description
Excuse my bad english!
When coding streams, code assist should start at :: without writing the classname, while determining the class from the stream.
Example
ArrayList<String> example = new ArrayList<>();
At now, code assist is only available after writing the classname:
example.stream().filter(String::
But it can allready starts here, while determinig and completing the class from the stream without the need to write the classname:
example.stream().filter(::
This makes it much easier, especially für long classnames.
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 from the issue's stream example and inspect the Java code-assist handling for incomplete method references. Determine where completion after :: is processed and how the stream element type is inferred. Done means example.stream().filter(:: offers relevant String completions without requiring the class name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100