Search code examples
keyboardpycharmcomments

Comment code in Pycharm with a German keyboard


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.


Solution

  • 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