0
votes

i searched for the shortcuts to comment a line in Android Studio.

The answer: Press the keys "Ctrl + /".

My problem: I tried this combination and ... nothing happened.

So now i assume that since i'm using a german keyboard and in this layout the "/" is mapped to the shift-option of the "7"-key it is not possible to press only the keys ctrl + /.

I tried to press ctrl + shift + 7 to enter "Ctrl + /", but this places a bookmark at that line which is named "7".

Does anyone know how to type in "Ctrl + /" while using a german layout (without changing the shortcut-mapping)?

Thanks for your time!

3
Is it not possible to change the shortcut in Android Studio? - jannagy02
I think so (up to now i have not searched for that)... but i would appreciate to know how to type in "Ctrl + /" on a complete default setup of Android Studio (if this is possible). The reason is that i have to switch between many computers every day and i don't want to re-configure every one. But nevertheless...thanks for your answer ;) - Justin Time
Thank you for this information, i will try this! - Justin Time

3 Answers

2
votes

I've found an answer for my question and i want to share it with you in case someone is struggeling with the same problem.

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.

Big thanks to all of you for your time and the warm welcome at stackoverflow!

Bye

0
votes

With the windows key + space bar you can change the Keyboard layout.

0
votes

(In windows) You just press shift + /

In German keyboard shift means ↑.

Thanks.