[BUG] Escape key doesn't cancel /add-dir dialog in JetBrains Rider
Resolved 💬 3 comments Opened Jan 6, 2026 by RutgerDijk Closed Mar 6, 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 /add-dir command in JetBrains Rider, pressing Escape does not cancel or close the directory selection dialog. The user cannot exit the flow using the keyboard.
What Should Happen?
Escape should cancel the /add-dir operation and close the dialog, returning to the normal chat state.
Error Messages/Logs
Steps to Reproduce
- Open any project in JetBrains Rider with the Claude Code extension installed
- Open the Claude Code in Rider's Terminal
- Type /add-dir and press Enter (or select it from autocomplete)
- When the directory selection dialog appears, press Escape
- Observe that nothing happens - the dialog remains open
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude Code v2.0.76
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
IntelliJ IDEA terminal
Additional Information
- OS: macOS (Sequoia 15.4.1)
- IDE: JetBrains Rider 2025.3.1 (Build #RD-253.29346.144, built on December 18, 2025)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗