None of the hotkeys (Ctrl+Slash or Ctrl+Divide, Ctrl+Shift+Slash or Ctrl+Shift+Divide) as mentioned here doesn't work with my IntelliJ IDEA 11.1.2. Installation under Windows 7, 64 Bit. I use a German keyboard layout.
What am I doing wrong ?
None of the hotkeys (Ctrl+Slash or Ctrl+Divide, Ctrl+Shift+Slash or Ctrl+Shift+Divide) as mentioned here doesn't work with my IntelliJ IDEA 11.1.2. Installation under Windows 7, 64 Bit. I use a German keyboard layout.
What am I doing wrong ?
This issue is specific to your keyboard layout, you need to change the Comment with line comment and Comment with block comment shortcuts in Settings
| Keymap
.
If you do not want to change your keymap, you can alternatively use the ÷ - Button on the Numpad of your keyboard. The ÷ - Button represents a / on German (and probably most others) -Keyboard Layouts too.
Therefore Ctrl+÷(Numpad) and Ctrl+Shift+÷(Numpad) work.
The good part is, that this will work on machines of other developers who haven't remaped their keymap too.
Edit (see comments below): In case your keyboard does not offer a Numpad, your keyboard-layout might offer you a way to emulate a Numpad (for exmaple using a Fn-key).