简体   繁体   English

在IntelliJ IDEA中,如何隐藏文本编辑器左侧的栏?

[英]In IntelliJ IDEA, how can I hide the bar in the left of the text editor?

In IntelliJ IDEA there is a vertical bar in the left of the text editor, which makes it possible to add and remove breakpoints and see some other stuff that I never use. 在IntelliJ IDEA中,文本编辑器左侧有一个垂直条,可以添加和删除断点,并查看其他一些我从未使用过的东西。 I would like to get rid of it in order to have a less cluttered IDE. 我想摆脱它,以便有一个不那么混乱的IDE。 Is this possible? 这可能吗? If so, how can I achieve it? 如果是这样,我该如何实现呢?

You cannot turn the gutter off completely. 你不能完全关闭排水沟。 You can disable the showing of small icon previews and CSS colors: 您可以禁用小图标预览和CSS颜色的显示:

  • Settings > [IDE Settings] > Editor > Appearance 设置> [IDE设置]>编辑器>外观
    • Show icon preview in gutter for small icons (Java) 在小天沟的阴沟中显示图标预览(Java)
    • Show CSS color preview icon in gutter 在装订线中显示CSS颜色预览图标

You can also turn of line numbers by right clicking the gutter. 您也可以通过右键单击装订线来转动行号。

Other than that, it is considered an integral part of the IDE. 除此之外,它被认为是IDE的一个组成部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM