[FEATURE] Implement all CLI commands in Claude Code VS Code Extension + /rewind priority
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
Currently, the Claude Code VS Code extension lacks feature parity with the CLI version, particularly missing essential commands that are available in the command-line interface. This creates an inconsistent experience between the two environments and limits the extension's capabilities.
Feature Request
Proposed Solution
I would like to request the implementation of all CLI commands within the VS Code extension, including but not limited to:
/rewind - Ability to revert to previous states in the conversation/coding session
/undo - Undo the last action or generated code
/retry - Retry the last request with the same parameters
/save - Save the current session state
/load - Load a previously saved session
/diff - Show differences between code versions
/help - Display available commands and their usage
Any other commands currently available in the CLI version
Use Cases
Workflow Continuity: Developers who switch between CLI and VS Code should have access to the same command set
Error Recovery: /rewind and /undo are crucial for quickly recovering from unwanted changes
Iteration Speed: /retry allows for quick refinements without retyping requests
Session Management: /save and /load enable persistent workflows across coding sessions
Expected Behavior
Commands should be accessible through:
The command palette (Cmd/Ctrl+Shift+P)
Direct typing in the Claude Code chat interface (with / prefix)
Keyboard shortcuts for frequently used commands
Commands should maintain the same syntax and behavior as their CLI counterparts
Benefits
Consistency: Unified experience across all Claude Code interfaces
Productivity: Reduced context switching between tools
Accessibility: Makes powerful CLI features available to VS Code users who prefer GUI environments
Learning Curve: Easier transition between CLI and extension usage
Additional Context
Having full command parity would significantly enhance the developer experience and make the VS Code extension a complete alternative to the CLI, rather than a limited subset. This is particularly important for teams that have standardized on VS Code as their primary development environment.
Priority
High - These commands are fundamental to efficient AI-assisted development workflows and their absence creates a significant gap in functionality.
Would love to hear if this is on the roadmap and if there's any timeline for implementation. Happy to provide more specific use cases or testing feedback if needed.
Alternative Solutions
_No response_
Priority
Critical - Blocking my work
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
8 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
When adding
/rewindit would be great for it to also be added to mirror Cursor's ability to "Edit" a past message.This lets you:
This UI addition would be huge!
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
+1 to supporting rewind. The chat interface already has behavior similar to the CLI in some cases, like pressing the up key and seeing previous messages you have sent, so if it just supported the same double esc behavior that would be really intuitive imo
+1
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.