[BUG] Jetbrains Plugin Not detecting Claude Code Properly
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [X] Other: Claude Code Jetbrains Plugin
- Claude CLI version: 1.0.2
- Operating System: Ubuntu 22.04
- Terminal: Terminal App
Bug Description
The Claude Code Jetbrains plugin
It keeps on detecting "Claude Code not found", but it opens the terminal window in which I started Claude Code. But the browser pop-up to https://www.anthropic.com/claude-code makes the CTRL+Escape shortcut unusable.
Steps to Reproduce
- Install Claude Code Jetbrains Plugin
- Restart Jetbrains IDE multiple times
- Set up Claude Code in a terminal.
- Type
/ide, connect. - Hit CTRL+Escape
Expected Behavior
It should just open my Claude Code Terminal window and focus it.
Actual Behavior
"Claude Code not found" popup comes, the correct claude code terminal window is opened, but the page to install claude code is opened and focused, pulling me out of my IDE, and making the shortcut useless
Same issue here
Ubuntu 24.10 GoLand 2024.3.3
for me, the issue was I mainly use bash for my terminal, so the env was properly setup there, where jetbrains uses zsh. try running claude from a jetbrains terminal for a clue. once I was able to run it there the claude code button worked. although it's a little underwhelming, all it does is launch an ide terminal with claude code.
Thanks for your patience! We've released a new plugin update v0.1.6-beta that should fix this issue.
With the latest update, the notification should only show up after you press the button and there's been no active connection after 10s. We also included a setting (in Settings > Tools > Claude Code [Beta]) to allow you to specify a custom Claude command to run for the Claude button.
Unfortunately, at this point, we don't have support for focusing on external terminals yet (that were connected through the /ide command). If Claude was successfully launched within the IDE's built-in terminal, then we have it set up to focus on the built-in terminal in the appropriate cases (when you press the Claude button, Ctrl+Esc, or when you use Command+Option+K to @mention a file).
Please let us know if you still see any issues with the latest update!
Works for me now @hackyon-anthropic thanks!
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.