feat(ux): unify Ask-Claude-to-Edit on a split-below multi-line webview #65
Reference in New Issue
Block a user
Delete Branch "edit-input-top-anchor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Operator-feedback iteration on the Ask-Claude input (follow-up to #62).
What
One input for both scopes: a multi-line webview in a split pane below the document (
editInstructionInput.ts/promptEditInstruction). Replaces the inline comment-thread box.newGroupBelowso it sits under the document. Auto-focused; ⌘↵/Ctrl↵ sends, Esc cancels. Cancel/Esc confirms only when there's text to lose (a webview can read its own textarea); closing the tab is an explicit dismiss.inlineAsk.ts(InlineAskController), thecowriting.askClaude.submit/.cancelcommands, their comment-thread menus, and the Escape keybinding. One overridable seamTrackChangesPreviewController.askEditInstruction(used by editSelection + the preview), stubbed by host E2E.Sealed webview (INV-8/35): text only, no SDK/secret surface, no network.
Verification
Known API limit
No VS Code API sets an exact editor split ratio, so the pane is the default 50/50 split (collapses after use); draggable if desired.
🤖 Generated with Claude Code