NETBEANS Keyboard Shortcuts For Windows – {180+} Quick Shortcuts

NetBeans Shortcuts:

NetBeans is an integrated development environment that is used for developing applications. And also it is free and open-source software, compatible with Windows, Mac, Linux, and Solaris Operating Systems. Here we come up with the shortcuts for NetBeans, Let’s see them in the below lists.


NetBeans IDE
NetBeans IDE

Last Updated On Aug 3, 2020.

Download NETBEANS Keyboard Keyboard Shortcuts for Offline Study Here: NETBEANS Keyboard Shortcuts.PDF

Finding, Searching, and Replacing Shortcuts:

Shortcut Function
CTRL+F3 It is used to Search word at the insert point
F3 Used to Find next in file
Shift+F3 This shortcut is used to Find previous in file
CTRL+F Helps to Find in file
CTRL+H Used to Replace in file
Alt+F7 It is Used to Find usages
CTRL+Shift+F This shortcut is used to Find in projects
CTRL+Shift+H It is used to Replace in projects
Alt+Shift+U Used to Find usages results
Alt+Shift+H This will Turn off search result highlights
CTRL+R Rename
CTRL+UthenU Convert selection to uppercase
CTRL+UthenL Used to Convert selection to lowercase
CTRL+UthenS It is Used to Toggle case of selection
CTRL+Shift+V Paste formatted
CTRL+Shift+D It will Show Clipboard History
CTRL+I This shortcut is used to Jump to the quick search field
Alt+Shift+L Used to Copy file path
Shortcut Function
CTRL+O Used to Go to the type
Alt+Shift+O It will Go to file
CTRL+Shift+T It is used to Go to JUnit test
CTRL+Shift+B Helps to Go to the source
CTRL+B Used to Go to declaration
CTRL+G It will Go to line
CTRL+Shift+M Used to Toggle add or remove bookmark
CTRL+Shift+. Go to Next bookmark
CTRL+Shift+, Used for Previous usage or compile error
Alt+Shift+. Used to select the next element
Alt+Shift+, It is Used to Select the previous element
CTRL+Shift+1 Used to Select in Projects
CTRL+Shift+2 It is Used to Select in Files
CTRL+Shift+3 Used to Select in Favorites
CTRL+[ It will Move caret to matching bracket
CTRL+K Used to find Next word match
CTRL+Shift+K Go to the Previous word match
ALT+ Used to Go backward or forward to the last edit
ALT+ It is used to Go backward
ALT+ Used to Go forward
CTRL+Q It is used to Go to the last edit
ALT+↑↓ Used to move Down Next or previously marked occurrence

Coding in C and C++ Shortcuts:

Shortcut Function
ALT+Shift+C Used to Go to declaration
CTRL+F9 It will Evaluate the expression

Coding in Java Shortcuts:

Shortcut Function
ALT+Insert Used to Generate code
CTRL+Shift+I It will Fix all class imports
Alt+Shift+I Used to Fix selected class’s import
Alt+Shift+F Used for Format selection
Alt+Shift+←→ This shortcut will Shift lines left or right
Alt+Shift+↑↓ Used to Shift lines up or down
CTRL+Shift+R It is used for Rectangular Selection (Toggle)
Alt+Shift+↑↓ This shortcut will Copy lines up or down
CTRL+F12orAlt+F12 Used to Inspect members or hierarchy
CTRL+Shift+C It is used to Add comment lines
CTRL+/ Used to Remove comment lines
CTRL+E It is used to Delete current line

Compiling, Testing, and Running Shortcuts:

Shortcut Function
F9 Used to Compile package or file
F11 Helps to Build main project
Shift+F11 It is used to Clean and build the main project
CTRL+Q It will Set request parameters
CTRL+Shift+U Used to Create Unit test
CTRL+F6 It will Run unit test on file
Alt+F6 Used to Run unit test on the project
F6 It is used to Run main project
Shift+F6 Used to Run main file

Opening and Toggling between Views Shortcuts:

Shortcut Function
CTRL+TaborCTRL+` It is used to Switch between open documents by order used
Shift+Esc Used to Maximize window (toggle)
CTRL+F4orCTRL+W This shortcut will Close selected window
CTRL+Shift+F4 Used to Close all windows
Shift+F10 It Opens contextual menu
CTRL+PgUporCTRL+PgDn Used to Switch between open documents by order of tabs
CTRL+Alt+T It will Reopen the recently closed file
CTRL+Alt+PgUporCTRL+Alt+PgDn Used to Toggle between editor types
ALT+ Used for Zoom text in or out
CTRL+Shift+S It is used to Toggle inspect mode

Debugging Shortcuts:

Shortcut Function
CTRL+F5 Helps to Start debugging main project
CTRL+Shift+F5 Used to Start debugging current file
CTRL+Shift+F6 It is used to Start debugging test for file
Shift+F5 Used to Stop debugging session
F5 This shortcut will Continue debugging session
F4 Used to Run to cursor location in the file
F7 Step into
F8 Step over
CTRL+F7 Step out
CTRL+Alt+ Used to Go to called method
CTRL+Alt+ It will Go to calling method
CTRL+F9 Used to Evaluate expression
CTRL+F8 It is used to Toggle breakpoint
CTRL+Shift+F8 It will add New breakpoint
CTRL+Shift+F7 New watch

Java Editor Code Templates Shortcuts:

When typing in the Source Editor, generate the text in the right-column below by typing the abbreviation that is listed in the left column and then pressing Tab.

Shortcut Function
psvm public static void main
En Enumeration
Ex Exception
Psf public static final
Psfb public static final boolean
Psfi public static final int
Psfs public static final String
St String
ab abstract
as assert true
br break
bo boolean
ca catch
cl class
cn continue
db double
df default
eq equal
ex extends
pu public
pr private
pe protected
th throws
fy finally
im implements
ie interface
tw throw
ir import
le length
sout System.out.println()
soutv System.out.println(“obj”+obj)
wh while
vo volatile
iof instanceof
fi final
fl float
sh short
psf private static final
psfb private static final boolean
psfi private static fianl int
psfs private static final String
pst printStackTrace()
bcom /**/

JSP Editor Code Templates Shortcuts:

Shortcut Function
al windows.alert()
br break;
fun function${name}…
hi windows.history
dw document.write()
eq ${}equals
fa ${}false
lo ${}windows.location
re ${}return
Win $()window
ca ${}caseCatch()
catch catch
cond windows.consoledebug()
conl windows.console.log()
conw windows.console.warn()
ct ${}catch
do ${}document
iof ${}instanceof

I hope, this article helped you to learn all the shortcuts for NetBeans. Kindly, give your feedback in the comment section.

Leave a Comment