"Claude Code Extension Not Detected in VSCode Terminal"

Status Fixed / completed
Maintainer reply ✓ Yes — igorkofman
Activity 9 comments · opened May 24, 2025 · closed Jun 15, 2025
💡 Likely answer: A maintainer (igorkofman, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
I have VSCode and the code command is working, but when when I enter Claude Code vie VSCode's integrated terminal and do /ide it says "No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running."

Environment Info

  • Platform: macos
  • Terminal: vscode
  • Version: 1.0.3
  • Feedback ID: 8bd6b0ad-2efd-4d0e-8884-54544d57da3c

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at __node_internal_genericNodeError (node:internal/errors:865:15)\n    at checkExecSyncError (node:child_process:890:11)\n    at execSync (node:child_process:962:15)\n    at cG (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:644:3513)\n    at file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:15313\n    at Q (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:532:13335)\n    at sR1 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:14562)\n    at aI (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:14179)\n    at FU2 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1965:20997)\n    at file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:2363:2019","timestamp":"2025-05-24T14:49:05.301Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/islam/.claude/ide'\n    at Module.readdirSync (node:fs:1525:3)\n    at Object.readdirSync (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:1519)\n    at UD0 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1318:16584)\n    at QS4 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:555)\n    at HD0 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:2305)\n    at TD0 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:5754)\n    at file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:2438:2017\n    at b7 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:21374)\n    at hZ (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:40861)\n    at wW (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:34915)","timestamp":"2025-05-24T14:49:05.338Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/islam/.claude/ide'\n    at Module.readdirSync (node:fs:1525:3)\n    at Object.readdirSync (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:1519)\n    at UD0 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1318:16584)\n    at Da (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:2580)\n    at HD0 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:2372)","timestamp":"2025-05-24T14:49:05.404Z"},{"error":"Error: 1: ENOENT \n    at YS4 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:3579)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async DS4 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:1936)","timestamp":"2025-05-24T14:49:05.421Z"},{"error":"AxiosError: Request failed with status code 401\n    at SH (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:570:1070)\n    at IncomingMessage.NA (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:571:9969)\n    at IncomingMessage.emit (node:events:529:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1400:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at oc.request (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:573:2081)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async njA (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:10916)\n    at async um9 (file:///Users/islam/.nvm/versions/node/v18.20.3/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:1363

Note: Error logs were truncated.

View original on GitHub ↗

9 Comments

igorkofman collaborator · 1 year ago

Thanks for the report, would love to track this down.

What does /status say in Claude Code?
Does the Claude Code extension show up in the list of extensions in VSCode?
Do you see anything at ~/.claude/ide?

islamaliev · 1 year ago

Hi.

Claude Code extension doesn't show up in the list of extensions in VSCode.

~/.claude/ide doesn't exist.

/status gives me this:

Claude Code Status v1.0.5

Working Directory
L /Users/islam/dev/textile/recall-synchronizer

IDE Integration • /config
⚠ Error installing VS Code extension: 1: ENOENT
Please restart your IDE and try again.

MCP servers • /mcp
✔ brave-search
✔ puppeteer
✔ memory
✔ iterm-mcp
✔ browser-tools-mcp
✔ playwright

Account • /login
L Login Method: Claude Max Account (20x)
L Email: @.***

Memory • /memory
L project: CLAUDE.md

Model • /model
L Default Use Opus up to 50% of Max usage limits, then Sonnet (currently
Opus)

Cheers,
Islam

On Wed, 28 May 2025 at 21:51, igorkofman @.***> wrote:

igorkofman left a comment (anthropics/claude-code#1289) <https://github.com/anthropics/claude-code/issues/1289#issuecomment-2917446180> Thanks for the report, would love to track this down. What does /status say in Claude Code? Does the Claude Code extension show up in the list of extensions in VSCode? Do you see anything at ~/.claude/ide? — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/1289#issuecomment-2917446180>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA7KFU6EJA4UFLX2R3LJTLL3AYHVLAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMJXGQ2DMMJYGA> . You are receiving this because you authored the thread.Message ID: @.***>
igorkofman collaborator · 1 year ago

Thanks!
What does type code return in vscode terminal?

islamaliev · 1 year ago

$ type code
code is /usr/local/bin/code

FYI, I have VSCode, VSCode - Insiders and Cursor installed on my machine. I
don't know if it's relevant.
But all of them say "No available IDEs detected. Make sure your IDE has the
Claude Code extension or plugin installed and is running." on /ide

On Thu, 29 May 2025 at 22:50, igorkofman @.***> wrote:

igorkofman left a comment (anthropics/claude-code#1289) <https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920553260> Thanks! What does type code return in vscode terminal? — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920553260>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA7KFU2OICN374YJ4DVSRLD3A5XJVAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGU2TGMRWGA> . You are receiving this because you authored the thread.Message ID: @.***>
igorkofman collaborator · 1 year ago

Let's focus on VSCode to start. I'll assume "type code" was run there.
What does code --help say in vscode terminal?
What is the default shell in vscode terminal?

On Thu, May 29, 2025 at 1:56 PM Islam Aliev @.***>
wrote:

islamaliev left a comment (anthropics/claude-code#1289) <https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920564706> $ type code code is /usr/local/bin/code FYI, I have VSCode, VSCode - Insiders and Cursor installed on my machine. I don't know if it's relevant. But all of them say "No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running." on /ide On Thu, 29 May 2025 at 22:50, igorkofman @.***> wrote: > igorkofman left a comment (anthropics/claude-code#1289) > < https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920553260> > > Thanks! > What does type code return in vscode terminal? > > — > Reply to this email directly, view it on GitHub > < https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920553260>, > or unsubscribe > < https://github.com/notifications/unsubscribe-auth/AA7KFU2OICN374YJ4DVSRLD3A5XJVAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGU2TGMRWGA> > . > You are receiving this because you authored the thread.Message ID: > @.> > — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920564706>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AADSWQVOAGLUDGQBDYRCGM33A5X6NAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGU3DINZQGY> . You are receiving this because you were assigned.Message ID: @.>
islamaliev · 1 year ago

yes, I use VSCode.
Default shell is bash.

$ code --help
Visual Studio Code 1.100.2

Usage: code [options][paths...]

To read from stdin, append '-' (e.g. 'ps aux | grep code | code -')

Options
-d --diff <file> <file> Compare two files with each
other.
-m --merge <path1> <path2> <base> <result> Perform a three-way merge by
providing paths for two modified versions of a file, the common origin of
both modified versions and the output
file to save merge results.
-a --add <folder> Add folder(s) to the last
active window.
--remove <folder> Remove folder(s) from the last
active window.
-g --goto <file:line[:character]> Open a file at the path on the
specified line and character position.
-n --new-window Force to open a new window.
-r --reuse-window Force to open a file or folder
in an already opened window.
-w --wait Wait for the files to be
closed before returning.
--locale <locale> The locale to use (e.g. en-US
or zh-TW).
--user-data-dir <dir> Specifies the directory that
user data is kept in. Can be used to open multiple distinct instances of
Code.
--profile <profileName> Opens the provided folder or
workspace with the given profile and associates the profile with the
workspace. If the profile does not exist, a
new empty one is created.
-h --help Print usage.
--add-mcp <json> Adds a Model Context Protocol
server definition to the user profile. Accepts JSON input in the form
'{"name":"server-name","command":...}'

Extensions Management
--extensions-dir <dir> Set the root path for extensions.
--list-extensions List the installed extensions.
--show-versions Show versions of installed
extensions, when using --list-extensions.
--category <category> Filters installed extensions by
provided category, when using --list-extensions.
--install-extension <ext-id | path> Installs or updates an extension. The
argument is either an extension id or a path to a VSIX. The identifier of
an extension is
'${publisher}.${name}'. Use '--force'
argument to update to latest version. To install a specific version provide
'@${version}'. For example:
@.***'.
--pre-release Installs the pre-release version of
the extension, when using --install-extension
--uninstall-extension <ext-id> Uninstalls an extension.
--update-extensions Update the installed extensions.
--enable-proposed-api <ext-id> Enables proposed API features for
extensions. Can receive one or more extension IDs to enable individually.

Troubleshooting
-v --version Print version.
--verbose Print verbose output (implies
--wait).
--log <level> Log level to use. Default is
'info'. Allowed values are 'critical', 'error', 'warn', 'info', 'debug',
'trace', 'off'. You can also configure the
log level of an extension by
passing extension id and log level in the following format:
'${publisher}.${name}:${logLevel}'. For example:
'vscode.csharp:trace'. Can
receive one or more such entries.
-s --status Print process usage and
diagnostics information.
--prof-startup Run CPU profiler during startup.
--disable-extensions Disable all installed extensions.
This option is not persisted and is effective only when the command opens a
new window.
--disable-extension <ext-id> Disable the provided extension.
This option is not persisted and is effective only when the command opens a
new window.
--sync <on | off> Turn sync on or off.
--inspect-extensions <port> Allow debugging and profiling of
extensions. Check the developer tools for the connection URI.
--inspect-brk-extensions <port> Allow debugging and profiling of
extensions with the extension host being paused after start. Check the
developer tools for the connection URI.
--disable-lcd-text Disable LCD font rendering.
--disable-gpu Disable GPU hardware acceleration.
--disable-chromium-sandbox Use this option only when there
is requirement to launch the application as sudo user on Linux or when
running as an elevated user in an
applocker environment on Windows.
--locate-shell-integration-path <shell> Print the path to a terminal
shell integration script. Allowed values are 'bash', 'pwsh', 'zsh' or
'fish'.
--telemetry Shows all telemetry events which
VS code collects.

Subcommands
tunnel Make the current machine accessible from vscode.dev or other
machines through a secure tunnel
serve-web Run a server that displays the editor UI in browsers.

On Thu, 29 May 2025 at 23:05, igorkofman @.***> wrote:

igorkofman left a comment (anthropics/claude-code#1289) <https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920581731> Let's focus on VSCode to start. I'll assume "type code" was run there. What does code --help say in vscode terminal? What is the default shell in vscode terminal? On Thu, May 29, 2025 at 1:56 PM Islam Aliev @.***> wrote: > islamaliev left a comment (anthropics/claude-code#1289) > < https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920564706> > $ type code > code is /usr/local/bin/code > > FYI, I have VSCode, VSCode - Insiders and Cursor installed on my machine. > I > don't know if it's relevant. > But all of them say "No available IDEs detected. Make sure your IDE has > the > Claude Code extension or plugin installed and is running." on /ide > > On Thu, 29 May 2025 at 22:50, igorkofman @.***> wrote: > > > igorkofman left a comment (anthropics/claude-code#1289) > > < > https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920553260> > > > > > Thanks! > > What does type code return in vscode terminal? > > > > — > > Reply to this email directly, view it on GitHub > > < > https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920553260>, > > > or unsubscribe > > < > https://github.com/notifications/unsubscribe-auth/AA7KFU2OICN374YJ4DVSRLD3A5XJVAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGU2TGMRWGA> > > > . > > You are receiving this because you authored the thread.Message ID: > > @.> > > > > — > Reply to this email directly, view it on GitHub > < https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920564706>, > or unsubscribe > < https://github.com/notifications/unsubscribe-auth/AADSWQVOAGLUDGQBDYRCGM33A5X6NAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGU3DINZQGY> > . > You are receiving this because you were assigned.Message ID: > @.> > — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/1289#issuecomment-2920581731>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA7KFU5DHYRAPHZRUUI7LZ33A5ZAHAVCNFSM6AAAAAB52UPDKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRQGU4DCNZTGE> . You are receiving this because you authored the thread.Message ID: @.***>
mschmidtkorth · 1 year ago

Same here on MacOS and latest VSCode using fish from VS Code.

type code `
code is /opt/homebrew/bin/code

claude
/status
Claude Code Status v1.0.6

 Working Directory 
  L ~/Git/test

 IDE Integration • /config
 ⚠  Error installing VS Code extension: 1: ENOENT
    Please restart your IDE and try again.

 MCP servers • /mcp
 ✔  sequential-thinking
 ✔  puppeteer
  L linear-mcp

 Account • /login
  L Login Method: Claude Max Account
  L Email: xxx

 Memory • /memory
  L project: CLAUDE.md

 Model • /model
  L Default Opus 4 for up to 50% of usage limits, then use Sonnet 4 (currently Opus)
igorkofman collaborator · 1 year ago

Hey folks, I believe we've resolved this issue. Please let us know if you see it again.

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.