“Settings => Editor => Code Style” 里面看看,“Detect and use existing file indents for editing” 这一条有没有打钩。如果打钩的话,把钩去掉 你的项目中有没有 .editorconfig 文件?如果有,那么会用这里设置的格式
“Settings => Editor => Code Style” 里面看看,“Detect and use existing file indents for editing” 这一条有没有打钩。如果打钩的话,把钩去掉
你的项目中有没有
.editorconfig
文件?如果有,那么会用这里设置的格式