[BUG] VSCode extension repeatedly asks for permission to edit the same file, even if Allow for this session is selected.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When Claude Code Chat wants to edit a file, it asks for permission to edit. I am offered 3 choices, 1. Yes 2. Yes, allow all edits this session 3. No. Clicking 1 or 2 makes no difference, I am repeatedly asked for permission to edit the same file. 18 times I was prompted for the same file before I just stopped using the chat.
What Should Happen?
When option 2. is selected, edits should be allowed for the entire session. I should not be prompted to allow again.
Error Messages/Logs
No errors were presented, just the same behavior repeated.
Steps to Reproduce
- Open a project in VS Code
- Ask Claude Code Chat to create a file test.md in .claude folder
- Ask Claude Code to update that file in a way that will cause it to make more than one edit
- When prompted to allow edits, choose option 2. Yes, allow all edits for this session
- Witness the same prompt repeated for eternity.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.72 Claude Code for VS Code extension
Platform
Google Vertex AI
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
This is not a repeat. I have already looked. This is for VS Code extension, not terminal, not on a Mac, it is not for Yes/No only options.
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗