在 Eclipse 中显示一些不可见/空白字符

编程入门 行业动态 更新时间:2024-10-25 12:24:11
本文介绍了在 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 中显示一些不可见/空白字符

本文发布于:2023-10-18 11:27:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1504098.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:字符   空白   Eclipse

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!