[Feature Request] Non-Destructive Commit Message Generation & Dynamic Variable Support in Instructions
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- git, java
调研方向
Start by locating the GitHub Copilot commit-message generation entry point in the Eclipse Git Staging view or commit window, then trace how custom commit instructions are processed. Define completion as preserving existing text while appending generated text with a newline, and evaluating the requested date, time, and branch variables before submission.
由索引模型根据 Issue 内容生成。
描述
Problem Description
When using the GitHub Copilot plugin in the Eclipse Git Staging view or commit window to auto-generate commit messages, the extension currently overwrites any existing text present in the commit message box. If a user has already written a draft, added a ticket number, or included custom notes, they lose their text entirely.
Additionally, custom commit instruction prompts currently lack support for runtime variables (such as the current date, time, or active branch name), limiting the flexibility of automated commit formatting.
Proposed Behavior
Non-Destructive / Append Behavior:
Before replacing the contents of the commit message box, the plugin should check if the field already contains text.
If text is present, instead of wiping it, it should append the auto-generated commit message at the end of the existing text (separated by a newline), preserving the user's manual input.
Dynamic Variable Support in Instructions:
Allow developers to use standard environment or IDE-style variables (e.g., ${current_date}, ${git_branch}) within their custom commit instruction templates.
The plugin should evaluate and inject these variables before sending the request or finalizing the commit text.
Use Case & Motivation
Prevents Accidental Data Loss: Users frequently type manual prefixes or contextual details into the commit box before hitting the AI generation button, only to have their work erased.
Streamlined Workflows: Supporting variables like dates or branch names allows teams to standardize conventional commits with precise temporal or structural context automatically.
- 主要语言
- Java
- 星标
- 129
- 派生
- 68
- 平均合并
- 1 天 16 小时
- 30 天内合并 PR
- 11
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/copilot-for-eclipse 的其他 Issue
-
[Bug]可能已有人在做 @jdneo 于 3 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 64/100
microsoft/copilot-for-eclipse#480 · 1 条评论 · 1 个 reaction · 已指派 2 人 ·
维护者通常 2 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
microsoft/copilot-for-eclipse#498 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 12/100
microsoft/copilot-for-eclipse#492 ·
维护者通常 2 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 22/100
microsoft/copilot-for-eclipse#481 ·
维护者通常 2 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 12/100
microsoft/copilot-for-eclipse#477 ·
维护者通常 2 天内回复
查看 microsoft/copilot-for-eclipse 的全部 Issue
相似的 Issue
-
[Bug] dubbo.protocol.triple.max-message-size is only read from OS environment variables可能已有人在做 @CCCLL 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
hierynomus/sshj#1070 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
intellij-elixir/intellij-elixir#4492 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 77/100
-
难度 2/5 1-3 小时 新手友好度 76/100
quarkiverse/quarkus-openapi-generator#1796 · 1 条评论 ·