简体   繁体   English

将语义突出显示添加到Eclipse编辑器插件

[英]Adding Semantic Highlighting to an Eclipse editor plugin

In eclipse, the Java editor highlights the declaration of function and class names. 在eclipse中,Java编辑器突出显示函数和类名称的声明。 As far as I can tell from my googling, this dynamic highlighting is done using semantic highlighting, however I have yet to find any tutorials on how to actually write the code to do so. 据我在谷歌搜索中了解到的,这种动态突出显示是使用语义突出显示完成的,但是我还没有找到有关如何实际编写代码的任何教程。 Does anyone know how it works or how to write a simple one. 有谁知道它是如何工作的或如何写一个简单的。 I've looked through the Eclipse documentation and didn't find anything, and the JDT source didn't help either. 我浏览了Eclipse文档,但没有找到任何东西,JDT源代码也无济于事。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM