6

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?

  • 2
    Maybe [this](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206586055-URGENT-HELP-How-do-I-turn-off-the-multiple-caret-thing) post could be useful. I assume Android Studio has the same shortcuts as IntelliJ. – Alexandre Marcq Jul 15 '21 at 09:46

2 Answers2

14

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

LazyOne
  • 158,824
  • 45
  • 388
  • 391
  • 1
    in Edit tab not Editor, but ty :) – evals Dec 03 '21 at 04:38
  • @evals 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 :) – Leonardo Sibela Feb 03 '22 at 16:15
  • I didn't know about the edit feature. sorry for that and thank you for the tip @LeonardoSibela – evals Feb 05 '22 at 22:43
5

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

Gianluca Veschi
  • 1,239
  • 1
  • 14
  • 20