[FEATURE] Cursor-style inline edit popup (Ctrl+K) for VS Code Claude extension
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Problem Statement
Cursor's Ctrl+K inline edit is one of the main reasons developers stay on Cursor
over Claude Code's VS Code extension. Selecting code and getting an inline floating
prompt — with an immediate diff — is a faster workflow for small, focused edits
compared to the sidebar panel.
Proposed Solution
Proposed Solution
Add a Ctrl+K (or configurable) or similar shortcut that:
- Opens a floating inline prompt when code is selected in the editor
- Doesnt Sends the selection + instruction to Claude on the right window rather its a quick edit right there in the floating window.
- Shows the result as an inline diff to accept/reject — without leaving the editor
Why This Matters
This is one of the main reason why myself and other developers don't fully switch from Cursor to
Claude Code in the VS Code Environment .
A Lot of non technical devs would migrate if this gap was closed.
Because i want to precisely edit the code.
Priority
High — significant impact on developer adoption
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
Interactive mode (TUI)
Use Case Example
Example scenario:
- I'm working on a research script in Python for data analysis
- I need to rewrite specific code blocks to match exact methodological
standards for replicability (variable naming, structure, comments)
- With this feature, I could select a block, press Ctrl+K, and say
"rewrite this to follow APA-style variable naming and add inline
comments explaining each step"
- This would save me time because I wouldn't need to copy code to the
sidebar, describe what I want, then paste it back — I could iterate
on individual blocks in-place, keeping my analysis scripts clean,
consistent, and reproducible for peer reviewers
Additional concern
As an academic, code replicability is critical. The current agentic
mode is powerful but intimidating — when I give Claude a prompt, I
have no guarantee it won't refactor unrelated parts of my script,
rename variables I've carefully chosen, or restructure logic that
other researchers depend on to reproduce my results.
A scoped inline edit (Ctrl+K on a selection) would give academics
like me the confidence to use Claude Code, because the change is
strictly bounded to what I selected. Nothing outside my selection
gets touched. This predictability is essential in research workflows
where unexpected changes can silently break reproducibility.
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗