redhat-developer / redhat-developer/vscode-java
More control over completions (e.g., disable Java standard library method completions)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
I would like to request a feature to allow fine-grained control over completions in the extension. Specifically, I want to disable completions for Java standard library methods (e.g., String.split(), System.out.println(), etc.) while keeping completions for my project's dependencies, such as Gradle plugins and custom libraries.
Currently, the java.completion.enabled setting disables all completions, which is not ideal for my workflow. I rely heavily on Gradle plugin completions, and the Java standard library methods cannot be used in my project.
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 file or test is named in the issue. Start by locating the java.completion.enabled setting and the extension's completion handling, then determine how to distinguish Java standard-library methods from project dependency completions; done means standard-library examples are suppressed while Gradle plugin and custom-library completions remain available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100