How can I use tabs for indentation in IntelliJ IDEA?

前端 未结 9 1600
小蘑菇
小蘑菇 2021-01-30 09:35

How can I use tabs instead of multiple spaces for indentation in IntelliJ IDEA 11.0?

I have \"Use tab character\" checked under \"Code Style\" > \"General\" > \

9条回答
  •  温柔的废话
    2021-01-30 10:26

    For anyone not able to get this, another thing you need to uncheck the following as well

    Preferences > Editor > Code Style
    [] Enable EditorConfig support
    EditorConfig may override the IDE code style settings
    

    My IntelliJ version 15.0.4

提交回复
热议问题