TabbyML/tabby

Support Inline-Edit in IntelliJ Plugin

Open

#4,019 建立於 2025年3月17日

在 GitHub 查看
 (2 留言) (4 反應) (1 負責人)Rust (1,744 fork)batch import
enhancementgood first issue

倉庫指標

Star
 (33,513 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

The inline-edit feature is already supported in the VSCode extension. Users can select some text (optionally), invoke inline-edit (using Ctrl+I or selecting it from the context menu), input an instruction to edit the current file, then review the changes and accept or discard them. We want to support this feature in the IntelliJ plugin as well.

The IntelliJ platform provides a code-intentions-preview api that can be used for reviewing changes and resolving edits. This should be a better approach than manually using color decoration for diffs, which is implemented in the VSCode extension.

The underlying inline-edit implementation is in tabby-agent, which exports an extended LSP method ChatEditRequest. It currently supports output in previewChanges format only (used in VSCode extension). We may need to modify it to support a direct editing format to make the result compatible with the IntelliJ code-intentions-preview API.


Please reply with a 👍 if you want this feature.

貢獻者指南