tools-eclipse-001-How to install plugins

Source: Internet
Author: User

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

First Kind: Direct copy: Assuming your eclipse is in (C:\eclipse), unzip the eclipse plugin you downloaded or install the Eclipse plugin into the specified directory AA (C:\AA) folder, open the AA folder, In the AA folder contains two folders features and plugins, and then the files in two folders are copied to the corresponding folder under Eclipse features and plugins, the general plug-in files directly copied To the Eclipse directory is the most direct and most stupid way! Because it will be very difficult to remove these plugins in the future! Not recommended for strong columns!!

Note: After extracting the plug-in package directly under 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, enter Eclipse-clean, and restart Eclipse, so 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 see the newly installed plugins in the Eclipse menu "Help" and "About Eclipse SDK"--"Feature details" and "plug-in details".


Second, links installation (strong push)
The downloaded plugins may have these forms: one is a separate jar file, two are plugins and features two folders, and the third is a separate Eclipse folder.

Links Installation Method: (strong push)
1, preparation if you download a plugin called **.jar, the approximate structure of the plugin comes out as follows: Custom folder name /eclipse/plugins/**.jar
If the plug-in is plugins and features two folders (or only plugins folders), the general structure of the plugin is as follows: Custom folder name/eclipse/{plugins,features}If the plugin is an Eclipse folder, the plug-in is structured as follows: Custom folder name/eclipse

2, start the installation
Find your Eclipse installation directory, under which you build two folders, one is Extplugins, one is links, the structure is as follows {eclipse/extplugins,links}, put the plugin directory file you just created into Extplugins, Then in the Links folder, create a txt text, write in: path=extplugins/custom file name, note is "/" instead of "\", and then the text file named "Custom file name. Link", note that the full name is "custom file name. Link", Instead of "Custom file name. link.txt", OK, start Eclipse, click Window->preferences in the menu bar, in the popup dialog, look at the left navigation bar, if there is your plugin name, such as "Custom file name", Congratulations on your plugin installation success!

Third Kind

Third: Plug-in installation method using Eclipse's own graphical interface: Select Help > Software Updates > Manager Configuration
Select Add > Extension location to 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,
That's right. The file under the Eclipse installation directory is on the past! Only have such a file on it, 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 ... , enable or disable the plugin.
Third, other additions:

1. Plugins can be installed in multiple custom directories.

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 will take effect.

6. There can also be 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 the plugin is not visible after installation, remove the configuration/org.eclipse.update/directory from the Eclipse installation directory and restart Eclipse.

tools-eclipse-001-How to install plugins

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.