redhat-developer / redhat-developer/vscode-java
Autocomplete / Intellisense priority for JDK-builtin package classes
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Feature Request: Prioritize autocomplete/intellisense suggestions for class names for "commonly used"/"JDK built-in" packages.
An example: Type private List, and hit CTRL+Space.
Current Result
I get a (seemingly randomly ordered) list of matching classes from all packages vscode could find. The first one is usually some rarely-used one. In my example, it was org.hibernate.mapping.List.
Expected Result
I would love to have the commonly-used ones first, here java.util.List.
Maybe just put the result from any java.* package on top. My argument is that most developers use these classes most frequently, and only if one uses a specific package/framework (Hibernate, Spring, Apache, whatever...), one searches for the requested class explicitly.
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
No source file, test, or entry point is named. Reproduce the CTRL+Space completion for private List in the VS Code Java extension and trace where matching classes are collected and ordered. Done means commonly used JDK classes such as java.util.List appear ahead of rarely used matches such as org.hibernate.mapping.List.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100