TabbyML/tabby

Support Inline-Edit in IntelliJ Plugin

Open

#4 019 ouverte le 17 mars 2025

Voir sur GitHub
 (2 commentaires) (4 réactions) (1 assigné)Rust (1 744 forks)batch import
enhancementgood first issue

Métriques du dépôt

Stars
 (33 513 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur