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

Status Closed — not planned
Maintainer reply None cached
Activity 7 comments · opened Jun 6, 2025 · closed Jan 11, 2026

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • 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

View original on GitHub ↗

7 Comments

moltar · 1 year ago

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.
isasmendiagus · 1 year ago

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 · 1 year ago

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.

github-actions[bot] · 10 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

MaxDude132 · 10 months ago

I confirm this is an issue, when launching Claude Code with the integration, it doesn't follow the CLAUDE_CONFIG_DIR parameter.

github-actions[bot] · 9 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] · 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.