Keep Eclipse's neat, use the link directory method!

xiaoxiao2021-03-06  64

The Eclipse plugin uses the Links directory usage: Suppose the plugin is installed in the D: / MyPlugin directory, then MyPlugin's directory structure must be like this: D: / myplugin / eclipse / plugins / ** and d: / myplugin / eclipse / features / ** For example, install the EclipseMe plug-in to the D: / myplugin directory, the directory structure is D: /Myplugin/eclipse/plugins/eclipseme_0.4.5. Suppose Eclipse is installed in the D: / Eclipse directory, create a directory named links in the Eclipse directory, create a link file in the links directory, such as MyPlugin.Link, the file content is path = d: / myplugin. Start Eclipse, you can open the Windows-> Preference View the installation of the plugin, if you want to temporarily do not start the plugin, just remove myplugin.link files. Supplementary description: 1. The plugin can be installed in multiple custom directory separately. 2. A custom directory can install multiple plugins. 3. The file name and extension of the Link file can take any name, such as myplugin.txt, goodplugin. 4. The LINK file can have multiple line PATH = plug-in directories, corresponding to multiple custom plug-in directories, each line's Path parameter will take effect. 5. There are also multiple link files in the Links directory, and the PATH parameters in each Link file will take effect. 6. The plug-in directory can use relative paths, if we create myPlugin directory in the Eclipse installation directory, as in the D: / Eclipse directory in the above example, simply set PATH = MyPlugin.

转载请注明原文地址:https://www.9cbs.com/read-112215.html

New Post(0)