[BUG] Claude Code extension remove "claudeCode.environmentVariables" settings when IDE open
Resolved 💬 3 comments Opened Oct 24, 2025 by aceHubert Closed Oct 24, 2025
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?
<img width="339" height="55" alt="Image" src="https://github.com/user-attachments/assets/4af15463-d519-4662-9a86-dc3b1537f827" />
"claudeCode.environmentVariables" in settings.json will removed when IDE open everytime
<img width="570" height="301" alt="Image" src="https://github.com/user-attachments/assets/1fec94da-1cf3-4686-b69e-2662493f676b" />
from here
What Should Happen?
Shoud not remove my settings
Error Messages/Logs
Steps to Reproduce
1、set "claudeCode.environmentVariables" in VS Code settings.json
2、reopen IDE
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.26
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗