claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Cannot toggle auto-accept edits

Open jontolof opened this issue 1 year ago • 3 comments

Environment

  • Platform (select one):
    • [ ] Anthropic API
    • [ ] AWS Bedrock
    • [ ] Google Vertex AI
    • [ x] Other: Claude Code
  • Claude CLI version: 1.0.30 (Claude Code)
  • Operating System: macOS 15.5 (24F74)
  • Terminal: iTerm2 Build 3.5.14

Bug Description

After a thourough planning I switched to edit mode to start generating code. I wanted to see what Claude Code code accomplish without too much interference on my part, so I chose to accept all edits for this session. Now I cannot switch it off. I've tried Shift+Tab from your support page but it is switching between modes (?, Plan, Edit). I've tried the command /toggle-auto-accept and get a response "auto-accept edits toggled" without a verification off the new state. However the purple line under the text field in edit mode still says: " ⏵⏵ auto-accept edits on (shift+tab to cycle)"

Steps to Reproduce

  1. During edits, when asked if I should accept edits, press 2 (yes for all edits in this session
  2. Press Shift+Tab to try to toggle the auto-accept mode (from Anthropic documentation), or use /toggle-auto-accept (from Claude Code discussion).

Expected Behavior

Toggle auto-accept-edits on or off

Actual Behavior

Cycle between modes (if using Shift+Tab)

Additional Context

I tried to exit the session and restart Claude, but this setting is persistent between sessions.

jontolof avatar Jun 20 '25 14:06 jontolof

Hi, thank you for the report - when you cycle to through modes, when you get to ? for shortcuts you are in the normal, non-auto-accepting mode. We'll update this to make it more clear!

ghost avatar Jun 20 '25 15:06 ghost

Hi, thank you for the report - when you cycle to through modes, when you get to ? for shortcuts you are in the normal, non-auto-accepting mode. We'll update this to make it more clear!

Thanks for such a quick reply!

jontolof avatar Jun 20 '25 15:06 jontolof

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.

github-actions[bot] avatar Aug 11 '25 14:08 github-actions[bot]