Eclipse编辑器用乱码替换空格,制表符,新行 [英] Eclipse editor replaces spaces,tabs, new lines with gibberish

查看:118
本文介绍了Eclipse编辑器用乱码替换空格,制表符,新行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:如您所见,编辑器用奇怪的方式替换空格,制表符和新行

The problem: As you can see, the editor 'replaces' spaces, tabs and new lines with weird characters.

我试图解决问题:


  • 重新启动PC,再次启动eclipse

  • 更改编辑器主题

  • 在Appearance(外观)选项卡上还原默认设置。

  • <尝试检查其他项目,同样的问题。
  • Reboot PC, start eclipse again.
  • Change editor theme.
  • Restore default settings at Appearance tab.
  • Tried to check other projects, same problem.

我没有任何解释它的线索,因为谷歌没有答案。

And I have no clue how to fix it, as there is no answer in google.

推荐答案

已启用显示空格字符。角色不是乱七八糟,他们正在向您显示标签和新行字符。

You have 'show whitespace characters' enabled. The characters are not 'gibberish' they are showing you things like tab and new line characters.

打开首选项,然后转到常规>编辑器>文本编辑器,然后取消选择显示空白字符选项。

Open the Preferences and go to 'General > Editors > Text Editors' and deselect the 'show whitespace characters' option.

此工具栏上还有一个按钮。

There is also a button on the toolbar for this.

这篇关于Eclipse编辑器用乱码替换空格,制表符,新行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆