redhat-developer / redhat-developer/vscode-java
More control over completions (e.g., disable Java standard library method completions)
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
issue 中没有指定文件或测试。首先定位 java.completion.enabled 设置和扩展的补全处理逻辑,然后确定如何区分 Java 标准库方法与项目依赖项的补全;完成的标准是抑制标准库示例,同时保留 Gradle 插件和自定义库的补全。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- tooling
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100