How to install the plug-in eclipse?

Source: Internet
Author: User

Eclipse plug-ins can be installed in the following ways:
First: Copy directly: assume that your Eclipse plug-in is in (c: \ eclipse), decompress the Eclipse plug-in you downloaded or install the Eclipse plug-in to the specified directory AA (C: \ aa) folder to open the AA folder. The AA folder contains two folders: Features and Plugins. Then, copy the files in the two folders to the features folder under eclipse.
And plugins, it is the most direct and stupid way to copy plug-in files directly to the eclipse directory! It will be very difficult to delete these plug-ins in the future! It is not recommended to use strong columns !!

Note: directly decompress the plug-in package to the plugins folder and restart eclipse. New plug-ins may not be loaded.


Solution:
1. Open the command line, go to the current eclipse directory, enter eclipse-clean, and restart eclipse. In this way, a new plug-in will be added to eclipse.

2. If the plug-in cannot improve efficiency, delete the eclipse \ Configuration \ org. Eclipse. Update directory and then start eclipse :)


You can see the newly installed plug-ins in the eclipse menu "help" --> "about eclipse SDK" --> "feature details" and "plug-in details.

Second (I am using this method ):

The downloaded plug-ins may take the following forms:

The first is a separate JAR file, the second is the plugins and features folders, and the third is a separate eclipse file folder.

Links Installation Method: (strong push)
1. Preparations
If the plug-in is a separate JAR file, you need to do three things,
First create a plugins folder and put the JAR file into it,
Create an eclipse folder and put Plugins in it,
Finally, for example, if you download a plug-in named wbpro, you need to create a wbpro folder.
Put the eclipse folder in it. (You do not have to name it wbpro. You can use another name,
For example, AAA and BB. Note: You can skip this sentence first ). Well, the plug-in structure is outlined as follows:
Wbpro/Eclipse/plugins/**. Jar

If the plug-in is a plugins and features folder (or only the plugins folder ),
Create a folder named eclipse and put the above two folders into it,
Create a folder named wbpro and put the eclipse folder in it. The general structure of the plug-in is as follows:
Under: wbpro/Eclipse/{plugins, features} if the plug-in is an eclipse folder, Please create
A wbpro folder where eclipse is put. The plug-in structure is as follows: wbpro/eclipse

2. Start Installation
Find your eclipse and create two folders under it. One is extplugins and the other is links. The structure is as follows:
Under {Eclipse/extplugins, links },
Put the wbpro plug-in you just created into extplugins,
Create a TXT text in the links folder and write: Path = extplugins/wbpro in it. Note:
It means "/" instead of "\". Name the text file wbpro. Link. Note that the full name is wbpro. Link,
Instead of wbpro.link.txt,
Now, start eclipse and click WINDOW> preferences in the menu bar. In the displayed dialog box, check the left

If your plug-in name, such as wbpro, is in the navigation bar, congratulations!


Third:
Install the plug-in on the eclipse Gui: Choose Help> Software Updates> Manager Configuration
Select Add> extension location to find the directory where you want to install the plug-in.
If you use the 3rd method, the file. eclipseextension must exist in the eclipse directory. If your plug-in does not have this file,
You just need to rely on the file in the eclipse installation directory! Only such a file is available, and the content is useless, mainly for some version information! For example:
Id = org. Eclipse. Platform name = eclipse Platform
Version = 3.1.1

-------------- Plug-in management --------------------
Start eclipse and choose help> Software Updates> Manage configuration... , Or

Disable the plug-in.
Iii. Other supplements:
1. Plug-ins can be installed in multiple custom directories.
2. Multiple plug-ins can be installed in a custom directory.
3. The file name and extension name of The Link file can be any name, such as rse.txt and myplugin.
4. In the link file, Path = the path of the plug-in directory must be \ or/
5. The link file can have multiple rows of Path = plug-in Directory, which corresponds to multiple custom plug-in directories. The path parameter for each row
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 create a subdirectory in the links directory to transfer unused plug-ins to this subdirectory.
Start eclipse.
9. If you cannot see the plug-in after installation
Delete the configuration/org. Eclipse. Update/directory and restart eclipse.

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.