Question

I found "Select Word at Caret" in the Edit menu. Is there a way to do similar, but select the entire line?

Was it helpful?

Solution

If you have nothing selected, and press ⌘ + C, PhpStorm will automatically copy the line at the caret. So basically, you don't need the 'Select Line at Caret' action.

OTHER TIPS

I found "Select Line at Caret" in Preferences under "Keymap". (And associated it with ⌘-L.)

enter image description here

If you are using phpstorm 9 you can press couple of times ctrl + w to select the current line. Also it has some other benefits. Check out Extending selection at https://www.jetbrains.com/phpstorm/help/selecting-text-in-the-editor.html for more details

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top