如何在 eclipse 中禁用格式符号?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3957634/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 15:12:31  来源:igfitidea点击:

How do I disable the formatting symbols in eclipse?

eclipse

提问by Andre

I actually can't see anything because of all the formatting symbols. I have no idea what hotkey that was but I can't find any solution how to disable those symbols. Have you any idea if there is a hotkey? I can't remember what that hotkey was ...

由于所有格式符号,我实际上什么也看不到。我不知道那是什么热键,但我找不到如何禁用这些符号的任何解决方案。你知道是否有热键吗?我不记得那个热键是什么...

采纳答案by Alois Cochard

You can try the hotkey: ctrl + '.' (period)

你可以试试热键:ctrl + '.' (时期)

But that depend of your hotkey profile.

但这取决于您的热键配置文件。

回答by malun

You can also disable them by using this button:
enter image description here

您还可以使用此按钮禁用它们:
在此处输入图片说明

回答by ftl

The command you are looking for is "Show Whitespace Characters". If you cannot find it in the toolbar or menu, the simplest way to disable it is:

您正在寻找的命令是“显示空白字符”。如果在工具栏或菜单中找不到它,禁用它的最简单方法是:

  • press <Ctrl>-3
  • enter "Show Whitespace Characters"
  • select the command from the list with a double click or hitting
  • 按 <Ctrl>-3
  • 输入“显示空白字符”
  • 双击或点击从列表中选择命令

回答by Gaurav Khandelwal

You can turn off/enable white spaces/line break by:

您可以通过以下方式关闭/启用空格/换行符:

Window > Preferences > General > Editors > Text Editors > 'Show whitespace characters'

窗口 > 首选项 > 常规 > 编辑器 > 文本编辑器 > '显示空白字符'