1、自动导入包
file–>setting–>Editor–>General–>Auto Import,勾选如图所示即可。
idea自动导入包以及关闭重复代码提示(简单、实用)

2、关闭重复代码提示
file–>setting–>Editor,如图所示,去掉勾选即可。
idea自动导入包以及关闭重复代码提示(简单、实用)

相关文章:

  • 2022-01-23
  • 2021-06-19
  • 2022-12-23
  • 2021-05-21
  • 2021-06-20
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-17
  • 2021-08-15
  • 2022-01-09
  • 2021-09-21
  • 2021-06-25
  • 2022-12-23
相关资源
相似解决方案