Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Auto Completion Fixes/Enhancement in both the IDE and VSCode Extension

未关闭
#18 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
java, typescript, vscode

调研方向

首先阅读 ide/editor/src/org/netbeans/modules/editor/resources/NetBeans-preferences.xml,并将其中的 completion-auto-popup-delay 设置与扩展的 org-netbeans-modules-editor-settings-CustomPreferences.xml 路径进行比较。在 NetBeans IDE 和 VSCode 扩展中分别重现该延迟,然后确定是否可行进行一次范围严格限定的首选项更改。当支持的行为和范围明确,并且有可复现的测试或已记录的限制时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Description

There is a noticeable delay in the AutoCompletion popup in both NetBeans IDE and the NetBeans VSCode Extension. After investigation, it appears the delay originates from the default value of "completion-auto-popup-delay", which is set to 250 ms in the upstream NetBeans codebase:

ide/editor/src/org/netbeans/modules/editor/resources/NetBeans-preferences.xml

Manually overriding this value to 0 in:

%APPDATA%\NetBeans<version>\config\Editors\text\x-java\Preferences\org-netbeans-modules-editor-settings-CustomPreferences.xml

successfully removes the latency in NetBeans IDE.

However, applying the same change in the VSCode extension under:

C:\Users<User>.vscode\extensions\asf.apache-netbeans-java-27.0.1\nbcode\nbcode\config\Editors\text\x-java\Preferences\org-netbeans-modules-editor-settings-CustomPreferences.xml

does not affect auto-completion behaviour, suggesting the extension may not read or honor this preference.

There are also related settings such as "javadoc-popup-next-to-cc" that appear configurable in the IDE but are not exposed or functional within the VSCode extension.

Additionally, some NetBeans IDE–specific features (for example, Maven Plugin Goals UI and pom.xml IntelliSense) are not available in the extension, and it is unclear whether this is by design, a technical limitation, or related to project scope.

Use case/motivation
  • Reducing the completion popup delay significantly improves responsiveness and overall user experience, especially for users accustomed to real-time IntelliSense.

  • Ensuring the VSCode extension respects the same configuration options as the IDE provides consistency across NetBeans tooling.

  • Exposing IDE-like settings (popup delays, JavaDoc popup behaviour, completion timing) would make the VSCode extension more appealing and usable for developers who prefer VSCode but rely on NetBeans’ Java capabilities.

  • Clarifying the intended scope and limitations of the VSCode extension helps contributors understand what enhancements are feasible and welcome.

Related issues
  1. Should the default completion popup delay be reduced to 0 upstream?
    The current default of 250 ms introduces noticeable sluggishness. I am willing to submit a PR for this change if it is acceptable.

  2. Does the VSCode extension intentionally ignore or bypass the editor settings stored in the "org-netbeans-modules-editor-settings-CustomPreferences.xml" files?
    If so, is there an alternative way to configure the behaviour of auto-completion within the extension?

  3. Why are certain IDE settings such as "javadoc-popup-next-to-cc" not exposed or functional in the VSCode extension?
    Is this due to architectural constraints within the LSP implementation, or simply unimplemented?

  4. Why are some IDE-specific features (such as Maven Plugin Goals UI and enhanced pom.xml IntelliSense) missing from the extension?
    Are these features out of scope for the extension's purpose, or is there a technical constraint preventing their inclusion?

Are you willing to submit a pull request?

Yes

主要语言
TypeScript
星标
11
派生
13
平均合并
2 天 18 小时
30 天内合并 PR
2

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/netbeans-vscode 的其他 Issue

查看 apache/netbeans-vscode 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。