Why doesn't IntelliJ use tabs?

How to use tabs for indentation in IntelliJ IDEA? , I went through and set each extension to "Use tab symbol", as shown below.

This does not work. IntelliJ still inserts spaces when I press the tab button. Did I miss something? Where is the intelliJ button [Please use tabs like I ef'ing told you to do] ?

(FYI, I am using IntelliJ Ultimate 2016.2)

It looks promising ... enter image description here

... but, apparently, all this lies: (

enter image description here

+5
intellij-idea indentation
Jan 23 '17 at 15:34
source share
3 answers

Perhaps you have the option "Settings-> Editor-> General →" Allow carriage placement inside tabs ".

Deselect and try again.

+3
Jan 23 '17 at 18:35
source share

Go to SettingsEditorCode Style and uncheck the Detect and use existing indents box for editing .

yMhxO.png

+3
Feb 09 '17 at 16:46
source share

If you open the .editorconfig file, you will see something similar to the following

 # editorconfig.org root = true [*] indent_style = spaces indent_size = 2 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true 

I changed it to the tab and 4, closed the project and reopened it.
I know this is an absurd step to take, and it has a bug report.

+1
Mar 28 '17 at 20:24
source share



All Articles