# Workshop Keyboard Shortcuts

## Common

F1 | Show help for the selected item
Ctrl-Space | Code completion: show parameters of current method
Alt-Enter | Code completion: accept automatic code completion suggestion
Alt-F12 | Open Java class search dialog
Ctrl-Shift-F | Open Find in Files dialog
F12 | Go to declaration of the current Java class or method
Ctrl-F5 | Start current document with debugging
Ctrl-F10 | Start current document without debugging
Ctrl-Shift-S | Start WebLogic Server
Ctrl-Shift-T | Stop Weblogic Server

## General

F1 | Show help for the selected item
Ctrl-N | New file
Ctrl-O | Open file
Ctrl-F4 | Close file
Ctrl-S | Save all files
Ctrl-Shift-A | Save all files
Ctrl-Z | Undo
Ctrl-Y | Redo
Ctrl-Shift-Z | Redo
Alt-Shift-Backspace | Redo
Ctrl-C | Copy
Ctrl-Insert | Copy
Shift-Delete | Cut
Ctrl-X | Cut
Shift-Insert | Paste
Ctrl-V | Paste
Ctrl-Tab | Toggle through open documents
Ctrl-Shift-Tab | Toggle through open documents backwards
Ctrl-L | Open local symbols search dialog
Alt-F12 | Open Java class search dialog
Ctrl-Shift-F | Open Find in Files dialog
F7 | Build application
Alt-Arrow Right | Show next view tab (Design View, Source View, etc.)
Alt-Arrow Left | Show previous view tab (Design View, Source View, etc.)
Alt-, | Show previous open document
Ctrl-Alt-Arrow Left | Show previous open document
Alt-. | Show next open document
Ctrl-Alt-Arrow Right | Show next open document
Shift-F12 | Shift focus to Application tab
Ctrl-F12 | Shift focus to Files tab
Alt-Enter | Show Properties Editor, Toggle through individual properties
Ctrl-Shift-N | Next item on Output tab
Ctrl-Shift-P | Previous item on Output tab
Delete | Delete
Ctrl-D | Delete
Ctrl-P | Print

## Source View

Note: adding Shift to many of the cursor movement keyboard shortcuts adds text selection.

Alt-Enter | Code completion: accept automatic code completion suggestion
Ctrl-Space | Code completion: show parameters of current method
Ctrl-F | Show find dialog
Ctrl-R | Show replace dialog
Ctrl-H | Show replace dialog
Ctrl-G | Show go to line number dialog
Tab | Indent selected text
Shift-Tab | Unindent selected text
F3 | Find next
Shift-F3 | Find previous
Ctrl-F3 | Go to next occurrence of selected text
Ctrl-Shift-F3 | Go to previous occurrence of selected text
Ctrl-Numpad + | Expand collapsed lines
Ctrl-Numpad - | Collapse expanded lines
F12 | Go to declaration of the current Java class or method
Ctrl-Alt-Down Arrow | Go to next Java member
Ctrl-Alt-Up | Go to previous Java member
Escape | Close current dialog
Ctrl-A | Select all
F2 | Bookmark: go to next
Shift-F2 | Bookmark: go to previous
Ctrl-F2 | Bookmark: toggle
Ctrl-[ | Move cursor to matching brace
Ctrl-] | Move cursor to matching brace
Ctrl-Home | Move cursor to the beginning of the file
Ctrl-End | Move cursor to the end of the file
Ctrl-Arrow Right | Move to the next word
Ctrl-Arrow Left | Move to the previous word
Ctrl-Arrow Up | Scroll up without changing cursor position
Ctrl-Arrow Down | Scroll down without changing cursor position

## Debugging

Alt-F9 | Create breakpoint
Ctrl-F9 | Clear all breakpoints
Ctrl-B | Enable all breakpoints
Ctrl-Shift-B | Disable all breakpoints
F9 | Toggle breakpoint
F11 | Step into
F10 | Step over
Shift-F11 | Step out
F5 | Continue
Alt-F5 | Pause
Shift-F5 | Stop
Shift-F10 | Run to cursor
Ctrl-F5 | Start current document with debugging
Ctrl-F10 | Start current document without debugging
Ctrl-Shift-, | Next stack frame
Ctrl-Shift-. | Previous stack frame
Ctrl-Alt-1 | Show Breakpoints tab
Ctrl-Alt-2 | Show Locals tab
Ctrl-Alt-3 | Show Watches tab
Ctrl-Alt-4 | Show Callstack tab
Ctrl-Alt-5 | Show Threads tab
Ctrl-Alt-6 | Show Immediates tab

## JSP Designer

Ctrl-Shift-S | Toggle show scripts
Ctrl-Shift-O | Toggle show table borders

## Source Control

Ctrl-E | Open the current file for editing in Perforce (if Perforce is selected as your source control system)

## Setting Focus

Alt-0 | Output tab
Alt-1 | Application tab
Shift-F12 | Application tab
Alt-2 | Files tab
Ctrl-F12 | Files tab
Alt-3 | Find tab
Alt-4 | Main work area
Alt-5 | Build tab
Alt-6 | Property Editor tab
Alt-7 | Document Structure tab
Alt-8 | Palette tab
Alt-9 | Data Palette tab
Ctrl-Alt-0 | Streams tab
Ctrl-Alt-1 | Breakpoints tab
Ctrl-Alt-2 | Locals tab
Ctrl-Alt-3 | Watches tab
Ctrl-Alt-4 | Callstack tab
Ctrl-Alt-5 | Threads tab
Ctrl-Alt-6 | Immediates tab

## Portal

Ctrl-Shift-F10 | Brings up right-click menus in the Portal and Portlet Designers.