Select subset of characters in many lines (column selection) in Eclipse/Android Studio

AndroidEclipseSelection

Android Problem Overview


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):

Example
(source: softwareninjaneer.com)

Visual Studio and many other tools support it.

Thanks

Android Solutions


Solution 1 - Android

I use android studio. You can switch between selection mode by:
alt-shift-insert, or Edit -> Column selection mode.

source.

Solution 2 - Android

Without any command you can get selection mode by using mouse drag with press Alt in Android Studio,

Mouse: Alt+MouseDrag

Solution 3 - Android

Now Alt+Left_Mouse works in Android Studio.

Solution 4 - Android

Android Studio column selection on the Mac Book you can use this Shortcut Mac :

> Cmd + Shift + 8

source here

Solution 5 - Android

To enter column selection mode, press alt-shift-insert.

To get the caret to occupy multiple lines, simply hold Shift and press the up or down arrow key. Then you can hold Shift and press the right or left key to select text horizontally like you usually would.

To exit column selection mode, press Esc.

Solution 6 - Android

As per this thread: https://stackoverflow.com/questions/1053725/how-do-i-enable-the-column-selection-mode-in-eclipse

or this one: https://stackoverflow.com/questions/1914492/block-selection-in-eclipse

Use: Alt+Shift+A

To switch between Column selection ans stream selection.

Block selection is available since Eclipse 3.5. You can toggle between standard and block selection by Alt+Shift+A (or press Ctrl+3, type "toggle block" and select Toggle Block Selection command).

Solution 7 - Android

the short cut key to select more column character: shift+up or down arrow (define more line) then shift +left or right arrow for select text

Solution 8 - Android

Lots of previous answers, but this might be easier or more straightforward as compared to memorizing key shortcuts.

Just Right-click while the cursor is inside a file/class, then select/deselect 'column selection mode' from the list of options that appears (usually the fifth option on the list)

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionWojciech JakubasView Question on Stackoverflow
Solution 1 - AndroidJoanne ChowView Answer on Stackoverflow
Solution 2 - Androidvarotariya vajsiView Answer on Stackoverflow
Solution 3 - AndroidjohanvsView Answer on Stackoverflow
Solution 4 - AndroidKishan DongaView Answer on Stackoverflow
Solution 5 - AndroidWilhelmView Answer on Stackoverflow
Solution 6 - AndroidWojciech JakubasView Answer on Stackoverflow
Solution 7 - AndroidDelowar SikderView Answer on Stackoverflow
Solution 8 - AndroidOluwasegun WahaabView Answer on Stackoverflow