feat(action): 扩展 AI 生成功能支持 Git Log 编辑提交 - #1
Open
MRLEILOVE wants to merge 4 commits into
Open
Conversation
MRLEILOVE
commented
Aug 7, 2026
- 添加 resource bundle 配置支持国际化文本
- 实现 Git Log Edit Commit Message 弹窗的变更获取逻辑
- 添加对 VCS_LOG_COMMIT_SELECTION 数据键的支持
- 集成 Disposable 机制管理生成任务生命周期
- 实现超时处理和取消机制优化用户体验
- 更新文档描述支持新的使用场景
- 添加 resource bundle 配置支持国际化文本 - 实现 Git Log Edit Commit Message 弹窗的变更获取逻辑 - 添加对 VCS_LOG_COMMIT_SELECTION 数据键的支持 - 集成 Disposable 机制管理生成任务生命周期 - 实现超时处理和取消机制优化用户体验 - 更新文档描述支持新的使用场景
- 将项目版本从 1.1.2 更新为 1.1.3 - 保持 JVM 工具链配置为版本 21
- 引入 CommitMessage.CHANGES_SUPPLIER_KEY 来获取变更数据 - 更新条件判断逻辑以支持多种变更来源 - 重构 includedChanges 获取逻辑以处理多个可能的数据源 - 添加空列表回退以确保不会出现空指针异常 - 优化后台进度条中的变更加载处理流程
改动内容: - 新增RewordCommitContextBridge类,通过AnActionListener监听Git.Reword.Commit动作,捕获日志选择并桥接到CommitMessage文档 - 重构GenerateCommitMessageAction的update和actionPerformed方法,优先使用原生DataContext,否则通过桥接获取选择 - 调整build.gradle.kts,升级版本至1.1.5,添加localIdePath属性,注释最低兼容基线为2024.3 - 在plugin.xml中注册RewordCommitActionListener 影响范围: - 插件在IDEA 2024.3及2026.1上的Reword弹窗功能 - 普通Commit窗口和Git Log Reword入口的按钮可见性逻辑 关联事项: - 无
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.