Use the Apache NetBeans Shortcuts and quickly develop desktop, mobile, and web applications. It is a free and open-source governed by Apache Software Foundation. It can be installed on all operating systems that support JAVA. Operating systems like Windows, Linux, Mac OSX, and BSD.

List of NetBeans Shortcuts

These shortcuts will let editors, wizards, and templates create applications in JAVA, PHP, and many other languages. Below is the list of NetBeans Shortcuts that will help you fit your pieces together. Download the NetBeans Shortcuts in PDF form.

General Shortcuts

Action NetBeans Shortcuts
Rename Ctrl + R
Search at insert point Ctrl + F3
Find next in file F3
Find previous in file Shift + F3
Find Ctrl + F
Replace Ctrl + H
Find usgaes Alt + F7
Find in Projects Ctrl + Shift + F
Replace in projects Ctrl + Shift + H
Usages results Alt + Shift + U
Convert to Uppercase Ctrl + U then U
Convert to Lowercase Ctrl + U then L
Formatted Paste Ctrl + Shift + V
Clipboard history Ctrl + Shift + D
Copy file path Alt + Shift + L
Go to type Ctrl + O
Go to file Alt + Shift + O
Go to source Ctrl + Shift + B
Go to Declaration Ctrl + B
Go to line Ctrl + G
Add or Remove Bookmark Ctrl + Shift + M

Coding in JAVA Shortcuts

Action NetBeans Shortcuts
Generate code Alt + Insert
Fix all class imports Ctrl + Shift + I
Fix selected class import Alt + Shift + I
Format selection Alt + Shift + F
Shift line left Alt + Shift + ←
Shift line right Alt + Shift + →
Shift line up Alt + Shift + ↑
Shift + line down Alt + Shift + ↓
Copy line up Ctrl + Shift + ↑
Copy line down Ctrl + Shift + ↓
Inspect members Ctrl + F12
Inspect hierarchy Alt + F12
Add comment lines Ctrl + Shift + C
Delete current line Ctrl + E

Debugging Shortcuts

Action NetBeans Shortcuts
Start debugging main project Ctrl + F5
Debugging current file Ctrl + Shift + F5
Debugging text for file Ctrl + Shift + F6
Stop or continue debugging session Shift + F5 or F5
Step into F7
Step over F8
Step out Ctrl + F7
Called method Ctrl + Alt
Evaluate expression Ctrl + F9
Toggle breakpoint Ctrl + F8
New breakpoint Ctrl + Shift + F8
New watch Ctrl + Shift + F7

Compiling Running and Testing NetBeans Shortcuts

Action Keyboard Shortcuts
Compile file F9
Build main project F11
Clean & build main project Shift + F11
Set request parameters Ctrl + Q
Unit test Ctrl + Shift + U
Run unit test on file Ctrl + F6
Run unit test on project Alt + F6
Run main project F6
Run main file Shift + F6

Toggling between views and Opening Shortcuts

Action NetBeans Shortcuts
Switch between open documents Ctrl + Tab
Maximize window Shift + Esc
Close window Ctrl + F4 or Ctrl + W
Close all windows Ctrl + Shift + F4
Open Contextual menu Shift + F10
Reopen recently closed file Ctrl + Alt + T
Toggle inspect mode Ctrl + Shift + S

JSP Editor Code

Action NetBeans Shortcuts
windows.alert() al
break; br
function${name}.. fun
windows.history hi
document.write() dw
${}equals eq
${}false fa
${}windows.location lo
${}return re
$()window Win
Catch catch
windows.consoledebug() cond
windows.console.info() coni
windows.console.log() conl
windows.console.warn() conw
${}catch ct
${}document do
${}instanceof iof

JAVA Editor code

Action Keyboard Shortcuts
Enumeration En
Exception Ex
Public static final psf
Public static final boolean Psfb
Public static final int Psfi
Public static final string Psfs
string St
Abstract ab
assert true as
Break br
boolean bo
Catch ca
class cl
Continue cn
Double db
Default df
Equal eq
Extends ex
Public pu
Private pr
protected pe
throws th
finally fy
Implements im
Interface ie

Knowing all the above shortcuts will help all the JAVA programmers, and save a lot of time in coding. Did you know Oracle has sponsored the NetBeans project since acquiring sun in 2010.

There are some other text editor applications or software which can be an alternative to NetBeans. Visual Studio Code, Microsoft Visual Studio, IntelliJ, etc. Checkout for a complete list of Visual Studio Code shortcuts, Microsoft Visual Studio Shortcuts, IntelliJ shortcuts.

Hope you have liked our blog on NetBeans Shortcuts Code Editor. Suggestions are always welcomed for the blog you looking forward to hearing from us. Like our My e-Learning Hub Facebook Page and Subscribe to our My e-Learning Hub YouTube Channel. Connect with us and Take your Office Productivity to Next Level.

Leave a comment

Main Office:

India

Contact Us:

[email protected]

MyeLearningHUB © 2019. All rights reserved.