Sunday 21 December 2014

Important Eclipse Keyboard Shortcuts For Java Programmer


Here I am listing some basic and important eclipse keyboard shortcuts that every programmer should use while developing any application

The benefit of using shortcuts is it helps you to develop your application faster.

The list of shortcuts are as follows:

Ctrl+N                                                
Create New Project
Ctrl+Shift+R                                      
Open Resource (Java files,other files,folder,projects)
Ctrl+W                                                
Close Current Opened File.
Ctrl+Shift+W                                      
Close All Files
F5                                                        
Refresh


Ctrl+C                                                
Copy Some text or line.
Ctrl+V                                                
Paste text or line.
Ctrl+X                                                
Cut text or line
Ctrl+Z                                                
Undo Last Action
Ctrl+Y                                                
Redo Last Action
Ctrl+F                                                  
Open find and replace dialog to find any word or strings of words.
Ctrl+H                                                
Search Entire Workspace for file,words etc
Ctrl+Shift+O                                      
Organize all imports and remove unnecessary imports
Ctrl+A                                                
Select all text in class
Ctrl+I
Correct indention of selected text or of current line or whole class
Ctrl+Shift+F
Format all code in class
Ctrl+/
Comment / un-comment line
Ctrl+Shift+/
Add Block Comment around selection
Ctrl+Shift+\
Remove Block Comment
Ctrl+S                                                  
Save Current File.
Ctrl+Shift+S                                        
Save All Files. 



Important Debug shortcuts :

F11
Debug                                                                       
F5
Step Inside the function
F6
Next step(line by line)
F7
Step out of the function
F8
Skip to next breakpoint



No comments:

Post a Comment