aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse shortcut hotkeys in typing. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse shortcut hotkeys in typing." Watch "Eclipse shortcut hotkeys in typing." New topic
Author

Eclipse shortcut hotkeys in typing.

Marvin Porte
Greenhorn

Joined: Nov 11, 2012
Posts: 11
Hello everyone. I just want to learn some typing shortcuts that can be used while typing. All I knew ctrl + spacebar:

* type "sysout" then press ctrl + spacebar for System.out.println()
* type keywords then press ctrl + spacebar for suggested keywords etc.
* type a keyword then press ctrl + spacebar if you know that it needs to import a package. it will automatically imported.

I want to know other shortcuts like this to save some time typing. Thanks!
Wayan Saryada
Ranch Hand

Joined: Feb 05, 2004
Posts: 105

For sure you can see it when you are using the Eclipse IDE. There are shorcuts displayed for each menu in the IDE. You can also find it in Google, here is one example that I found when googling: Eclipse Shorcuts


Website: Learn Java by Examples
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
This discussion would fit better in our IDEs forum. Moving.
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3611
    
  60

Ctrl+spacebar also activates the code templates. I don't use Eclipse myself, but Google says you can view and modify them in Window->Preferences->Java->Editor->Templates.
James Boswell
Bartender

Joined: Nov 09, 2011
Posts: 1031
    
    5

Ctrl+Shift+t
List of classes available from open projects

Ctrl+Shift+r
List of resources available from open projects
dennis deems
Ranch Hand

Joined: Mar 12, 2011
Posts: 808
Ctrl + D
Deletes the current line. By far my most frequently used shortcut in Eclipse.

Ctrl + Up Arrow, Ctrl + Down Arrow
Moves the current line up or down. Also very frequently used.

Ctrl + /
Sets the current line to be a comment. This works as a toggle: if the current line is already commented, this shortcut un-comments it making it active code.

If you type all the upper-case letters in the name of a class, then press Ctrl + space, Eclipse will replace it with the name of the class. If you type only some of the upper case letters, such that more than one class can match, Eclipse will open a list and allow you to select the class you need.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse shortcut hotkeys in typing.