简体   繁体   English

如何在 PHPStorm 中移除灯泡?

[英]How to remove the light bulb in PHPStorm?

Every time I try to select a line (for copying it, for example) a wild light bulb appears and blocks the mouse pointer.每次我尝试选择一行(例如复制它)时,都会出现一个野生灯泡并阻止鼠标指针。 How can I remove this feature?如何删除此功能?

在此处输入图片说明

Settings/Preferences | Editor | General | Appearance | Show intention bulb

在此处输入图片说明

Please note that hiding bulb and disabling intentions (as accepted answer suggests) are different things.请注意,隐藏灯泡和禁用意图(如已接受的答案所暗示的)是不同的事情。

Yes, you may end up with hidden bulb in both cases but this way (in this answer) you can still invoke those useful intentions via keyboard shortcut (typically Alt + Enter ) while in other case they will be simply unavailable.是的,在这两种情况下,您最终都可能会得到隐藏的灯泡,但是这样(在这个答案中)您仍然可以通过键盘快捷键(通常是Alt + Enter )调用这些有用的意图,而在其他情况下它们将根本不可用。

Actually, you CAN disable the bulb in v6.实际上,您可以在 v6 中禁用灯泡。 Settings (or Preferences on Mac)-> Intentions then uncheck the appropriate group.设置(或 Mac 上的首选项)-> 意图,然后取消选中相应的组。 Poof.噗。 No more lightbulb getting in the way.不再有灯泡挡路。

PhpStorm 2017.2.4 PhpStorm 2017.2.4

Editor > General > Appearance

Uncheck " Show intention bulb " 取消选中“ 显示意图灯泡

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM