英文:
Using dots instead lines for indents in IntelliJ
问题
使用IntelliJ Go插件。
我喜欢看到缩进,但是如何更改使用的字符。
这条线太过突出。我更喜欢像Scala或JSON插件中那样使用点。
如何更改它?
使用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.
The line is too aggressive. I would prefer a dot like in the Scala or JSON plugins.
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
中将这个样式更改为>
,但是在这里无法使用.
来渲染制表符字符。
英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论