如果未选择任何内容,则停止PHPStorm剪切/复制整行 [英] Stop PHPStorm from cutting/copying the entire line if nothing is selected
问题描述
如果我将插入记号放在一行上,并且不小心按了 Ctrl X 或 Ctrl C 而不是 Ctrl S ,由于没有选择,因此将剪切/复制整行.
If I set the caret on a line and accidentally press CtrlX or CtrlC instead of CtrlS, then the entire line is cut/copied, since there is no selection.
这可能很烦人,并且经常会破坏我要粘贴的剪贴板中的代码.如果没有选择任何内容,我希望什么都不会发生.如何将其关闭?
This can be very annoying, and can often times destroy code in the clipboard which I wanted to paste. I'd expect nothing to happen if nothing is selected. How can this be turned off?
推荐答案
-
转到注册表屏幕:
Help | Find Action...
并在其中搜索registry
Go to Registry screen:
Help | Find Action...
and search forregistry
there
在那里-找到并激活editor.skip.copy.and.cut.for.empty.selection
条目.
Once there -- find and activate editor.skip.copy.and.cut.for.empty.selection
entry.
这篇关于如果未选择任何内容,则停止PHPStorm剪切/复制整行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!