Stop PHPStorm from cutting/copying the entire line if nothing is selected

风格不统一 提交于 2019-12-30 03:17:06

问题


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:


  1. Go to Registry screen: Help | Find Action... and search for registry there

  2. Once there -- find and activate editor.skip.copy.and.cut.for.empty.selection entry.



来源:https://stackoverflow.com/questions/27697758/stop-phpstorm-from-cutting-copying-the-entire-line-if-nothing-is-selected

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!