Archive

Archive for October 31, 2010

Eclipse: An IDE of Java/J2EE and for many more

October 31, 2010 Leave a comment

Eclipse is among the most commonly used IDE for Java and java related development. For the beginners, who only want to do “Javac” and “Java” it seems to them bit confusing.

For now; I will summarize couple of hot keys of Eclipse which sometime are very handy for developers to get the job done smartly!

# 1: CONTROL + SPACE (Ctrl + space)

You will get the list of options available for you

 

#2: F3:

Open Declaration: Class/Method/Variable etc

 

#3: Ctrl-Shift-T

I really like this short key, atleast alot in enterprise project. Type the name which you are looking for.

 

#4: Ctrl+Shift+O

For organizing imports

 

#5: Ctrl+ (Hold the Ctrl and press he plus button)

For commenting the selection of lines; Ctrl and minus uncomment the selection.

 

#6: Ctrl+Shift+M:

“Import” will added automatically.

 

#7: ALT + down arrow key

Duplicate the line where cursor is.

 

#8: F4

Show the hierarchy

 

 

Reference:

http://www.allapplabs.com/eclipse/eclipse_shortcuts.htm

 

 

Categories: J2EE - Frameworks
Follow

Get every new post delivered to your Inbox.