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

后端 未结 8 617
北荒
北荒 2021-02-03 18:02

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.

<
相关标签:
8条回答
  • 2021-02-03 18:38

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

    source.

    0 讨论(0)
  • 2021-02-03 18:38

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

    Cmd + Shift + 8

    source here

    0 讨论(0)
  • 2021-02-03 18:41

    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.

    0 讨论(0)
  • 2021-02-03 18:49

    As per this thread: How do I enable the column selection mode in Eclipse?

    or this one: 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).

    0 讨论(0)
  • 2021-02-03 18:52

    Now Alt+Left_Mouse works in Android Studio.

    0 讨论(0)
  • Without any command you can get selection mode by using mouse drag with press Alt in Android Studio,

    Mouse: Alt+MouseDrag

    0 讨论(0)
提交回复
热议问题