开发者

Integrating Eclipse JDT Core into a new editor

开发者 https://www.devze.com 2022-12-28 23:57 出处:网络
I\'m building a Java IDE and am trying to implement autocompletion or intellisense. After looking around for something that will do most of the work for me (not reinventing the wheel etc) I\'ve pulled

I'm building a Java IDE and am trying to implement autocompletion or intellisense. After looking around for something that will do most of the work for me (not reinventing the wheel etc) I've pulled the code for Eclipse JDT core and am trying to figure out how to implement it in my own IDE. I'm obviously working under the assumption that this is possible.

If anyone knows a lot about Eclipse JDT Core, implementing intellisense, or other fun things that would help me accomplish my goal and would like to weigh in开发者_如何转开发, I would appreciate it! Thanks!


Another module that could help when implementing intellisense would be XText
(might be a bit too generic for your specific JDT domain)

Xtext is a framework for development of programming languages and domain specific languages (DSLs). Just describe your very own DSL using Xtext's simple EBNF grammar language and the generator will create a parser, an AST-meta model (implemented in EMF) as well as a full-featured Eclipse text editor from that.

alt text http://www.eclipse.org/Xtext/documentation/0_7_2/images/getting-started-editor.png

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号