Disable multiple selection in Android Studio?
Asked Answered
F

3

11

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.

enter image description here

How can I disable this behavior? Is it a feature? If so how to activate and deactivate it? What is it called?

Fiveandten answered 15/7, 2021 at 9:43 Comment(1)
Maybe this post could be useful. I assume Android Studio has the same shortcuts as IntelliJ.Bema
L
19

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

Lacunar answered 15/7, 2021 at 9:59 Comment(3)
in Edit tab not Editor, but ty :)Ophiolatry
@Ophiolatry every time you see something that can be edit in a answer or question, you can edit yourself and improve it. Hope you not take it in a bad way. Just remembering you that this is a good option :)Lenorelenox
I didn't know about the edit feature. sorry for that and thank you for the tip @LeonardoSibelaOphiolatry
H
12

If you are on mac ⌘ (Cmd) + ↑ (Shift) + 8 will disable/enable it by default.

Hessian answered 10/8, 2022 at 9:33 Comment(0)
E
1

use Alt + Shift + Insert.
If this isn't working, right click on code and click click in 'column selection mode`.

Elderberry answered 14/4, 2024 at 8:57 Comment(1)
For an easier understanding of your answer you should learn about and apply proper formatting with the StackOverflow editor. stackoverflow.com/help/formatting Of course the readability and helpfulness could be increased even more if you tried for How to Answer.Seventieth

© 2022 - 2025 — McMap. All rights reserved.