如果未选择任何内容,则停止PHPStorm剪切/复制整行 [英] Stop PHPStorm from cutting/copying the entire line if nothing is selected

查看:191
本文介绍了如果未选择任何内容,则停止PHPStorm剪切/复制整行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我将插入记号放在一行上,并且不小心按了 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?

推荐答案

  1. 转到注册表屏幕:Help | Find Action...并在其中搜索registry

  1. Go to Registry screen: Help | Find Action... and search for registry 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆