Eclipse installation, Chinese localization and installation of plug-ins

The previous article shared the installation and configuration of J2E and Java environment configuration . In this article, I will share how to install and configure our common Java tool Eclipse, as well as the installation of plug-ins.

1. Download eclipse from the official website:

 http://www.eclipse.org/downloads/eclipse-packages/ Select "Eclipse IDE for Java Developers" to determine whether it is 64bit or 32; 

Or download the recommended version directly from http://www.eclipse.org/downloads/ .



2. Download and install. This installation directory is customized and the files are not large.

Note : It is best not to have Chinese in the installation directory, and there should be no spaces in the directory.

When installing, it prompts that there is no java environment, please download the jdkJDK of sun (Oracle), which is an environment package for both development and operation.

JRE is a real-time runtime environment package, which only runs without a development environment

The development environment also needs to configure java in the .path. In the previous article, I talked about how to configure the Java runtime environment.

It will start automatically after the installation is complete.

————————————————————————————————————————————————————————————————————————————————————————————

Eclipse Chinese Chinese:

Article descriptionhttp: 
//jingyan.baidu.com/article/4b07be3cb1864e48b380f315.html

The relevant Chinese package is downloaded here: Click to enter the download address .

After confirming that eclipse is installed correctly, perform the Chinese steps:

method 1:
  • Click add in the menu bar help -> install new software…, a dialog box will pop up, write freely in the name, and enter the download package of the corresponding version in the location. 
  • Download the package at http://www.eclipse.org/babel/downloads.phpSelect the corresponding version on the page, such as "Neon | Mars | Luna", mine is Neon 4.6, then write the corresponding url in the location, which address is copied here, whether it is a page list, or after clicking to select Chinese, I I don't know, I can't do it anyway.
  • Then click ok, after the page appears pending, the software retrieves the list of language packages, pull down the vertical scroll bar, select the Chinese Simplified (Simplified Chinese) package under "for eclipse", and click the "next" button to enter the next step. 
  • Then, a dialog box pops up, click the "next" button to enter the next page, check the first "I accept..." radio box, and click the "Finish" button to complete the setting.
  • Finally, the "Installing" window pops up. After waiting for a while, the user clicks the "OK" button in the pop-up "Security Warning" window, and then clicks the "Restart Now" button in the pop-up "Software Updates" window to complete. Install the language pack and restart eclipse.

Method 2:

  • Directly from the eclipse language pack download interface ( http://www.eclipse.org/babel/downloads.php ) to find the corresponding version such as "Neon | Mars | Luna",
  • Click on Neon to jump to http://download.eclipse.org/technology/babel/babel_language_packs/R0.14.0/neon/neon.php ,
  • Then click "Chinese (Simplified)" in the interface or go directly to the list package location,
  • Download the corresponding package BabelLanguagePack-eclipse-zh_4.6.0.v20160813060001.zip (86.42%), the list package contains translations of different plugins.
  • Unzip the downloaded zip package, in the obtained eclipse folder, copy the feature and plugins folders to the dropins folder in the eclipse installation directory, restart eclipse to see the Chinese version. 
  • Note that it must be the dropins folder, and English can be restored after deletion.
  • How to set encoding?

    Uniformly set to utf-8 encoding, Window->Preferences->General->Workspace->Text file encoding->Other->UTF-8.



How can I try to add the Chinese package after installing eclipse normally?

You can click add in the menu bar help -> install new software…, a dialog box will pop up, write freely in the name, and enter the download package of the corresponding version in the location.

The method is explained in detail.

————————————————————————————————————————————————————

Getting started with Eclipse:

   

Eclipse shortcut keys (most practical)

  • Java programming must have classes, there must be a static void main(sting agrs[]) function
  • Type syso, then press alt+/ to get system.out.print()
  • ctrl + o to see outline
  • ctrl + t to see type
  • ctrl + shift + t to see outline
  • ctrl + h
  • ctrl + shift + h to see who called
  • ctrl + shift + r
  • F3 is the same as crtl + left click, view the declaration
  • ctrl + m to maximize the editing interface
  • ctrl + shift + f to format
  • ctrl + alt + up to copy a line
  • ctrl + alt + down to copy a line
  • Ctrl + 1 (quick fix)
  • Ctrl + D (delete current line)
  • Ctrl + Alt + ↓ (copy current line to next line)
  • Alt + / 或者说是 Ctrl + 空格(由于后者与输入法的快捷键冲突,所以,我一般都用前者) 作用:快速插入。
  • Alt+Shift+R 重命名非常好用或选中目标按F2。
  • 更多快捷键

____________________________________________________________________________________________________

eclipse插件安装:

    

    怎样查看eclipse都安装了哪些插件,哪些功能?

打开eclipse的主页,点击【help】菜单点击【AboutEclipse】选项。
(1)上方显示的是是eclipse的版本信息。
(2)点击【InstallationDetails】按钮,查看安装详细。在【InstalledSoftware】标签页,可以看到您安装的全部软件后可以看到。

安装SVN插件的教程:点击这里。

安装maven插件教程:点击这里。

转载他人的分享,望采纳。


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324600537&siteId=291194637