How to select subset of characters in many lines (column selection) in Eclipse/Android Studio? Ideally without plugins. Shift+Alt+A seems not to be working for me either.
In Notepad++ you can do it with Shift+Alt+(Arrows) or Alt+Left_Mouse (and drag to select)
Please see example below (Column selection I'm after):
(source: softwareninjaneer.com)
Visual Studio and many other tools support it.
Thanks
If you need a faster way to add a bunch of carests, you can press Alt while clicking and dragging vertically to select a block or a line. With the keyboard, press Ctrl (Windows & Linux) / Alt (macOS) twice, and then without releasing it, press up or down arrow keys.
In Eclipse (I'm using Eclipse June 4.2. 2 at the moment), it is possible to select columns/vertical blocks of text by using Alt+Shift+A to switch to block selection mode. You can then drag over a column/block of text. With a block selected, typing text will replace the selected text in all of the selected rows.
You can enable and disable column editing mode via the keyboard shortcut ALT-SHIFT-A . Once enabled you can then use either the mouse to select a block of text, or the keyboard using SHIFT (like a normal keyboard select, except the selection will now be in a block).
I use android studio. You can switch between selection mode by:
alt-shift-insert, or Edit -> Column selection mode.
source.
Without any command you can get selection mode by using mouse drag with press Alt in Android Studio,
Mouse: Alt+MouseDrag
Now Alt+Left_Mouse works in Android Studio.
Android Studio column selection on the Mac Book you can use this Shortcut Mac :
Cmd + Shift + 8
source here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With