idea代码下面黄线
时间: 2023-09-10 11:13:57 浏览: 572
idea代码风格
回答: 如果你想去除IDEA代码下面的黄线,你可以按照以下步骤进行设置。首先,点击IDEA右上角的"File"选项。然后,在弹出的菜单中选择"Settings"。接下来,在"Settings"窗口中,点击"Editor"选项,然后找到"Inspections"。在"Inspections"中,找到"Duplicated Code"选项,并取消对勾。最后,点击"OK"保存设置即可。\[1\]另外,如果你还想去除XML文件中SQL语句的黄色行背景色,你可以在"Settings"窗口中找到"Editor"选项,然后选择"Inspections"。在"Inspections"中,找到"SQL"选项,取消对"SQL dialect detection"和"No data sources configured"的勾选即可。\[2\]希望这些步骤可以帮助你解决问题。
#### 引用[.reference_title]
- *1* [Java编程工具(12):去除idea重复代码报黄色的下划波线](https://blog.csdn.net/mingyuli/article/details/82353103)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Idea中@Autowired 黄色波浪线问题,注入类显示红色波浪线,去除重复代码导致的波浪黄线,去除xml文件里sql...](https://blog.csdn.net/weixin_46775407/article/details/116448816)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [idea中删除黄色的下划线(黄色下划线重复代码提示)](https://blog.csdn.net/w1256466374/article/details/118031890)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文