Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Feature] Windows Java Tab 补全构造调用时允许仅插入 Node(),不填充参数名

Open
#1,437 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@puppyben1 is already working on this.

Since Oct 23, 2026.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
java, typescript

Research direction

Start by tracing how Java completion candidates and constructor argument snippets are provided or configured in Lithe, then check the editor and Java language support entry points. The issue gives no file names or reproduction details, so first confirm the behavior on Windows with the reported new No example. Done when accepting Node can insert new Node() with the cursor inside, while any existing argument snippet behavior can be retained through a setting.

Written by the indexing model from the issue text.

Description

area:language claimed enhancement issue-form:feature P2 platform:windows review: medium
Problem to solve / 要解决的问题

Java 编辑场景中,输入 No 并通过默认 Tab 补全 Node 构造调用后,会得到 Node(key, value) 一类包含参数名的调用。用户希望自行输入实际参数,自动插入的 key、value 增加了删除和替换操作。用户截图显示 private final Node head = new Node(key, value);,参数名下出现诊断波浪线。

Proposed solution / 建议方案

提供仅补全构造器名称和括号的行为,例如在 new No 处接受 Node 候选后得到 new Node(),光标位于括号内,由用户输入实参。不要自动填入 key、value,也不要求自动猜测或填入 0、0。可以提供明确的补全设置,使需要参数 snippet 的用户仍可保留该行为。

Target platform / 目标平台

Windows

Area / 模块

Language support / 语言服务

Priority / 优先级

P2 / 后续考虑:目前不着急,可安排到后续版本

Alternatives considered / 已考虑的替代方案

当前可以手动删除补全生成的参数名,再输入实参,但重复编辑时不便。仅用可替换的参数名占位不符合本用户希望默认留空的操作习惯。

Additional context / 补充信息

平台:Windows。用户于 2026-10-23 表示使用最新 Lithe,具体版本号及 Java 插件/JDT LS/JDK 版本未提供。此项作为补全行为的改进建议,未宣称已证明语言服务器或 snippet 实现故障;Agent 未运行复现。
原始示例中 0、0 是用户手动输入的实参目标,不是要求系统自动生成的默认值。截图未上传,以上文字保留相关最小代码。
建议标签:platform:windows、area:language、area:editor、P2。

Checklist / 提交前检查
  • I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复建议。
Dominant language
TypeScript
Stars
1.8k
Forks
151
Avg merge
13h 18m
Merged PRs (30d)
339

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from 1lck/Lithe-IDEA

All issues in 1lck/Lithe-IDEA

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.