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

Claude Code does not connect to any IDE after upgrading to 1.0.28+

Open martin-macak opened this issue 6 months ago • 8 comments

Environment

  • Platform (select one):
    • [x] Anthropic API
    • [ ] AWS Bedrock
    • [ ] Google Vertex AI
    • [ ] Other:
  • Claude CLI version: 1.0.28 (Claude Code)
  • Operating System: macOS 15.5
  • Terminal: iTerm2

Bug Description

After upgrading to 1.0.28, all IDEs are unable to detect the Claude Code. Tested in Cursor, Visual Studio Code and PyCharm. When I downgrade to 1.0.27 then it starts working in all IDEs.

Steps to Reproduce

  1. Install Claude Code via npm install -g @anthropic-ai/[email protected].
  2. Run claude config set -g autoUpdaterStatus disabled
  3. Migrate installation to ~/.claude/local
  4. Run any IDE, for example vs code
  5. Start Claude in the terminal and install the extension
  6. Restart the IDE
  7. Open any file and open Claude Code using the extension icon
  8. Check that the connection works
  9. Go to $HOME/.claude/local
  10. Run npm install @anthropic-ai/[email protected]
  11. Open Claude Code with the extension icon
  12. Check the Claude Code connection

Expected Behavior

IDE is detected after upgrade to 1.0.28+

Actual Behavior

IDE is not detected. Running /status shows that the extension is installed, but running /ide does not show an active or working connection. Claude Code is not connected to the IDE.

martin-macak avatar Jun 20 '25 20:06 martin-macak

Hi there - thanks for the derailed report. We're looking into it and will follow up with a fix soon.

igorkofman avatar Jun 20 '25 23:06 igorkofman

If instead of opening from the extension icon, you open a terminal and run claude from there, does anything change?

If no, if you also run claude --version from that terminal, what version do you see?

blois avatar Jun 20 '25 23:06 blois

Downgrading to 1.0.27 solved this for me as well - for both the case where launching claude via the IDE integration, and simply launching claude inside a loose terminal

mherod avatar Jun 21 '25 01:06 mherod

v1.0.31 here. Issue still happening no matter how I start Claude Code.

douglascamata avatar Jun 21 '25 09:06 douglascamata

There is mismatch in config path between Claude Code and IDE extension https://github.com/anthropics/claude-code/issues/2299#issuecomment-2993374748

orgoj avatar Jun 21 '25 09:06 orgoj

Great find, @orgoj.

douglascamata avatar Jun 21 '25 09:06 douglascamata

There is mismatch in config path between Claude Code and IDE extension #2299 (comment)

Copy that. See https://github.com/anthropics/claude-code/issues/2299#issuecomment-2994288126

pfurini avatar Jun 22 '25 15:06 pfurini

Seems fixed in 1.3.34

martin-macak avatar Jun 25 '25 11:06 martin-macak

Thanks for the report and all the sleuthing to track this down - it's indeed fixed. We recommend removing the symlink if you made one.

igorkofman avatar Jun 25 '25 14:06 igorkofman

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 10 '25 14:08 github-actions[bot]