Java

eclipse use

GOD03219 2017. 12. 26. 15:20

step 1. Creating a project

 

File - New - Project

 

step 2.  Creating a class in the project

 

Class names usually start with an uppercase letter.

 

<Setting>

 

* At the upper right side is Open Perspective icon -> you can check Views which are useful in developing projects.

 

* Font edition : Window - Preferences - General - Appearance

 

* When you accidentally close a important menu like Package Explorer,  Window - Show View - Package Explorer

 

<Keyboard shortcut>

 

* Auto alignment key : Ctrl+Shift+f

 

* Debug : f11

 

* Content assist : Ctrl + Space bar

 ex) System.out.println(); keyboard shortcut : "syso" + Ctrl + spacebar + enter

 

* Annotation key : Ctrl+Shift+/

 

* Remove annotation : Ctrl+Shift+\

 

* Font size control : Ctrl+'+' and Ctrl +'-'

 

* Remove a line : Ctrl + d