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

[BUG] Jetbrains Plugin Not detecting Claude Code Properly

Open nielsgroen opened this issue 7 months ago • 4 comments

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

Image

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

  1. Install Claude Code Jetbrains Plugin
  2. Restart Jetbrains IDE multiple times
  3. Set up Claude Code in a terminal.
  4. Type /ide, connect.
  5. 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

nielsgroen avatar May 23 '25 08:05 nielsgroen

Same issue here

Ubuntu 24.10 GoLand 2024.3.3

ianaz avatar May 27 '25 13:05 ianaz

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.

davecazz avatar May 27 '25 18:05 davecazz

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!

hackyon-anthropic avatar May 31 '25 11:05 hackyon-anthropic

Works for me now @hackyon-anthropic thanks!

ianaz avatar May 31 '25 18:05 ianaz

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.

github-actions[bot] avatar Aug 13 '25 14:08 github-actions[bot]