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

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

问题描述

不知怎的,我已经打开了eclipse中的隐藏字符。这不是一般编辑器偏好中的空格字符。打开后,它会在现有的文件上添加另一层隐藏的字符。



他们有这样的东西,如



< blockquote>


\r\\\



任何人都知道这些是什么以及如何删除?

解决方案

它位于首选项>常规>编辑>文本编辑器 。有一个复选框标记为显示空白字符。如果您取消选中,则编辑器将切换回正常。



如果您点击此行中的空格字符链接,您将看到一个弹出窗口,您可以在其中定义eclipse应该被视为空格字符的字符。



在这个弹出窗口中,您还可以选择定义透明度,其中每个空格字符在编辑器中显示,您可以(间接)更改其前景色。我只是在这里提到,因为我需要大约半个小时才能找到这个设置! ; - )


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

They I have things like

\r\n

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天全站免登陆