如何开发eclipse插件?
PHP中文网
PHP中文网 2017-04-22 08:59:54
0
1
681

如何开发eclipse插件,实现一些组件拖拽生成代码的功能?需要一些什么知识储备?有什么参考资料和项目?

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
伊谢尔伦

The most critical and most important thing: English must be good! English must be good! English must be good! Say the important thing three times haha//Just think I’m talking nonsense

Open source eclipse plug-in source code learning library https://github.com/search?utf8=%E2%9C%93&q=eclipse+plug

The first step: JAVA basics.
JAVA syntax and the use of some common APIs. Regarding JSP, SWING and other parts, it is enough to take a quick look at them. They are not needed for Eclipse plug-in development.

Step 2: Plug-in Development
Recommended book: "Eclipse from Beginner to Master", the book I wrote myself is of course the first recommendation ^_^. The last article is about WEB. It is not used in Eclipse plug-in development, so there is no need to read it. While reading the book you do the SMS project one last time. Then imitate a library management system or something, become familiar with various APIs of JAVA and SWT, and of course the most important thing is to be familiar with plug-in development.

The third step: JAVA in-depth
Recommended books: "Effective Java" (translated by Pan Aimin), "Java and Patterns" (Yan Hong). After you have some actual development experience, you can have more experience by reading these two books. The examples in the book "Eclipse from Getting Started to Mastery" also use many patterns. SWT itself is also a model for using JAVA patterns. It is possible that you were a little bit overwhelmed by the implementation of some codes in the book "Eclipse from Beginner to Master", but after reading these two books, your understanding of JAVA will be deeper.

Step 4: Peripheral expansion
Hibernate and Spring, these two technologies must be mastered. Spring's AOP and IOC are also useful in plug-in development, and Hibernate is generally used in the back-end data layer. However, in a software company, you cannot only write front-end plug-ins and not write back-end server code. In addition, JUnit, Ant or Maven, Loger, Apache common and other small tool packages should also be mastered. In particular, develop good habits of test-driven development. Books in these areas are not recommended. Such books are related to software package versions. Even good books from back then may be out of date now. You can go to http://www.china-pub.com/ to search for related books, and then read book reviews and rankings. It is recommended to buy more books written by Chinese people, which are easy to understand. The "* in Action" series is also good. Choosing an author is also very important. There are a lot of bad books nowadays. You can’t make much money writing a quality book and you’ll be exhausted until you die. So there are very few good and responsible authors. Transparent, members of the JavaEye forum, Sun Weiqin, etc. are all authors with relatively good reputations. If you buy the books written by them, it will not be any worse.

Eclipse plug-in development guide: http://www.cnblogs.com/xing901022/p/4087900.html

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template