TabbyML/tabby

Support Inline-Edit in IntelliJ Plugin

Open

#4.019 aberto em 17 de mar. de 2025

Ver no GitHub
 (2 comments) (4 reactions) (1 assignee)Rust (1.744 forks)batch import
enhancementgood first issue

Métricas do repositório

Stars
 (33.513 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador