About Eclipse

Eclipse

Outline

  Eclipse was developed by IBM in an open source, Java-based extensible development platform. Most beginners choose Eclipse is Java Java IDE (Integrated Development Environment, IDE) used.

installation

  To the official website to download the appropriate version of the archive and extract it to a local can be used. Eclipse's official website: http://www.eclipse.org/ , Eclipse is currently the latest version is 4.11.0.

  

Configuration

  For starters, Java, Eclipse usual configuration items are:

Configuring JRE

  1. Select the menu Window - Preferences, then will pop up a window Preferences

  

  2. Select Java - Installed JREs

  

  3. Click Add to add, then it will pop up a window Add JRE

  4. Select Standard VM can click Next to enter the next step
  

  5.JRE home items filled jre directory path, JRE name entries to fill a logo, click Finish

  

Set the font

  1. Select the menu Window - Preferences, then will pop up a window Preferences

  

  2.选择General--Appearance--Colors and Fonts

  

  3. Select Basic - Text Font

  

  4. Click the Edit window will pop up a font, you can select the font, font style, font size and other settings, and click OK

  

Settings shortcut

  1. Select the menu Window - Perspective - Customize Perspective, will pop up a window Customize Perspective

  

  2. Select Shortcuts can set New, Show View and Open Perspective menu shortcuts

  

hot key

  Eclipse shortcut keys used are:

  • Alt + /: code hints
  • Alt + ↑: current line and the previous line to exchange positions
  • Alt + ↓: the current line and the next exchange position
  • Ctrl + Alt + ↑: Copy the current line to the previous line
  • Ctrl + Alt + ↓: Copy the current line to the next line
  • Ctrl + 1: Quick Fix
  • Ctrl+Shift+O:增删import语句
  • Ctrl+D:删除当前行
  • Ctrl+/:单行注释(再按取消单行注释)
  • Ctrl+Shift+/:多行注释
  • Ctrl+Shift+\:取消多行注释
  • Ctrl+F:查找、替换
  • Ctrl+Shift+F:格式化
  • Ctrl+L:跳转到指定行
  • Ctrl+Shift+L:显示快捷键列表
  • Ctrl+T:快速显示当前类的继承结构
  • Ctrl+Shift+T:搜索类

Guess you like

Origin www.cnblogs.com/lqkStudy/p/10961596.html