Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pycharm (Mac) selecting a line

Tags:

pycharm

Three ways that I know of:

  1. triple click anywhere in the line

  2. click line number in gutter

  3. cmd+left move caret to start of the line, then cmd+shift+right

But 1 and 2 involve mouse clicking, 3 is a combo. Any real shortcut for selecting one line?

like image 277
Philip007 Avatar asked Jul 12 '13 18:07

Philip007


2 Answers

I will give a chance to + It does not do the job at once, but in few clicks it can be very handy.

like image 31
andilabs Avatar answered Oct 14 '22 08:10

andilabs


You can assign a keyboard shortcut to this action: Select Line at Caret.

Also note that Copy/Cut actions will work without any selection and will affect the whole line as if it was selected.

like image 152
CrazyCoder Avatar answered Oct 14 '22 08:10

CrazyCoder