문제

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

도움이 되었습니까?

해결책

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.

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top