在 Eclipse 中显示一些不可见/空白字符 [英] Show SOME invisible/whitespace characters in Eclipse

查看:37
本文介绍了在 Eclipse 中显示一些不可见/空白字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很久以前,我从 BBEdit 过渡到在 Eclipse 中进行所有 Web 应用程序开发.但我错过了 BBEdit 的一个小功能.我曾经能够显示诸如制表符之类的不可见字符,但不能显示诸如空格之类的其他不可见字符.我知道我可以在 Eclipse 中批量打开所有这些,但我想知道是否有办法在 Eclipse 中只显示一些不可见的.

A long while back I transitioned to doing all my web application development in Eclipse from BBEdit. But I miss one little feature from BBEdit. I used to be able to show invisible characters like tabs but not show other invisibles like spaces. I know that I can bulk turn all of these on in Eclipse, but I wonder if there is a way to show only some invisibles in Eclipse.

推荐答案

很遗憾,您只能同时打开所有不可见(空白)字符.我建议您提交增强请求,但我怀疑他们会接受它.

Unfortunately, you can only turn on all invisible (whitespace) characters at the same time. I suggest you file an enhancement request but I doubt they will pick it up.

Eclipse 中的文本组件本身就非常复杂,他们并不热衷于让它们变得更糟.

The text component in Eclipse is very complicated as it is and they are not keen on making them even worse.

[UPDATE] 这已在 Eclipse 3.7 中修复:转到 Window > Preferences > General > Editors > Text Editors

[UPDATE] This has been fixed in Eclipse 3.7: Go to Window > Preferences > General > Editors > Text Editors

点击链接空白字符"来微调应该显示的内容.

Click on the link "whitespace characters" to fine tune what should be shown.

感谢约翰·艾萨克

这篇关于在 Eclipse 中显示一些不可见/空白字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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