[Java] Convenient shortcut in Eclipse – Keyboard shortcuts in Eclipse
Some commonly used shortcuts in Eclipse, help operations much faster than using the Menu
Ctrl + B : build project
Ctrl + D : remove the line containing the cursor in (usually when there are too many blank lines, I want to pull the code to look for beautiful gathered Beauty)
Everything + arrow up / down : move the current line up / down
Ctrl + F : search string in class
Ctrl + H : open fast search screen
Ctrl + The : Quick jump to 1 function in class
Ctrl + And : Quick jump to 1 tab of all open tabs (opening size on 10 How this tab tabs much quicker detection)
Ctrl + The : close the current tab
Ctrl + Shift + The : close all open tabs (in the case of multiple tabs so byebye)
Everything + Arrow left / right : jump over the tab on the left / right
Shift + Tab : the opposite effect with the Tab key byebye
Ctrl + Shift + The : automatically import the missing packages, or manually delete the unused package (it makes a turn always, inexpensive, each package must import Adore)
Ctrl + Shift + C : comment, uncomment một đoạn code
Ctrl + Shift + F : format the code as standard -> Adore it look beautiful
Everything + Shift + S, The : overrides or implements a function
Everything + Shift + S, The : overrides or implements a function
Everything + Shift + S, R : create getter function, setter for the class field
Everything + Shift + S, C : created by the constructor override superclass constructor
Everything + Shift + S, The : created by the constructor of the class field
you ask yourself in eclipse how to knock off this so?
1. public static void main(String[] args) {}
2.System.out.println(” “);
1. main -> ctrl + space
2. Sysoev - & gt; ctrl + space