Reputation:
I was coding something and suddenly android studio started placing cursors on each and every selected line. I dont know if it is a feature that was fired because of some shortcuts that I am not aware of. This is the gif screencast.
How can I disable this behavior? Is it a feature? If so how to activate and deactivate it? What is it called?
Upvotes: 11
Views: 4218
Reputation: 11
use Alt
+ Shift
+ Insert
.
If this isn't working, right click on code and click click in 'column selection mode`.
Upvotes: 1
Reputation: 1608
If you are on mac ⌘ (Cmd) + ↑ (Shift) + 8 will disable/enable it by default.
Upvotes: 15
Reputation: 165088
You must have activated Column Selection Mode.
Use Main Menu | Edit | Column Selection Mode
to toggle it ON/OFF.
Check more on different ways how you can work with Multiple Carets: https://www.jetbrains.com/help/idea/multicursor.html#column_selection
Upvotes: 20