是否有键盘快捷键可以选择PhpStorm中的当前行? [英] Is there a keyboard shortcut to select current line in PhpStorm?
问题描述
在PhpStorm中,有扩展选择ctrl + w
的快捷方式.是否有选择所有当前行的快捷方式?我在Sublime中寻找类似于ctrl + l
的东西吗?
In PhpStorm there is shortcut to extend selecting ctrl + w
. It there shortcut to select all current line? I looking for something that works like ctrl + l
in Sublime?
推荐答案
可以执行此操作...但是分配的快捷方式(如果有)取决于所使用的实际键盘映射.
Such action is available ... but assigned shortcut (if any) depends on actual keymap used.
无论如何:
-
Settings/Preferences | Keymap
- 找到
Editor Actions | Select line at Caret
条目(提示:使用本地搜索框) - 分配您想要的任何快捷方式(如果该按键映射有一个,请使用提供的快捷方式)
Settings/Preferences | Keymap
- Locate
Editor Actions | Select line at Caret
entry (HINT: use local search box) - Assign any shortcut you wish (or use provided one, if that keymap has one)
PS 如果要选择下一步以复制/剪切当前行...则可以直接使用复制"或剪切"-如果未进行选择,它将复制/剪切当前行(默认行为-可以通过隐藏设置)关闭.
P.S. If you want to select current line to copy/cut it as a next step ... then you can just use Copy or Cut straight away -- it will copy/cut current line if no selection is made (default behaviour -- can be turned off via hidden setting).
这篇关于是否有键盘快捷键可以选择PhpStorm中的当前行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!