This tutorial lists the most useful shortcuts.
Beginner
CTRL-N
: creates a new projectCTRL-S
: saves the current projectCTRL-L
: loads a projectCTRL-,
: opens the Preferences
windowNOTE: On Mac OS X
CTRL
must be replaced with the ⌘ key
CTRL-ALT-V
: shows the Manage Versions
windowCTRL-SPACE
: shows the Manage Components
windowCTRL-ALT-N
: creates a new visual componentSHIFT-ENTER
: compile codeCTRL-ALT-SPACE
: request auto-completionCTRL-F
: search & replace (replace CTRL
with ⌘ on Mac OS X)CTRL-D
: comment selected code linesCTRL-T
: uncomment selected code linesCTRL-C
: copy selected text (replace CTRL
with ⌘ on Mac OS X)CTRL-V
: paste text from system clipboard to the editor (replace CTRL
with ⌘ on Mac OS X)CTRL-X
: cut selected text (replace CTRL
with ⌘ on Mac OS X)Code templates are activated by typing the short form, e.g., sout
followed by CTRL-ALT-SPACE
. Currently,
the following code templates are avialiable:
sout
: System.out.println()
fori
: for (int i = 0; i < n; i++) {
(also works with j
, k
, x
, y
, z
, t
)
pinf
: @ParamInfo(name="", style="default", options="")
pginf
: @ParamGroupInfo(group="default|true|no description")
minf
: @MethodInfo(name="", valueName="", valueStyle="default", valueOptions="")
cinf
: @ComponentInfo(name="NAME", category="Custom")
oinf
: @ObjectInfo(name="NAME")
–