我可以在Eclipse中自定义语法高亮显示八进制文字不同吗? [英] Can I customize syntax highlighting in Eclipse to show octal literals differently?

查看:124
本文介绍了我可以在Eclipse中自定义语法高亮显示八进制文字不同吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为八进制文字是非常危险的事情和交易,我希望他们在我阅读源代码时显而易见。



必须有一种方法在Eclipse中执行此操作吗?






所以看起来像标准的Eclipse不能配置这样做?需要一个自定义colorer?

解决方案

不,目前您只能为首选项> Java>编辑器>语法着色。我可以建议在Eclipse Bugzilla上 http://bugs.eclipse.org/ (正确的项目是imho JDT / text)?


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?

解决方案

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)?

这篇关于我可以在Eclipse中自定义语法高亮显示八进制文字不同吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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