Can I customize syntax highlighting in Eclipse to show octal literals differently?

孤人 提交于 2019-12-21 07:07:28

问题


I think octal literals are Very Dangerous Things™, and I'd like them to be glaringly obvious whenever I read source codes.

There must be a way to do this in Eclipse, right?


So it looks like standard Eclipse cannot be configured to do this? A custom colorer is required?


回答1:


No, currently you can only configure a color for all Numbers in Preferences > Java > Editor > Syntax Coloring. May I suggest creating an enhancement request at the Eclipse Bugzilla at http://bugs.eclipse.org/ (correct project is imho JDT / text)?



来源:https://stackoverflow.com/questions/2398208/can-i-customize-syntax-highlighting-in-eclipse-to-show-octal-literals-differentl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!