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.
How do I select the line at the caret in PhpStorm?
-
16-10-2022 - |
Question
I found "Select Word at Caret" in the Edit menu. Is there a way to do similar, but select the entire line?
Solution
OTHER TIPS
I found "Select Line at Caret" in Preferences under "Keymap". (And associated it with ⌘-L.)
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