eclipse plugin development (a) - acquaintance

Original link: https: //www.cnblogs.com/chenmo-xpw/p/5657538.html

eclipse itself is an open-source platform that provides users with many extensions points. We can develop their own set of plug-ins installed in the eclipse plugin directory, you can use our plug-ins.

Rapid development of eclipse plug-ins below said.

1. Create a project in eclipse plugin

2, project name is actually a plug-in ID

3, the next default

4. Select Hello, World Command. Of course you can try each of the next ~ ~

5, by default, click on finish

6, plug-in project is structured as follows.

You've created your project, then how to make it run up it? Click on the figure of Launch an Eclipse application. This will create a new instance of eclipse

7, results.

It is not very simple, yes, that is so simple to build one of their own eclipse plugin, let it be followed by a jar, mounted directly eclipse, since you can directly use your plugins 

8, export jar.

(1)、export -- > Deployable plug-ins and fragments

(2), enter the export path.

(3), export of com.mycompany.xpw_1.0.0.201607101203.jar copy to the next eclipse plugin directory. Restart eclipse.

We look at the effect

 

Guess you like

Origin www.cnblogs.com/lotuses/p/11540400.html