[BUG] Claude launches multiple VScode windows while starting from VScode terminal

Resolved 💬 2 comments Opened Mar 5, 2026 by ratibus11 Closed Mar 5, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When launching claude from VScode integrated terminal (Powershell or Git Bash at least), three VScode windows are opened just after trusting the current folder.

I tried to:

  • Re/install @anthropic-ai/claude-code NPM package;
  • Re/install native claude code app with claude install;
  • With and without anthropic.claude-code VScode extension;
  • Clean install my whole computer (yup, I'm serious);

Seems to relate to #7680.

What Should Happen?

It should not open other VScode windows.

Error Messages/Logs

Steps to Reproduce

  1. Install claude code (NPM package or native app);
  2. Open VScode;
  3. In the integrated terminal, invoke claude;
  4. It should ask if you trust the current folder, answer yes;
  5. Three VScode windows should open;

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.68 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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