[BUG] Prompts sent/processed twice in Claude Code extension (Visual Studio)

Open 💬 0 comments Opened Jul 14, 2026 by quakhek-lab

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?

Prompts are being sent/processed twice inside the Claude Code extension (running inside Visual Studio Community 2026, not VS Code proper, but the same extension).

Environment:

  • Windows
  • Visual Studio Community 2026
  • Claude Code integrated in the Visual Studio sidebar
  • Model: Sonnet 4.6 / Claude Pro

What Should Happen?

Each prompt should only be sent/processed once.

What fixed it for me (workaround):

  1. Switched input mode to "Button only" (disables Enter-to-send, requires clicking the send button)
  2. Restarted Claude Code

After these two steps, prompts stopped being duplicated. Not sure which of the two actually resolved it, but the combination worked — hopefully this helps narrow down the root cause or at least gives others a workaround in the meantime.

Error Messages/Logs

Steps to Reproduce

none

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.178 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗