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

[BUG] Using custom CLAUDE_CONFIG_DIR prevents CC from connecting to jetbrains plugin

Open Bigsy opened this issue 7 months ago • 5 comments

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

  1. 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

Bigsy avatar Jun 06 '25 07:06 Bigsy

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.

moltar avatar Jun 09 '25 16:06 moltar

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.

isasmendiagus avatar Jun 20 '25 13:06 isasmendiagus

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.

isasmendiagus avatar Jun 20 '25 13:06 isasmendiagus