Slash-prefixed input (e.g. `/something`) is silently ignored instead of returning an error
Resolved 💬 3 comments Opened Mar 31, 2026 by omkate Closed Mar 31, 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 using the Claude Code VS Code extension, any input starting with a slash (e.g. /test, /something do X) does not produce any response.
It appears that slash-prefixed input is being interpreted as a command. However, when the command is not recognized, there is no fallback behavior or error message, resulting in a silent failure.
This leads to confusion, as the user receives no feedback or indication of what went wrong.
What Should Happen?
One of the following should happen:
- The input should be treated as normal text and processed by Claude
- OR an explicit error should be shown (e.g. "Unknown command")
Error Messages/Logs
Steps to Reproduce
- Open VS Code
- Open Claude Code extension
- Enter
/something do this task - Press Enter
- Observe that no response is returned
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.72 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗