本文介绍了IntelliJ为什么不使用标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
根据
......但显然这都是谎言:(
解决方案
转到设置→编辑→代码风格并取消选择检测并使用现有文件缩进进行编辑。
As per How can I use tabs for indentation in IntelliJ IDEA?, I have gone through and set each extension to "Use tab character" as seen below.
It doesn't work though - IntelliJ is still inserting spaces when I hit the tab button. Did I miss something? Where is intelliJ's [Please use tabs like I ef'ing told you to do] button?
(FYI, I'm using IntelliJ Ultimate 2016.2)
This looks promising...
... but apparently it's all lies :(
解决方案Go to Settings → Editor → Code Style and deselect ‘Detect and use existing file indents for editing’.
更多推荐
IntelliJ为什么不使用标签?
发布评论