[BUG] Claude Code modifies PhpStorm terminal settings despite optionAsMetaKeyInstalled: true
Resolved 💬 3 comments Opened Dec 3, 2025 by bleifuss Closed Dec 7, 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?
When running Claude Code inside PhpStorm's integrated terminal, it automatically changes the terminal setting useOptionAsMetaKey to true in PhpStorm's configuration file
(~/Library/Application Support/JetBrains/PhpStorm2024.3/options/terminal.xml).
This happens even though ~/.claude.json already contains:
"optionAsMetaKeyInstalled": true
What Should Happen?
Claude Code should not modify IDE terminal settings, especially when optionAsMetaKeyInstalled flag is already set to true.
Error Messages/Logs
Steps to Reproduce
- Set useOptionAsMetaKey to false in PhpStorm terminal settings
- Close PhpStorm
- Open PhpStorm and launch Claude Code in the integrated terminal
- Check terminal settings - useOptionAsMetaKey is now true
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.58 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
IntelliJ IDEA terminal
Additional Information
Terminal is actually integrated in PHP Storm
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗