Eclipse plugin installation methods
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-in packages are generally in the following two forms
Two eclipse plug-ins are recommended to demonstrate how to install them.
Eclipse plug-ins can be installed in the following ways:
Method 1: Direct Replication
As the name suggests, the direct copy method is to directly copy the plug-in to the corresponding eclipse folder. Is it very convenient. Decompress the downloaded phpeclipse folder, open the phpeclipse folder, and copy the features and plugins files to the features and plugins under the corresponding folder under eclipse respectively, just put the jar package into plugins and restart eclipse. This method is good, but it is not convenient to manage. If there are more and more plug-ins in the future, you will not be able to delete the original plug-ins.
Note: Directly decompress the plug-in package to the plugins folder and restart eclipse. New plug-ins may not be loaded.
The solution on the internet is:
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
Another method of eclipse is to check whether there is a links folder in the eclipse directory and whether there are any files in it (this file has no special requirements on the file name and extension, you can *. link ,*. txt, or a file without an extension). If yes, load the eclipse plug-in the path of the file.
Step 1: plan and install the plug-in Directory
Plan a directory on the computer to store the eclipse plug-in. It is recommended that you plan it under the eclipse directory to facilitate future migration and copying, because eclipse is green. Free of installation and free copy. Here, we plan a directory for storing our favorite plug-ins. The file name can be started as needed. The plug-in directory is called myplugins.
%eclipse_home%\myplugins
Step 2: extract the plug-in to myplugins
2.Because the easyplorer plug-in only has one jar package, its directory structure is
myplugins/ |-easyplorer/ |-eclipse/ |-plugins/ |-*.jar
Note: If there is only one jar package, you only need to create a new plugins and put it under plugins.
Step 3: configure the link file
Set link files in two ways
Phpeclipse. link
path=myplugins\\phpeclipse
Easyexplorer. link
path=myplugins\\easyplorer
Or write data in myplugins. link.
path=myplugins\\easyplorerpath=myplugins\\phpeclipse
Here the format is path = plug-in path, so that the write is relative path, relative to eclipse. ext can also be an absolute path. If your plug-in storage path is not in eclipse, for example, you put all the plug-ins under d: \ soft \ eclipse_plugins.
Path = d: \ soft \ eclipse_plugins \ easyplorer two \ are escape characters. You can also write path = d:/soft/eclipse_plugins/easyplorer
After writing, the file structure is similar to the following:
eclipse/ |-links/ |-phpeclipse.link|-easyplorer.link
After installing the plug-in, restart the plug-in to see the installed plug-ins. This is more difficult than the first plug-in installation method, but it is convenient to maintain your own plug-ins. If you want to cancel those plug-ins, you only need to delete the link file.
Note:
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 myplugin.txt and goodplugin.
4. The link file can have multiple lines of path = plug-in Directory, which corresponds to multiple custom plug-in directories. The path parameter of each line will take effect.
5. There can also be multiple link files in the links directory, and the path parameter in each link file will take effect.
6. You can use relative paths or absolute paths in the plug-in directory.
Third: Install plug-ins using the eclipse built-in graphical interface
Open eclipse. Kobayashi's eclipse version is juno. If you cannot find the corresponding location, google it. Select Help> Install New Sofeware> Add
Enter a Name in the Name field. You can set the Name as needed to facilitate maintenance, such as phpeclipse.
Find the address of the plug-in compressed package in Location, click OK, and then install the plug-in by clicking Next ..
The location here can be either a compressed package on your computer or an online installation and update website. For example, the phpeclipse website is
Http://phpeclipse.sourceforge.net/update/nightly/just paste this address near location.
Fourth: Install the eclipse store
Use the online plug-in store of eclipse (which is available in juno and not available in other versions). Choose Help> Eclipse Marketplace> enter the plug-in you want to install in the search box and click install. This method is the simplest. It is the most foolish.
Fifth: (eclipse 3.5 and later)
There is a dropins folder under the root directory of eclipse installation. Unzip the plug-in downloaded from the internet and put it directly in this directory.
Ah, the times are improving. It's easy.