2012/11/30

Useful shortcut keys in Eclipse

I have been learning Java language. Java is one of the popular static language. Static languages have a rigid interface on many aspects. Unlike dynamic languages, like Javasctipt, Ruby and Perl, this rigidness decrease misunderstandings on a complicated system. And we are able to take advantage of this characteristics by using IDE (Integrated Development Environment).
I have been using Eclipse Juno and found that it makes me more productive when I use shortcut keys.
Following are some of the shortcut keys:

Java Editing

1. Content Assist (Ctrl + Space)
2. Quick Assist (Ctrl + 2)
3. Organize Imports (Ctrl + Shift + O)
4. Format (Ctrl + Shift + F)
5. Toggle comment (Ctrl + 7)
6. Quick Fix (Ctrl + 1)
7. Move line up or down (Alt + Arrow)
8. Delete line (Ctrl + D)
9. Quick menu (Alt + Shift + S)

Find
1. Open call hierarchy (Ctrl + Alt + H)
2. Open declaration (Ctrl + Click)
3. Open Type (Ctrl + Shift + T)
4. Open Resource (Ctrl + Shift + R)
5. Go to Line (Ctrl + L)
6. Quick Outline (Ctrl + O)
7. Incremental Search (Ctrl + J)
8. Search (Ctrl + H)
9. Find/Replace (Ctrl + F)

Workspace navigation
1. Close Editor (Ctrl + W)
2. Switch Editor (Ctrl + E)

These are a part of huge amount of shortcut keys in Eclipse. Remember it and have a happy coding time.




No comments:

Post a Comment