本文介绍了关闭高光的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想关闭PHPStorm对非错误相关内容的烦人的突出显示.

I want to turn off PHPStorm's annoying highlighting for non-error related things.

我阅读了他们的文档,该文档说是要进行首选项"->编辑器"->检查".我为SQL取消了所有选择,但仍然无缘无故地得到了绿色突出显示:

I read their docs, which said to go to preferences->editor->inspections. I deselected all for SQL, yet I still get this green highlighting for no reason:

如何禁用此功能?真让人分心.

How do I disable this? It's quite distracting.

推荐答案

实际上是语言注入.

您可以:

  • Settings (Preferences on Mac) | Editor | Colors & Fonts | General --> Code | Injected language fragment处删除/更改背景颜色
  • Settings (Preferences on Mac) | Editor | Language Injections
  • 上完全禁用特定的注入规则
  • Remove/change background color at Settings (Preferences on Mac) | Editor | Colors & Fonts | General --> Code | Injected language fragment
  • Disable that particular injection rule altogether at Settings (Preferences on Mac) | Editor | Language Injections

这篇关于关闭高光的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 01:55