IntelliJ为什么不使用标签?

编程入门 行业动态 更新时间:2024-10-25 12:16:18
本文介绍了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为什么不使用标签?

本文发布于:2023-11-25 03:07:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1628072.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:标签   IntelliJ

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!