How to select multiple places in code in Android Studio ?
I want to insert the same text in multiple places in my source code. Like a have more than one mouse cursor
On a macOS you can use:
Tap: Control
+ Command
+ G
- Select all the same value
Tap: Control
+ G
- Every tap combination select the new same value
Hold: Option
+ Mouse Click
- Select multiline with a mouse
Hold: Option
+ Shift
and Tap: Mouse Click
- duplicate cursor for a each tap place
For both Mac and Windows, just open the Context Menu and click on the "Column selection mode" to enable or disable the behaviour..