問題描述
很久以前,我從 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 中顯示一些不可見/空白字符的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!