通过ctrl+alt+s打开settings或菜单栏File->settings

在settings找到Editor->Code Style,看右边有一个Indents Detection

将Detect and use existing file indents for editing这一些的勾去掉,点击OK保存设置

解决无限出现This file is indented with tabs instead of 4 spaces的提示

相关文章:

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