{"version":"2.1.333","anchor":"ide-detection-avoids-psgrepip-shell-calls-and-filters-by-p","canonical_anchor":"ide-detection-avoids-psgrepip-shell-calls-and-filters-by-p","heading":"Finding your IDE no longer relies on shell commands and can use the port setting","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/ide-detection-avoids-psgrepip-shell-calls-and-filters-by-p","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Finding your IDE no longer relies on shell commands and can use the port setting\n\nIDE detection now narrows to the editor on CLAUDE_CODE_SSE_PORT when one matches, and in some cases reads process details without shell pipes\n\n**What**\n\nClaude Code finds your IDE (the code editor you run it inside, such as VS Code) by looking for small lock files that editors leave behind. This search is now narrower:\n\n- If `CLAUDE_CODE_SSE_PORT` is set and exactly one lock file matches that port, only that one is considered.\n\n- Looking up the processes that started Claude Code is now remembered instead of repeated.\n\n- In some cases, Claude Code lists processes by reading `\/proc` or running `ps` directly, and finds the WSL network gateway (WSL is Windows Subsystem for Linux) from `\/proc\/net\/route`.\n\nBefore, it ran `ip route show | grep -i default` and `ps aux | grep` through the shell.\n\n**Why**\n\nConnecting to your IDE automatically should work more reliably and depend less on shell tools being present.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}