NetBeans keyboard shortcuts 

NetBeans    

Zeynel -
6 years ago
- Shortcuts
3
Ctrl + F3

Search word at insert point

1
F3

Find next in file

0
↑  Shift + F3

Find previous in file

0
Ctrl + F

Find in file

0
Ctrl + H

Replace in file

2
Alt + F7

Find usages

0
Ctrl + ↑  Shift + F

Find in projects

1
Ctrl + ↑  Shift + H

Replace in projects

0
Alt + ↑  Shift + U

Find usages results

0
Alt + ↑  Shift + H

Turn off search result highlights

1
Ctrl + R

Rename

2
Ctrl + U then U

Convert selection to uppercase

-2
Ctrl + U then L

Convert selection to lowercase

0
Ctrl + U then S

Toggle case of selection

1
Ctrl + ↑  Shift + V

Paste formatted

0
Ctrl + ↑  Shift + D

Show Clipboard History

3
Ctrl + I

Jump to quick search field

-3
Alt + ↑  Shift + L

Copy file path

Advertisement

-1
Ctrl + O

Go to type

2
Alt + ↑  Shift + O

Go to file

0
Ctrl + ↑  Shift + T

Go to JUnit test

-1
Ctrl + ↑  Shift + B

Go to source

0
Ctrl + B

Go to declaration

0
Ctrl + G

Go to line

0
Ctrl + ↑  Shift + M

Toggle add/remove bookmark

0
Ctrl + ↑  Shift + .

Next bookmark

0
Ctrl + ↑  Shift + ,

Previous bookmark

0
Ctrl + .

Next usage/compile error

0
Ctrl + ,

Previous usage/compile error

0
Alt + ↑  Shift + .

Select next element

0
Alt + ↑  Shift + ,

Select previous element

0
Ctrl + ↑  Shift + 1

Select in Projects

0
Ctrl + ↑  Shift + 2

Select in Files

0
Ctrl + ↑  Shift + 3

Select in Favorites

1
Ctrl + [

Move caret to matching bracket

0
Ctrl + K

Next word match

0
Ctrl + ↑  Shift + K

Previous word match

0
Alt +

Go backward/forward/to last edit

1
Alt +

Go backward

0
Alt +

Go forward

-1
Ctrl + Q

Go to last edit

1
Alt +   

Down Next/previous marked occurence

1
Alt + ↑  Shift + C

Go to declaration

0
Ctrl + F9

Evaluate expression

0
Alt + Insert

Generate code

0
Ctrl + ↑  Shift + I

Fix all class imports

1
Alt + ↑  Shift + I

Fix selected class's import

0
Alt + ↑  Shift + F

Format selection

4
Alt + ↑  Shift +   

Shift lines left / right

3
Alt + ↑  Shift +   

Shift lines up / down

1
Ctrl + ↑  Shift + R

Rectangular Selection (Toggle)

-1
Alt + ↑  Shift +   

Copy lines up/down

2
Ctrl + F12

Inspect members/hierarchy

1
or Alt + F12
3
Ctrl + ↑  Shift + C

Add comment lines

-3
Ctrl + /

Remove comment lines

Advertisement

3
Ctrl + E

Delete current line

0
F9

Compile package / file

1
F11

Build main project

0
↑  Shift + F11

Clean and build main project

0
Ctrl + Q

Set request parameters

0
Ctrl + ↑  Shift + U

Create Unit test

0
Ctrl + F6

Run unit test on file

0
Alt + F6

Run unit test on project

0
F6

Run main project

2
↑  Shift + F6

Run main file

0
Ctrl + Tab

Switch between open documents by order used

0
or Ctrl + `
2
↑  Shift + Esc

Maximize window (toggle)

1
Ctrl + F4

Close selected window

0
or Ctrl + W
0
Ctrl + ↑  Shift + F4

Close all windows

0
↑  Shift + F10

Open contextual menu

1
Ctrl + Page Up

Switch between open documents by order of tabs

0
or Ctrl + Page Down
0
Ctrl + Alt + T

Reopen recently closed file

0
Ctrl + Alt + Page Up

Toggle between editor types

0
or Ctrl + Alt + Page Down
0
Alt +

Zoom text in / out

0
Ctrl + ↑  Shift + S

Toggle inspect mode

0
Ctrl + F5

Start debugging main project

0
Ctrl + ↑  Shift + F5

Start debugging current file

0
Ctrl + ↑  Shift + F6

Start debugging test for file

1
↑  Shift + F5

Stop debugging session

1
F5

Continue debugging session

-1
F4

Run to cursor location in file

0
F7

Step into

0
F8

Step over

1
Ctrl + F7

Step out

0
Ctrl + Alt +

Go to called method

0
Ctrl + Alt +

Go to calling method

1
Ctrl + F9

Evaluate expression

-1
Ctrl + F8

Toggle breakpoint

0
Ctrl + ↑  Shift + F8

New breakpoint

0
Ctrl + ↑  Shift + F7

New watch

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.
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
fa FALSE
sh short
psf private static final
psfb private static final boolean
psfi  private static final int
psfs  private static final String
pst printStackTrace()
bcom  /**/
al  windows.alert()

Share this page on:
Is this page helpful?
0 0

Program information

Program name: NetBeans NetBeans (Developer tools)

Web page: netbeans.org

Last update: 04.03.2021 11:24 UTC

How easy to press shortcuts: 76%

More information >>

Shortcut count: 95

Platform detected: Windows or Linux

Similar programs



User operations

Add NetBeans to your list of favorites

Advertisement


What is your favorite NetBeans hotkey? Do you have any useful tips for it? Let other users know below.


 
No comments yet. Ask, or type the first one!

Latest articles