Insert @-Mention Reference command only works when Output panel is open
Resolved 💬 2 comments Opened May 23, 2026 by lnj0lin Closed Jun 22, 2026
Description
The VS Code command "Claude Code: Insert @-Mention Reference" only functions correctly when the Output panel is visible. If the Output panel is closed or not in focus, the command does not insert the @-mention reference as expected.
Steps to Reproduce
- Open a project in VS Code with the Claude Code extension installed.
- Close the Output panel (if it's open).
- Run the command "Claude Code: Insert @-Mention Reference" via the Command Palette (Ctrl/Cmd + Shift + P).
- Observe that the @-mention reference is not inserted.
- Open the Output panel (View → Output).
- Run the same command again.
- The @-mention reference is now inserted correctly.
Expected Behavior
The "Insert @-Mention Reference" command should work regardless of whether the Output panel is open or not.
Actual Behavior
The command only takes effect when the Output panel is visible/open.
Environment
- OS: macOS (Darwin 25.5.0)
- VS Code version: latest
- Claude Code extension version: latest
Possible Cause
The command may depend on a specific webview panel having focus or being visible in order to execute correctly. The Output panel's visibility might trigger a focus/context state that enables the command to work.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗