Ways to add plug-ins in eclipse

Source: Internet
Author: User

The installation method of the plug-in has the following three kinds:

The first: direct copying: Assuming that your eclipse is in (C:\eclipse), unzip the eclipse you downloaded
Plug-in or install the Eclipse plugin into the specified directory AA (C:\AA) folder, open the AA folder and include two folders in the AA folder features and plugins
, and then copy the files from the two folders to features and plugins under the corresponding folder under Eclipse.
, it is the most direct and stupid way to copy the plugin files directly into the Eclipse directory. Because it will be very difficult to remove these plugins in the future! Not recommended for strong columns!!

Note: direct the
After the plug-in package is extracted to the plugins folder, restarting Eclipse may not load the new plugin.

The workaround is to:
1. Open the command line to the current Eclipse directory and enter eclipse
-clean, restart Eclipse so that eclipse will add a new plugin.
2, if the plug-in can not be upgraded, then please delete the Eclipse\configuration\org.eclipse.update directory before starting eclipse:)

You can "help" on the Eclipse menu "about
Eclipse SDK "--" Feature Details "and" plug-in
Details "To see the newly installed plug-in.


The second (I'm using this method):

The downloaded plugins may have these kinds of forms:

One is a separate jar file, two are plugins and features two folders, and the third is a separate eclipse text

Folder.

Links Installation Method: (strong push)

1, getting ready for work

If the plugin is a separate jar file, then you need to do three things,

First build a plugins folder, put the jar file into it,

Build an Eclipse folder and put the plugins into it,

Finally, for example: if you download a plugin named Wbpro, you need to build a Wbpro folder

, and put the Eclipse folder in it just now. (not necessarily named Wbpro, you can use other names,

such as AAA,BB, note: This sentence can not see first). Well, the general structure of the plugin came out, as follows

Wbpro/eclipse
/plugins/**.jar


If the plug-in is plugins and features two folders (or only plugins folders),

Please build a folder called Eclipse, put the above two folders in it,

Build a folder named Wbpro and put the Eclipse folder in it, the general structure of the plugin

Under: Wbpro/eclipse
/{plugins,features} If the plugin is an Eclipse folder, please create a new

A Wbpro folder where Eclipse is placed, the structure of the plugin is as follows: Wbpro/eclipse


2, start the installation

Find your eclipse.
, under which two folders are built, one is Extplugins, one is links, and the structure is

Under {eclipse/extplugins,links},

Put the plugin Wbpro you just built into Extplugins,

Then, under the Links folder, create a txt text that is written in: Path=extplugins/wbpro, note

meaning "/" instead of "\", then name the text file Wbpro.link, note that the full name is Wbpro.link,

Rather than WBPro.link.txt,

OK, start eclipse, click Window->preferences in the menu bar, and in the pop-up dialog, look left.

Side of the navigation bar, if there is your plug-in name, such as Wbpro, congratulations on your plugin installation success!


The third type:

Third: Plug-in installation method using Eclipse's own graphical interface: Select Help > Software Updates >
Manager Configuration
In the Select Add > Extension location
Find the directory where you want to install the plugin.

If you use the 3rd method, you must have files in the Eclipse directory. Eclipseextension, if you do not have this file under the plugin,
Then just copy the file from the Eclipse installation directory in the past! As long as there is such a file, the content is useless, mainly some version information! For example:

Id=org.eclipse.platform
Name=eclipse
Platform
version=3.1.1


—————————————— plug-in management ————————————————————

Start Eclipse, in the menu Help->software updates->manage
Configuration ... Under, enable or

The plugin is disabled by the user.
Third, other additions:

1.
Plug-ins can be installed in more than one custom directory, respectively.

2. One custom directory can install multiple plugins.

3.
The name and extension of the link file can be any name, such as Rse.txt,myplugin.

4.
The path path of the Path= plugin directory in the link file is separated by \ \ or/

5.
The link file can have multiple lines of path= plug-in directory, corresponding to multiple custom plug-in directories, each line of the path parameter

The number will take effect.

6.
You can also have multiple link files in the links directory, and the path parameter in each link file will take effect.

7. The plug-in directory can use relative paths.

8.
You can set up a subdirectory in the links directory, transfer temporarily unused plugins to this subdirectory, and speed up eclipse startup.

9.
If you do not see the plug-in after installation, put the Eclipse installation directory

The configuration/org.eclipse.update/directory is removed and the eclipse is restarted.

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.