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
Workaround ✓ Mentioned in thread ↓
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!_
8 Comments
Found 3 possible duplicate issues:
If your issue is a duplicate, please close it and 👍 the existing issue instead.
🤖 Generated with Claude Code
If you launch Cursor via
cursor .from powershell, does it still not connect?Thank you for your reply @blois
No,it still not connect......
I've found that running
claudewith the--ideargument 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!
I'm just as confused as you are there.
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!
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.