IDEA設置tab鍵爲4個空格

阿里巴巴開發規範要求idea中按tab鍵表示4個空格,下面介紹一下如何設置: 點擊file–>settings–>Editor–>Code Style–>Java,設置Tabs and Endents中的Idents爲4 ,一定注意不要勾選 Use tab character,這樣設置完了之後點擊apply,ok即可設置完成
相關文章
相關標籤/搜索