在IntelliJ中使用点而不是线来表示缩进。

huangapple go评论73阅读模式
英文:

Using dots instead lines for indents in IntelliJ

问题

使用IntelliJ Go插件。
我喜欢看到缩进,但是如何更改使用的字符。

在IntelliJ中使用点而不是线来表示缩进。

这条线太过突出。我更喜欢像Scala或JSON插件中那样使用点。

在IntelliJ中使用点而不是线来表示缩进。.

如何更改它?

使用IntelliJ IDEA 2022.3.3(Ultimate Edition),但与IntelliJ IDEA 2023.1 Beta(Ultimate Edition)相同。

英文:

Using the IntelliJ Go plugin.
I like to see the indentation, but how to change the character used.

在IntelliJ中使用点而不是线来表示缩进。

The line is too aggressive. I would prefer a dot like in the Scala or JSON plugins.

在IntelliJ中使用点而不是线来表示缩进。.

How to change it?

Using IntelliJ IDEA 2022.3.3 (Ultimate Edition) but the same with IntelliJ IDEA 2023.1 Beta (Ultimate Edition).

答案1

得分: 1

IDEA使用.作为空格的占位符,默认情况下,如果启用了Settings | Editor | General | Appearance | Show whitespaces,则使用-作为制表符的占位符。

你可以在Settings | Advanced Settings中将这个样式更改为>,但是在这里无法使用.来渲染制表符字符。

在IntelliJ中使用点而不是线来表示缩进。

英文:

The IDEA uses the . as a placeholder for space, and - for tabs by default if you have the Settings | Editor | General | Appearance | Show whitespaces enabled.

You could change this style to something like > in Settings | Advanced Settings though it is not possible to use the dot for tab character rendering here.

在IntelliJ中使用点而不是线来表示缩进。

huangapple
  • 本文由 发表于 2023年3月11日 18:44:14
  • 转载请务必保留本文链接:https://go.coder-hub.com/75704346.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定