Intellij idea解决出现this file is indented with tabs instead of 4 spaces 的提示

方法一:从当前提示中点击 “shows spaces”选项进入“code style”设置 然后在”Indents Detection”中取消勾选”Detect and use existing file indents for editing”选项,最后点击Apply,OK保存设置即可   方法二:通过快捷键ctrl+alt+s打开settings或者File-->Settings-->Edit
相关文章
相关标签/搜索