[Feature Request] Non-Destructive Commit Message Generation & Dynamic Variable Support in Instructions
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- git, java
- Lĩnh vực
- developer-experience, tooling
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Java
- Star
- 128
- Fork
- 66
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/copilot-for-eclipse
-
[Bug]Có thể đã có người làm @jdneo đã nhận 1 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
microsoft/copilot-for-eclipse#480 · 1 bình luận · 1 reaction · 2 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 12/100
microsoft/copilot-for-eclipse#492 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
microsoft/copilot-for-eclipse#481 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
microsoft/copilot-for-eclipse#477 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/copilot-for-eclipse#476 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của microsoft/copilot-for-eclipse
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
apache/rocketmq-dashboard#6896 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
Unrecognized database schema version is treated as a pre-2.0 databaseCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
OpenIntegrationEngine/engine#496 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
SasanLabs/VulnerableApp#836 ·
Maintainer thường phản hồi trong vòng 1 ngày