为什么 IntelliJ 不使用制表符?

Why won't IntelliJ use tabs?

根据 How can I use tabs for indentation in IntelliJ IDEA?,我已经完成并将每个扩展设置为 "Use tab character",如下所示。

虽然它不起作用 - 当我点击选项卡按钮时,IntelliJ 仍在插入空格。我错过了什么? intelliJ 的 [Please use tabs like I ef'ing told you to do] 按钮在哪里?

(仅供参考,我使用的是 IntelliJ Ultimate 2016.2)

这看起来很有希望...

...但显然这都是谎言:(

也许您选中了选项设置->编辑器->常规->"Allow placement of caret inside tabs"。

取消选择并重试。

转到设置编辑器代码样式 并取消选择'检测并使用现有文件缩进进行编辑'。

如果您打开 .editorconfig 文件,您将看到类似于以下内容的内容

# 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

我改成tab和4,关闭项目再打开。
我知道这是一个必须采取的荒谬步骤,并与他们一起公开错误报告。