Common Tips such as Eclipse plug-in installation

Eclipse use


1. Version selection

  The current website (http://www.eclipse.org/ide/) has the following versions:

  Choose a different installation version based on your development language, the type of development project, and the native operating system and machine bitness.

  
 For example, to develop JavaEE projects, Windows 64-bit,

'

 Download, unzip to the specified directory, double-click "Eclipse.exe" to start the IDE and create the corresponding project or file.

 

Tips:

(1) It is generally recommended to use the root directory of the working directory. If it is placed in a subdirectory, it is not recommended that the subdirectory use a Chinese name or a space in the directory name.

(2) Create a shortcut to the Eclilpse.exe file on the desktop.

 

2. Plugin installation

   In order to facilitate development, Eclipse provides a series of plug-ins to enrich IDE functions. In addition to plug-ins provided by IDE or third parties, users can also develop certain plug-ins according to their needs. Common plug-ins include code static check plug-ins such as findbugs, etc., code editing and viewing plug-ins, such as resource file editor recourseEditor, implementation, maven plug-ins, etc.

  

  There are many ways to install plug-ins, and it is necessary to facilitate installation and uninstallation. (PS, actually in development you don't need to uninstall plugins frequently).

 Method 1 : Copy the downloaded plug-ins to the two directories of eclipseIDE (features and plugins)

 For example, the downloaded plug-in AA.zip contains two directories, features and plugins, after decompression. Copy the files in these two directories to the corresponding features and plugins in the eclipse root directory. If the plugin only has jar files, you can put the jar files in the plugins directory.

 

     Tips: If the plugin cannot be loaded, use eclipse -clean to start it. (can be added in desktop shortcut)

  

 Method 2 : Use the link file to establish an association.

   新建目录%Eclipse%/customPlugins(自己定义),目录下面包含需要添加的插件比如 jad,findbugs等等 。

   新建目录%Eclipse%/links,目录下创建link文件,文件中指明插件的目录

    path=%eclipse%/customPlugins/jad

 

方法3:在Eclipse中安装。

方法4:从eclipse网站中直接拖拽安装

http://marketplace.eclipse.org/category/markets/tools/popular

比如如下插件Subclipse,点击托至eclipse中,即可安装。


 

3.常见问题
  (1)jad插件的安装

      下载jadClipse.jar,放在plugins目录下。重启IDE加载

      下载Jad.exe包,放在可执行路径下,比如C:\program files\jad\jad.exe

      Window->preference->jadClipse->配置好路径。

      出现“source not found”时,点击选择关联到jar包对应的source文件包上。 

     然后即可查看class文件的反编译代码了。

 

   (2)subversion在线安装connector失败,需要本地安装

     1)下载插件 网址:http://www.eclipse.org/subversive/

     为zip包,不需要解压。

     2)打开eclipse ->help->install New Software 

一路next安装

     

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326606465&siteId=291194637