As one of the most popular open-source ides, one of the major advantages of eclipse lies in its numerous excellent plug-ins. A good plug-in can greatly improve our work efficiency. It is a required course to learn how to install the Eclipse plug-in. The following describes how to install the Eclipse plug-in.
Eclipse plug-ins can be installed in the following ways:
Method 1: Direct Replication
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 AA (C: \ aa) folder in the specified directory, and open the AA folder, the AA folder contains two folders: Features and Plugins. Then, copy the files in the two folders to the features and plugins under the corresponding folder in eclipse, generally, copying plug-in files directly to the eclipse directory is the most direct and stupid way! 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.
Method 2: Use the link file Method
A. Assume that your eclipse Is In (c: \ eclipse), under this folder, create such a directory structure (C: \ eclipse \ pluginseclipse \ jode \ eclipse ),
B. decompress the Eclipse plug-in you downloaded or install the Eclipse plug-in to the BB (C: \ bb) folder in the specified directory to open the BB folder, copy the features and plugins folders in the BB folder to the newly created eclipse (C: \ eclipse \ pluginseclipse \ jode \ eclipse,In this way, eclipse has two plug-ins under the directory features and Plugins.
C. create the links (C: \ eclipse) directory in the eclipse (C: \ eclipse \ links) directory, and create a text file with the link extension in the links directory, such as jode. link, the content is as follows Path = C:/Eclipse/pluginseclipse/jode or Path = c: \ eclipse \ pluginseclipse \ jode plug-in directory)
Restart the Eclipse plug-in to complete the installation.
Note: the path of Path = plug-in directory in the Link file must be \ or/
/Eclipse/links/jode. Link WebTools. Link updatemanager. Link ......
You can see the newly installed plug-ins in the eclipse menu "help" --> "about eclipse SDK" --> "feature details" and "plug-in details.
Third: Install plug-ins using the eclipse built-in graphical interface
Choose Help> Software Updates> Manager Configuration
Select Add> extension location to find the directory where you want to install the plug-in. Use eclipse's help-> softwareupdates->
Find and install... search for new features... enter the software installation address for installation. This method is strongly recommended.
You do not need to write the link file yourself!
Note: directory structure of the Eclipse plug-in
/Eclipse-plugins/Eclipse/. eclipseextension features/plugins/
All directories pointed to by method 2.3 refer to the "Eclipse" directory,
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
The above describes how to install the three Eclipse plug-ins.