Pregunta

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

¿Fue útil?

Solución

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.

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top