在 Eclipse IDE 中获取我无法突出显示或删除的奇怪符号

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15305642/
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 20:08:05  来源:igfitidea点击:

Getting weird symbols in the Eclipse IDE that I can't highlight or delete

javaeclipseidesymbols

提问by malun

I've been getting these weird symbols all of a sudden. I'm assuming I accidently turned something on but I'm unsure what it is. Any help would be apprecitated.

我突然收到了这些奇怪的符号。我假设我不小心打开了某些东西,但我不确定它是什么。任何帮助都会受到赞赏。

The picture of the problem: Imgur picture for the problem

问题图片Imgur问题图片

回答by malun

Look for this button:
enter image description here
and disable it.

查找此按钮:
在此处输入图片说明
并禁用它。

回答by Markus A.

You've accidentally set Eclipse to show whitespace. You can fix it here:

您不小心将 Eclipse 设置为显示空白。你可以在这里修复它:

Window >> Preferences >> General >> Editors >> Text Editors:
  [x] Show whitespace characters

回答by Thilo

That is "visible whitespace". Shows tabs, spaces, and line breaks.

那就是“可见的空白”。显示制表符、空格和换行符。

In Preferences, Go to General > Editors > Text Editors and uncheck "show whitespace characters".

在首选项中,转到常规 > 编辑器 > 文本编辑器并取消选中“显示空白字符”。

回答by Cory Kendall

Those are whitespace symbols. The hotkey for disabling them is CTRL .(that's a period).

这些是空白符号。禁用它们的热键是CTRL .(这是一个句号)。

This question was also answered here, but I'm not sure we should mark as duplicate. How do I disable the formatting symbols in eclipse?

这个问题也在这里得到了回答,但我不确定我们是否应该标记为重复。 如何在 eclipse 中禁用格式符号?