Eclipse itself is an open source platform that provides users with many extensibility points. We can fully develop our own set of plugins, installed in the Eclipse plugin directory, you can use our plug-in.
The following is a quick development of the Eclipse plugin.
1. Create a plugin project in eclipse
2, project name is actually the ID of the plugin
3, the default next
4, choose Hello,world Command. Of course you can try every one of them.
5, by default, click Finish directly
6, the plug-in engineering structure is as follows.
After creating the project, how do you make it run? Click Launch an Eclipse application in the figure. This creates a new eclipse instance
7, results.
Isn't it simple, yes, it's that simple, build your own eclipse plugin, and then let it become a jar, installed directly in Eclipse, and you can use your plugin directly later
8. Export the jar.
(1), Export--> Deployable plug-ins and Fragments
(2), enter the export path.
(3), copy the exported com.mycompany.xpw_1.0.0.201607101203.jar to the Eclipse plugin directory. Restart Eclipse.
Let's see the effect.
Attached: Two books recommended for Eclipse plugin development
1. "Eclipse Plugin Development Learning notes"
2, "Eclipse Plug-in Development (original book 3rd edition)"
Eclipse Plug-in development (i)