IDEA 出现 This file is indented with tabs instead of 4 spaces提示

问题:Intellij IDEA 老出现 This file is indented with tabs instead of 4 spaces提示,
此提示是关于缩进用空格缩进还是tab缩进的问题,随习惯吧。

解决方法:在settings --> Editor --> Code Style,右边有个Indents Detection
将Detect and use existing file indents for editing的勾去掉,点击Apply保存设置

This file is indented with tabs instead of 4 spaces....提示

相关文章:

  • 2021-10-21
  • 2021-12-08
  • 2021-05-23
  • 2021-12-25
  • 2022-12-23
猜你喜欢
  • 2021-06-07
  • 2021-10-23
  • 2021-07-02
  • 2021-04-28
  • 2021-11-21
相关资源
相似解决方案