[BUG] Cannot enter at-sign on danish keyboard in PHPStorm

Resolved 💬 2 comments Opened Oct 9, 2025 by wegeberg Closed Oct 9, 2025

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?

I cannot enter @ in the Claude CLI when in PHPStorm.
It works fine in e.g. VS Code. Asking Claude about it I get this:

This might be a bug - the Claude Code CLI should properly handle Danish keyboard input. Since this is blocking basic functionality, I'd recommend reporting it:

You can report this issue at: https://github.com/anthropics/claude-code/issues

When reporting, mention:

  • macOS version (you're on Darwin 25.0.0)
  • Danish keyboard layout
  • Apple Magic Keyboard
  • Option + å produces wrong character instead of @
  • Expected: @ symbol for file references

I don't recognize the reference to option + å. @ on a danish keyboard is found by holding down Option and pressing the button to the right of Ø (displaying an apostrophe, an asterisk and an @)

This key combination gives me this: þ

What Should Happen?

Pressing the normal key combination for an @ on a danish keyboard should give me an @ on the command line not a þ

Error Messages/Logs

Steps to Reproduce

Running Claude Code in PHPStorm on a Mac with MacOS 26 in english but with a danish keyboard and keyboard layout.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.11

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

_No response_

View original on GitHub ↗

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