[Bug] Claude Code Extension: No IDE Integration Detected

Resolved 💬 19 comments Opened Aug 28, 2025 by rakkoyun Closed Jan 10, 2026

Bug Description
Although the Claude Code Extension is installed, it does not integrate with VS Code. I always get the following error:\
Select IDE
Connect to an IDE for integrated development features.

No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running.

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 1.0.96
  • Feedback ID: 72909a1d-9c77-468b-95d6-e35aad24e793

Errors

[{"error":"Error: Failed to create shell snapshot: \n    at file:///C:/Users/xxxxx/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1483:737\n    at ChildProcess.exithandler (node:child_process:430:5)\n    at ChildProcess.emit (node:events:514:28)\n    at ChildProcess.emit (node:domain:488:12)\n    at maybeClose (node:internal/child_process:1105:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:305:5)","timestamp":"2025-08-28T15:51:48.112Z"},{"error":"Error: Request was aborted.\n    at b71._createMessage (file:///C:/Users/xxxxx/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:934:7955)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-08-28T15:53:00.029Z"}]

<img width="1897" height="999" alt="Image" src="https://github.com/user-attachments/assets/9228952a-c468-4373-88a4-090dddbb2a56" />

View original on GitHub ↗

19 Comments

github-actions[bot] · 10 months ago

---

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/5887
  2. https://github.com/anthropics/claude-code/issues/5153
  3. https://github.com/anthropics/claude-code/issues/1276

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

---

rakkoyun · 10 months ago

After review, I cannot classify my defect as a duplicate.

yg-i · 10 months ago

I'm having the same issue.

I didn't see any error messages though - where did you locate this? The jsonl lines corresponding to the the /ide command execution does not contain further info.

[{"error":"Error: Failed to create shell snapshot: \n    at file:///C:/Users/xxxxx/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1483:737\n    at ChildProcess.exithandler (node:child_process:430:5)\n    at ChildProcess.emit (node:events:514:28)\n    at ChildProcess.emit (node:domain:488:12)\n    at maybeClose (node:internal/child_process:1105:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:305:5)","timestamp":"2025-08-28T15:51:48.112Z"},{"error":"Error: Request was aborted.\n    at b71._createMessage (file:///C:/Users/xxxxx/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:934:7955)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-08-28T15:53:00.029Z"}]
rakkoyun · 10 months ago
I'm having the same issue. I didn't see any error messages though - where did you locate this? The jsonl lines corresponding to the the /ide command execution does not contain further info. `` [{"error":"Error: Failed to create shell snapshot: \n at file:///C:/Users/xxxxx/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1483:737\n at ChildProcess.exithandler (node:child_process:430:5)\n at ChildProcess.emit (node:events:514:28)\n at ChildProcess.emit (node:domain:488:12)\n at maybeClose (node:internal/child_process:1105:16)\n at ChildProcess._handle.onexit (node:internal/child_process:305:5)","timestamp":"2025-08-28T15:51:48.112Z"},{"error":"Error: Request was aborted.\n at b71._createMessage (file:///C:/Users/xxxxx/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:934:7955)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-08-28T15:53:00.029Z"}] ``

MS Code->Help->Toggle Developer Tools

Rainy934 · 10 months ago

我也遇到了,有解决办法吗?

Tum4ik · 10 months ago

same problem for v 1.0.100

<img width="551" height="228" alt="Image" src="https://github.com/user-attachments/assets/5efc7abd-b3cb-4b3e-af8e-9c43023e1eaa" />

Tum4ik · 10 months ago

But if execute claude from external terminal, it shows:

<img width="932" height="304" alt="Image" src="https://github.com/user-attachments/assets/c17e9c7c-3c96-48bf-952b-3a3283605e46" />

If I change that to "Visual Studio Code" - the integration starts work in the terminal:

<img width="1193" height="170" alt="Image" src="https://github.com/user-attachments/assets/a519d503-49e1-4537-8ec7-14e24731a6d1" />

But still does not work in VS Code integrated terminal.

sitefinitysteve · 10 months ago

@Tum4ik Same on 1.0.100 Windows 11 (though Parallels) was working fine for weeks, now just broken again.

smlfrysamuri · 10 months ago

@sitefinitysteve Similar issue here - latest update borked something for sure; was working fine yesterday and for the past few weeks (Windows 11, VS Code Insiders latest, Claude Code 1.0.100).

Tum4ik · 10 months ago

it seems fixed in v 1.0.102

sitefinitysteve · 10 months ago

@Tum4ik Sadly not here :/ CLI\Extension updated, restarted, still no dice

smlfrysamuri · 10 months ago
it seems fixed in v 1.0.102

@Tum4ik Interestingly, it works fine on my VS Code Insiders at home, but still does not recognize my VS Code Insiders at work (essentially just different profiles). Strange.

sitefinitysteve · 10 months ago

From this issue https://github.com/anthropics/claude-code/issues/5153

This works, but I have to keep running this command, not the extension link which is annoying, but it works for now
cmd /c "set VSCODE_PID= && set VSCODE_CWD= && set TERM_PROGRAM= && claude"

sitefinitysteve · 10 months ago

So just TERM_PROGRAM is all that needs to be set it seems, at this point recommend making a task so it puts "Claude Code" in the terminal list instead of just "cmd"

Recommend at this point a VSCode Task

{
"label": "Claude Code",
"type": "shell",
"command": "cmd",
"args": ["/c", "set TERM_PROGRAM= && claude"],
"group": "none",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "new"
},
"problemMatcher": []
}

Or new Integrated terminal

"Claude Code": {
"path": "cmd.exe",
"args": ["/c", "set TERM_PROGRAM= && claude"],
"icon": "robot"
}

I did a complete gut and reinstall of CC, and it happens every time, zero issues on MacOS, IDE detected.

1.0.119

prototowb · 9 months ago

@sitefinitysteve, where did you make these edits?

sitefinitysteve · 9 months ago

@prototowb VSCode .vscode\tasks.json

{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Claude Code",
            "type": "shell",
            "command": "cmd",
            "args": ["/c", "set TERM_PROGRAM= && claude"],
            "group": "none",
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": true,
                "panel": "new"
            },
            "isBackground": false,
            "runOptions": {
                "instanceLimit": 1
            },
            "problemMatcher": []
        }
    ]
}

Then run with command palette Run->Task

or edit the settings.json terminal profiles

 "terminal.integrated.profiles.windows": {
        ...existing profiles
        "Claude Code": {
            "path": "cmd.exe",
            "args": ["/c", "set TERM_PROGRAM= && claude"],
            "icon": "robot"
        }
    },

Then run from

<img width="668" height="494" alt="Image" src="https://github.com/user-attachments/assets/54efbc5b-f577-4948-bcf3-510765204ab6" />

Neither are ideal vs the native extension, but both work in the interim

github-actions[bot] · 7 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] · 6 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] · 5 months 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.