Eclipse Plug-in development (i)

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.