简体   繁体   English

如何在 IntelliJ IDEA 中禁用代码检查

[英]How to disable code inspection in IntelliJ IDEA

On line 2 and 3 there are highlights on "Node" and "label."在第 2 行和第 3 行,“节点”和“标签”上有突出显示。 How do I remove these highlights?如何删除这些亮点? The translucent highlight variables are sometimes not visible.半透明高光变量有时不可见。

IntelliJ IDEA warns the developer about possible problems in the code this way. IntelliJ IDEA 以这种方式警告开发人员代码中可能存在的问题。 You can configure it manually in (Settings / Preferences (on macOS) | Editor | Inspection) section or perform the Intention action to disable/change them:您可以在(Settings / Preferences (on macOS) | Editor | Inspection)部分手动配置它或执行Intention 操作以禁用/更改它们:

在此处输入图像描述

See the corresponding documentation page for more details.有关更多详细信息,请参阅相应的文档页面

The warning color can be changed in (Settings / Preferences (on macOS) | Editor | Color Scheme | General | Errors and Warnings) section.可以在(设置/首选项(在 macOS 上)| 编辑器 | 颜色方案 | 常规 | 错误和警告)部分更改警告颜色。

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

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