Special Java Shortcuts


Table 25: Java-only shortcuts
Press
To
CTRL+SPACE
Open the Java code completion list box with matching entries. (Press TAB to enter the longest common substring. Press ENTER to complete the word and close the list box.)
ALT+u then g
Prefix the identifier with get
ALT+u then s
Prefix the identifier with set
ALT+u then i
Prefix the identifier with is
ALT+g
Go to the variable declaration. For this shortcut to work properly, the source file must be in a directory mounted in Filesystems, and the parser database must be updated for that source.
ALT+o
Open the source based on where the insertion point is. For this shortcut to work properly, the source file must be in a directory mounted in Filesystems, and the parser database must be updated for that source.
ALT+F1
Open the web browser on the Javadoc file pertaining to the item that the insertion point is on. For this shortcut to work properly, the source file must be in a directory mounted in Filesystems, and the parser database must be updated for that source. In addition, the Javadoc documentation for that source must be mounted under the Javadoc tab in the Explorer.
CTRL+SHIFT+t
Comment out the current line or selected lines of code.
CTRL+SHIFT+d
Remove comment from the current line or selected lines.

Contents Prev Next Index