IDE detection runs on startup even when IDE integrations are disabled

Resolved 💬 3 comments Opened Dec 30, 2025 by andrewgazelka Closed Feb 14, 2026

Description

Claude Code runs a slow ps aux command piped through pattern matching to detect running IDEs on every startup, even when IDE integrations are disabled in settings. This adds ~100-120ms to startup time unnecessarily.

Debug log evidence

[SLOW OPERATION DETECTED] execSyncWithDefaults_DEPRECATED (112.1ms): ps aux | ... "Visual Studio Code|Code Helper|Cursor Helper|Windsurf Helper|IntelliJ IDEA|PyCharm"

Expected behavior

If IDE integrations are disabled in config, skip the IDE detection entirely. The ~112ms spent on process enumeration is wasted when the result won't be used.

Suggestions

  1. Skip IDE detection when integrations are disabled
  2. Consider making IDE detection async/lazy (detect on first relevant action rather than startup)
  3. Consider caching the result for the session rather than re-running

Environment

  • macOS (Darwin 25.2.0)
  • Claude Code v2.0.76
  • IDE integrations disabled in settings

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗