[JAVA] Android Studio bulk comment out method memo

Introduction

I often want to comment out the selected range in Android Studio at once, so make a note of it. When I checked it, it was set in File-> Preference-> Keymap of Android Studio. macOS environment

Comment out line by line (//)

The following shortcuts are set ⌘(command) + /

//    hogehoge
//    hogehoge
//    hogehoge

Comment out all together (/ ** /)

The following shortcuts are set ⌘(command) + ⌥(option) + /

/*    hogehoge
    hogehoge
    hogehoge*/

You can uncomment it by running it again

Recommended Posts

Android Studio bulk comment out method memo
Java learning memo (method)
[Java ~ Method ~] Study memo (5)
Notes in Android studio
Defeating Android Studio Part 3-6
Defeating Android Studio Part 1 & Part 2