[BUG] Using custom CLAUDE_CONFIG_DIR prevents CC from connecting to jetbrains plugin
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other:
- Claude CLI version: v1.0.1
- Operating System: e.g. macOS 15.5
- Terminal: intellij
Bug Description
When using the custom config everything appears setup separately but for some reason wont connect to intellij plugin, not specifying the env var works correctly
Steps to Reproduce
- start CC in intellij with Custom config dir
Expected Behavior
it connects to the intellij plugin
Actual Behavior
it does not unless you use the defaults
Same for VS Code too. When using CLAUDE_CONFIG_DIR, the /ide command results in:
No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running.
Same issue here.
The JetBrains plugin does not work when the CLAUDE_CONFIG_DIR environment variable is configured. The plugin appears to ignore or fail to read the custom configuration directory path and the /ide command results in:
No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running.
Even when launching WebStorm from terminal with the variable exported, plugin fails to connect and shows "No available IDEs detected" error.
The plugin only works when using the default config directory. This breaks workflows that rely on custom config paths.