Vertical/Column text select in PyCharm?

Viewed 30093
5 Answers

First press ctrl (press and release), then press ctrl+arrows to do the vertical selection.

In Mac, Hold option + Shift - and use mouse to select the text vertically

In the free version of Pycharm this is called Column Selection Mode and it's enabled pressing Shift + Command + 8

Column Selection Mode

Edit: Noticed Ozgur Ozturk beat me to this in his comment and as he points out this combo is for Macs only

Go to Settings > Keymap > Editor Actions > Add Rectangular Selection on Mouse Drag and add Alt + Button1 Click as a new action.

This will allow you to create rectangular selections across multiple rows and columns like you know it from Notepad++.

Related