Eclipse 编辑器用乱码替换空格、制表符和新行

Eclipse editor replaces spaces,tabs, new lines with gibberish

问题:如您所见,编辑器 'replaces' 空格、制表符和换行符带有奇怪的字符。

我尝试解决问题的方法:

而且我不知道如何修复它,因为 google 中没有答案。

您已启用 'show whitespace characters'。这些字符不是 'gibberish',它们向您显示制表符和换行符之类的东西。

打开首选项并转到 'General > Editors > Text Editors' 并取消选择 'show whitespace characters' 选项。您还可以准确配置此处显示的字符。

工具栏上也有一个按钮。