Claude Code cann't auto detect IDE when using Cursor built-in terminal,but successfully detected using system Windows Powershell.

Status Fixed / completed
Maintainer reply ✓ Yes — blois
Activity 8 comments · opened Aug 4, 2025 · closed Aug 10, 2025
💡 Likely answer: A maintainer (blois, collaborator) responded on this thread — see the highlighted reply below.

I'm using Claude Code on Windows11 with Git. I have already installed Claude Code Extension in Cursor( and VSCode). But it cann't detect IDE when I typed "/ide".

<img width="1952" height="237" alt="Image" src="https://github.com/user-attachments/assets/51a85a23-1cf4-48ff-b9b6-8a7a231d86c0" />

However, when I tried to open Powershell in my work path, it can connect to Cursor....🤷‍♂️

<img width="782" height="521" alt="Image" src="https://github.com/user-attachments/assets/e6a72869-49f9-426a-87a1-a9823cb69409" />

What should I do to let Cursor built-in terminal to act just like system Powershell?
P.S. I already found my .vsix file to reinstall the extension. But still it didn't work.
_Thank you guys!_

View original on GitHub ↗

8 Comments

github-actions[bot] · 1 year ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/4819
  2. https://github.com/anthropics/claude-code/issues/3153
  3. https://github.com/anthropics/claude-code/issues/1232

If your issue is a duplicate, please close it and 👍 the existing issue instead.

🤖 Generated with Claude Code

blois collaborator · 1 year ago

If you launch Cursor via cursor . from powershell, does it still not connect?

Harryw6 · 1 year ago
If you launch Cursor via cursor . from powershell, does it still not connect?

Thank you for your reply @blois

No,it still not connect......

evildarkarchon · 1 year ago

I've found that running claude with the --ide argument will work around the issue, most of the time.

Harryw6 · 1 year ago
I've found that running claude with the --ide argument will work around the issue, most of the time.

Thank you for your reply @evildarkarchon
I tried to add '--ide' but it still cannot detect it's in Cursor😅.
Can someone teach me what's the difference between Cursor built-in Powershell and the system Powershell?
Thank u all!

evildarkarchon · 1 year ago

I'm just as confused as you are there.

Harryw6 · 1 year ago

I got Cursor and Claude Code updated and everything works great now.
For anyone may need the version: Cursor v1.4.3, Claude Code v1.0.72
Thanks for your time!

github-actions[bot] · 1 year 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.