Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vertical/Column text select in PyCharm?

Is it possible to select text vertically/in a column in PyCharm? You can do it in Visual Studio and Notepad++ by holding down alt+arrow keys.

The documentation describes how to do it with the mouse, but there's no mention of keyboard options.

http://www.jetbrains.com/pycharm/webhelp/selecting-text-in-the-editor.html#d306531e464

like image 823
DharmaTurtle Avatar asked Dec 11 '13 03:12

DharmaTurtle


People also ask

How do you select vertically in Pycharm?

Press Alt+Shift+Insert . From the main menu, choose Edit | Column Selection Mode. From the context menu of the editor, choose Column Selection Mode.

How do you select a vertical column?

How can I select a column block of text (vertical selection)? To select in a box (select vertically), use the mouse to select while pressing the ALT key, or press SHIFT + CTRL + F8 to toggle Vertical Selection Mode (dragging the mouse will automatically select vertically).

How do I select all text in Pycharm?

Select all occurrences: Shift + Ctrl + Alt + J (Ctrl + Cmd + G for Mac OS X)


1 Answers

Press Ctrl+Shift+A (Find Action feature) and type column. The first result is Column Selection Mode Alt+Shift+Insert. After that, select text with keyboard (by holding Shift)

like image 78
Piotr Dobrogost Avatar answered Oct 31 '22 18:10

Piotr Dobrogost