Eclipse:我打开了隐藏字符,现在无法关闭 [英] Eclipse: I turned on hidden characters now I can't turn off

查看:20
本文介绍了Eclipse:我打开了隐藏字符,现在无法关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不知何故,我在 Eclipse 中打开了隐藏字符.它不是一般编辑器首选项中的空白"字符.打开后,它会在现有字符上添加另一层隐藏字符.

然后我有类似的东西

<块引用><块引用>

有人知道这些是什么以及如何删除它们吗?

解决方案

它位于 Preferences > General > Editors > Text Editors 下.有一个标记为显示空白字符"的复选框.如果取消选中此项,编辑器将恢复正常.

如果您单击此行中的空白字符"链接,您将看到一个弹出窗口,您可以在其中定义 eclipse 应该将哪些字符视为空白字符.

在这个弹出窗口中,您还可以选择定义每个空白字符在编辑器中显示的透明度,您可以使用它来(间接)更改它们的前景色.我只是在这里提一下,因为我花了大约半个小时才找到这个设置!;-)

Somehow I've turned on hidden characters in Eclipse. It's not the "whitespace" characters in the general editor preferences. When turned on, it adds another layer of hidden characters over the existing ones.

Then I have things like

Does anyone know what these are and how to remove them?

解决方案

It is under Preferences > General > Editors > Text Editors. There is a checkbox labeled "Show whitespace characters". If you uncheck this the editor switches back to normal.

If you click on the "whitespace characters" link in this line you will get a popup window, in which you can define which characters eclipse is supposed to consider as whitespace characters.

In this popup window you also get the option to define the transparency in which each whitespace character is displayed in the editor, which you can use to (indirectly) change their foreground colour. I'm just mentioning it here, because it took me about half an hour to find this setting! ;-)

这篇关于Eclipse:我打开了隐藏字符,现在无法关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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