What are some useful shortcuts in Eclipse?
-
possible duplicate of [Hidden features of Eclipse](http://stackoverflow.com/questions/54886/hidden-features-of-eclipse) – dogbane Jul 29 '11 at 12:39
-
too open of a question. please read the faq. http://stackoverflow.com/faq – Daniel A. White Jul 29 '11 at 12:40
-
sorry about the mistake guys. – Valter Silva Jul 29 '11 at 13:15
6 Answers
I love editing ones.
Ctrl + Shift + M
= Add import
Ctrl + Shift + F
= Reformat (the best)
Ctrl + Shift + O
= Organize Imports
Ctrl + /
= Comment
Ctrl + \
= UnComment
Ctrl + I
= Correct indentation
Also this ones handy.
F3
= Goto declaration
A Whole List can be found here --> Eclipse Shortcuts

- 5,348
- 5
- 40
- 70
Ones I use most often
Ctrl + space auto complete.
Ctrl + / to comment a line/block
sysout to expand to system.out.println();
syserr to expand to system.err.println();
F3 for go to declaration
F4 to display hierachy
and select text and press Ctrl + Arrow UP/down, try it

- 1,141
- 13
- 25
Some of My favorite shortcuts :
1) ctrl + Shift + R //Open Resource
2) ctrl + Shift + / and \ //For Add Block and Remove Comment.
3) ctrl + Shift + O //For Auto import of packages.
4)ctrl + 7 //For inline comments.
5)Ctrl + Shift + F // Reformatting
6)ctrl + Space //Off course for intelligence

- 10,567
- 8
- 45
- 57
ctrl + shift + / to minimize all folding block.
ctrl + shift + * to expand all folding blocks.
Of course you have to have folding enabled :D

- 17,276
- 8
- 37
- 62
This picture short cut for Eclipse will helps.It gathers most of short cuts in Eclipse in categories.Certainly it has what your want.

- 216
- 2
- 11