I have gone to File, Settings; in there to Editor, Code Style, Java. And in there I have set use tab character and smart tabs.
But in the editor it keeps inserting 4 spaces instead of tabs. How can I get tabs?
I have gone to File, Settings; in there to Editor, Code Style, Java. And in there I have set use tab character and smart tabs.
But in the editor it keeps inserting 4 spaces instead of tabs. How can I get tabs?
In case you are using an .editorconfig file this will override your IDE code style settings.
You can disable it by unchecking the tickbox 'Enable EditorConfig support' under Editor > Code Style.
Tabs and Indents - Intellij Support