Sunday, December 4, 2011

Eclipse Shortcuts

CTRL + D
Delete row. No need to grab the mouse and select the line. simple press ctrl + d to delete the row.
ALT + SHIFT + N
Open the dailog box, which allow to create new package/class/Project ... etc.


ALT + UP/Down arrow
Very useful at the time of rearranging the code. move up/down the selected row(code).

ALT + Left/Right arrow
Move the last location you edited. Imagine you just created a class Test1, and now you are working on a class Test2. Now, if you need to look at the Test1 class, just press Alt+Left arrow. Alt + Right arrow brings you back to Test2.


CTRL + SHIFT + R
This shortcut opens a dialog box that accepts the name of the file you're looking for. It accepts wildcard characters. Typing *.java will give you the list of all files that ends with .java.

CTRL + SHIFT + T
This will give the list of files(a class, an interface) which are present in packages ( don't have the source files in workspace, only have the class files ).


CTRL + O
which gives you a list of methods in file that match what you've typed


CTRL + E
Go to the open editors.

CTRL + T
Get the dialog box, which toggles between supertypes and subtypes.

CTRL + L : Go to Line


CTRL + SHIFT + O
It resolves the import issues

F3 : Jump to definition of methods

CTRL + 3 (Most useful shortcut )
Quick Access (Ctrl + 3) is your window to anything. perspectives, views, open editors, commands, menus ... just press ctrl + 3 and start typing, and it will show you the possible matches.




No comments:

Post a Comment