Netbeans Search Shortcuts
NetBeans has a variety of shortcuts for finding usages, finding and replacing in files and projects, and more.
Action | Windows | OS X |
---|---|---|
Find usages | Alt + F7 | Ctrl + F7 |
Find usages (results) | Alt + Shift +U | Ctrl + Shift + U |
Find / Replace in file | Ctrl + F/H | ⌘ + F/R |
Find / Replace in projects | Ctrl + Shift + F/H | ⌘ + Shift + F/H |
Find next | F3 | ⌘ + G |
Select in projects / files / favorites | Ctrl + Shift + 1/2/3 | ⌘ + Shift + 1/2/3 |
NetBeans File Navigation Shortcuts
NetBeans has file navigation shortcuts that allow developers to quickly open and navigate files and code.
Action | Windows | OS X |
---|---|---|
Open resource / Navigate to file | Alt + Shift + O | Ctrl + Shift + O |
Open type | Ctrl + O | ⌘ + O |
Go to line | Ctrl + G | Ctrl+G |
Recent files | Ctrl + Shift + T | Shift + ⌘ + T |
Tab / File switcher | Ctrl + Tab | Ctrl + Tab |
NetBeans Text Editing Shortcuts
NetBeans uses the following shortcuts to move, delete, copy, select and format code.
Action | Windows | OS X |
---|---|---|
Move lines | Alt + Shift + Up/Down | Ctrl + Shift + Up/Down |
Delete lines | Ctrl + E | ⌘ + E |
Copy / Duplicate lines | Ctrl + Shift + Up/Down | Alt + Shift + Up/Down |
Select identifier | Alt + Shift + J | Ctrl + Shift + J |
Format code | Alt + Shift + F | Ctrl + Shift + F |
NetBeans Code Navigation Shortcuts
For code navigation, NetBeans uses the following keyboard shortcuts to find usages, inspect code hierarchy, and open and navigate to type and member hierarchies.
Action | Windows | OS X |
---|---|---|
Find usages / References in workspace | Alt + F7 | Ctrl + F7 |
Find usages results | Alt + Shift + U | Ctrl + Shift + U |
Inspect code hierachy | Alt + Shift + F12 | Ctrl + Shift + F12 |
Open / Navigate to declaration | Ctrl + B | ⌘ + B |
Open / Navigate to type hierarchy | Alt + F12 | Ctrl + F12 |
Open / Navigate to member hierarchy | Ctrl + F12 | ⌘ + F12 |
NetBeans Refactoring Shortcuts
For refactoring, NetBeans uses the following keyboard shortcuts.
Action | Windows | OS X |
---|---|---|
Rename | Ctrl + R | Ctrl + R |
Surround with | Alt + Enter | Ctrl + Enter |
Extract local variable | Alt + Shit + V | Ctrl + Shift + V |
Extract / Assign to field | Alt + Shift + E | Ctrl + Shift + E |
Extract method | Ctrl + Shift + M | Ctrl + Shift + M |
No comments:
Post a Comment