Does anybody using a German keyboard have found a solution to this? Ctrl+/ is not possible since it is necessary to push shift+7 to get the slash. But when I do Ctrl+shift+7 I get a bookmark called 7 on that line. Commenting code is very time wasting like that, especially when commenting xml lines.
The "Code" -> "Comment with Line Comment" shortcut is Ctrl+Slash, which is Ctrl+Shift+7.
To comment a line of code, place the caret at the appropriate line and press Ctrl+/ . Press Ctrl+/ again on the same line to uncomment it. To move a line up or down, press Alt+Shift+Up or Alt+Shift+Down respectively.
The answer is: If you're using a german keyboard with an integrated numpad you just need to press ctrl + "the numpad division key" to generate a "/". In this way it is possible to type in "/" without pressing the shift-key.
Add a keyboard shortcutOn the Keymap page of the Settings/Preferences dialog Ctrl+Alt+S , right-click an action and select Add Keyboard Shortcut. In the Keyboard Shortcut dialog, press the necessary key combination.
If you have a numberpad on your keyboard you can use Ctrl and the division sign on your numpad.
Found this in the Bugreports pointed out by LazyOne
Choose another working-for-you shortcut for that action at Settings (Preferences on Mac) | Keymap
(just use search field to find the right action).
Other than that: watch these tickets (star/vote/comment) to get notified on progress.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With