Eclipse插件:java编辑器 [英] Eclipse Plugin :java Editor
问题描述
而不是创建自定义编辑器,我想扩展
Java编辑器的功能。
我从哪里开始?
请提供一些洞察力。
AspectJ编辑器(用于AJDT)和Groovy编辑器(用于Groovy-Eclipse)。两者都是精确的;你说的是什么他们为他们的语言专门提供了Java编辑器的子类。这不是一件简单的任务,在开始之前,您应该深入了解Eclipse插件架构的工作原理。
AJDT的源代码在这里可用:
http://git.eclipse.org/c/ajdt/org.eclipse .ajdt.git / tree / org.eclipse.ajdt.ui / src / org / eclipse / ajdt / internal / ui
groovy的源代码-eclipse在这里:
https://github.com/groovy/groovy-eclipse
最后,您应该阅读关于eclipse编辑器框架的这篇文章:
http://www.vogella.com/articles/EclipseEditors/article.html
I want to extend the functionality of the java editor. Instead of creating a custom editor, I want to just expand the functionality of Java editor.
Where do I start?
Kindly provide some insight into this.
Two examples to look at are the AspectJ editor (for AJDT) and the Groovy editor (for Groovy-Eclipse). Both do exact;y what you are describing. They provide sub-classes of the Java editor specifically for their language. It's not a simple task and before you begin, you should have a deep understanding of how the Eclipse plugin architecture works.
The source code for AJDT is available here: http://git.eclipse.org/c/ajdt/org.eclipse.ajdt.git/tree/org.eclipse.ajdt.ui/src/org/eclipse/ajdt/internal/ui
The source code for groovy-eclipse is here: https://github.com/groovy/groovy-eclipse
Finally, you should have a good read of this article about the eclipse editor framework: http://www.vogella.com/articles/EclipseEditors/article.html
这篇关于Eclipse插件:java编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!