I'm a beginner on Android development, and I can't find the shortcuts for french keyboards (stupid AZERTY). Is there a place where I can find them? I'm searching especially the shortcuts to comment/uncomment line and block of code. Thank you in advance for your help!
Android studio shortcut for French keyboard
1.2k Views Asked by Julien Mazars At
2
In azerty french keyboard, initially short cut are : for single line comment
command + /
orcommand + NumPad
and for the block commentcommand + shift + /
orcommand + shift + NumPad
but if you have a mac laptop you don't have NumPad key and you can't type/
because you need shift to do it otherwise it will type:
The solution is to go in android studio preference -> Keymap -> Main menu -> Code -> Folding -> Comment with Line / Comment with block. Or you can use the search-bar and type comment then you can modifie your shortcut.