IntelliJ为什么不使用标签? [英] Why won't IntelliJ use tabs?

查看:186
本文介绍了IntelliJ为什么不使用标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据



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



< a href =https://i.stack.imgur.com/mqK6o.png =nofollow noreferrer>

解决方案

转到设置编辑代码风格并取消选择检测并使用现有文件缩进进行编辑




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 SettingsEditorCode Style and deselect ‘Detect and use existing file indents for editing’.

这篇关于IntelliJ为什么不使用标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆