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

Show SOME invisible/whitespace characters in Eclipse(在 Eclipse 中显示一些不可见/空白字符)
本文介绍了在 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 中显示一些不可见/空白字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Parse XML document with elements like lt;g:idgt; using JAXB(使用JAXB解析包含lt;g:idgt;等元素的XML文档)
VertX 3.9.7 when i receive the form quot;throw exceptionquot; Size exceed allowed maximum capacityquot;(VertX 3.9.7收到表单时抛出异常SIZE超出允许的最大容量QUOT;)
JDK11 Upgrade Fails - ClassNotFoundException jdk.internal.ref.Cleaner(JDK11升级失败-ClassNotFoundException jdk.inder.ref.Cleaner)
How to make Eclipse compile patched modules on JDK 9+ by passing the --patch-module javac option to my project compiler? (see pic)(如何通过向我的项目编译器传递--patch-MODULE javac选项,让Eclipse在JDK 9+上编译打了补丁的模块?(见图))
JavaFX Modular Application, java.lang.module.FindException: Module javafx.controls not found (Java 11, Intellij)(JavaFX模块化应用程序,java.lang.mode.FindException:未找到模块javafx.Controls(Java 11,IntelliJ))
Returning NumberFormatException form SimpleDateFormat in Java code(在Java代码中返回SimpleDateFormat形式的NumberFormatException)