NetBeans IDE 7.0 Keyboard Shortcuts

Finding, Searching, and Replacing

Shortcut Description
Ctrl-F3 Search word at insert point
F3/Shift-F3 Find next/previous in file
Ctrl-F/H Find/Replace in file
Alt-F7 Find usages
Ctrl-Shift-F/H Find/replace in projects
Alt-Shift-U Find usages results
Alt-Shift-H Turn off search result highlights
Ctrl-R Rename
Ctrl-U, then U Convert selection to uppercase
Ctrl-U, then L Convert selection to lowercase
Ctrl-U, then S Toggle case of selection
Ctrl-Shift-V Paste formatted
Ctrl-I Jump to quick search field

Navigating through Source Code

Shortcut Description
Ctrl-O/Alt-Shift-O Go to type/file
Ctrl-Shift-T Go to JUnit test
Alt-O Go to source
Ctrl-B Go to declaration
Ctrl-G Go to line
Ctrl-Shift-M Toggle add/remove bookmark
Ctrl-Shift-Period/Comma Next/previous bookmark
Ctrl-Period/Comma Next/previous usage/compile error
Ctrl-Shift-1/2/3 Select in Projects/Files/Favorites
Ctrl-[ Move caret to matching bracket
Ctrl-K/Ctrl-Shift K Next/previous word match
Alt-Left/Alt-Right/Ctrl-Q Go backward/forward/to last edit
Alt Up/Down Next/previous marked occurrence

Coding in Java

Shortcut Description
Alt-Insert Generate Code
Ctrl-Shift-I Fix all class imports
Alt-Shift-I Fix selected class's import
Alt-Shift-F Format selection
Alt-Shift Left/Right/Up/Down Shift lines left/right/up/down
Ctrl-Shift-Up/D Copy lines up/down
Ctrl/Alt-F12 Inspect members/hierarchy
Ctrl-/ Add/remove comment lines
Ctrl-E Delete current line

Coding in C/C++

Shortcut Description
Alt-Shift-C Go to declaration
Ctrl-F9 Evaluate expression

Coding in Ruby

Shortcut Description
Ctrl-Shift-A Jump Rails action > view
Alt-Shift-Period/Comma Select Next/Previous element
Ctrl-Shift-Space Show documentation
Ctrl-Shift-T Jump from test file to file

Compiling, Testing, and Running

Shortcut Description
F9 Compile package/ file
F11 Build main project
Shift-F11 Clean & build main project
Ctrl-Q Set request parameters
Ctrl-Shift-U Create JUnit test
Ctrl-F6/Alt-F6 Run JUnit test on file/project
F6/Shift-F6 Run main project/file

Opening and Toggling between Views

Shortcut Description
Ctrl-Tab (Ctrl-`) Toggle between open documents
Shift-Escape Maximize window (toggle)
Ctrl-F4/Ctrl-W Close currently selected window
Ctrl-Shift-F4 Close all windows
Shift-F10 Open contextual menu
Alt-Shift-D Undock window

Debugging

Shortcut Description
Ctrl-F5 Start debugging main project
Ctrl-Shift-F5 Start debugging current file
Ctrl-Shift-F6 Start debugging test for file(JUnit)
Shift-F5/F5 Stop/Continue debugging session
F4 Run to cursor location in file
F7/F8 Step into/over
Ctrl-F7 Step out
Ctrl-Alt-Up Go to called method
Ctrl-Alt-Down Go to calling method
Ctrl-F9 Evaluate expression
Ctrl-F8 Toggle breakpoint
Ctrl-Shift-F8 New breakpoint
Ctrl-Shift-F7 New watch

hope you found it helpful...... :)

Ebook Download
View all
Learn
View all