[BUG] Open in Editor (Ctrl+G) shortcut does not open the prompt in VSCode anymore

Resolved 💬 2 comments Opened Jan 9, 2026 by balaji-dutt Closed Jan 10, 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?

If I enter some text at the prompt and then press Ctrl+G I get a message Save and close editor to continue... but no file is opened in VSCode.

What Should Happen?

Claude should open a claude-prompt file with the text that I entered at the prompt already filled in.

Error Messages/Logs

log.ts:460   ERR [Extension Host] Error sending selection change notification: Error: WebSocket is not open. Cannot send message.
	at Jp.send (/Users/balaji/.vscode/extensions/anthropic.claude-code-2.1.3-darwin-arm64/extension.js:217:37526)
	at Xp (/Users/balaji/.vscode/extensions/anthropic.claude-code-2.1.3-darwin-arm64/extension.js:217:37774)
	at Timeout._onTimeout (/Users/balaji/.vscode/extensions/anthropic.claude-code-2.1.3-darwin-arm64/extension.js:225:1011)
	at listOnTimeout (node:internal/timers:588:17)
	at process.processTimers (node:internal/timers:523:7)

Steps to Reproduce

  • Launch Claude via VSCode Extension (or via Terminal)
  • Enter "Hello world" at the prompt
  • Press Ctrl+G

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.0.74

Claude Code Version

2.1.2

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

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