redhat-developer / redhat-developer/vscode-java

More control over completions (e.g., disable Java standard library method completions)

Open
#3,974 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

content-assist enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.