[FEATURE] Implement all CLI commands in Claude Code VS Code Extension + /rewind priority

Status Closed — not planned
Maintainer reply None cached
Activity 8 comments · opened Oct 8, 2025 · closed Feb 2, 2026

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_

View original on GitHub ↗

8 Comments

github-actions[bot] · 10 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/8590
  2. https://github.com/anthropics/claude-code/issues/8569
  3. https://github.com/anthropics/claude-code/issues/8860

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

IAmNatch · 10 months ago
  • While this is duplicate, I'll focus my feedback on the addition of rewind!

When adding /rewind it would be great for it to also be added to mirror Cursor's ability to "Edit" a past message.

This lets you:

  • Click the messages you've send in the past to edit them directly
  • Asks you if you'd like to revert changes since that message, or keep them in place

This UI addition would be huge!

github-actions[bot] · 8 months ago

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.

rickycambrian · 8 months ago

+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

deiansp · 8 months ago

+1

github-actions[bot] · 6 months ago

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.

marcindulak · 6 months ago

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.

github-actions[bot] · 6 months ago

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.