0% found this document useful (0 votes)
55 views

Highlights of Netbeans Ide 8.0 Keyboard Shortcuts & Code Templates

This document provides highlights of keyboard shortcuts and code templates in NetBeans IDE 8.0 for tasks like finding, searching, navigating code, debugging, and generating Java code. It lists shortcuts for common operations in 3 columns - the task, keyboard shortcut, and code template abbreviation for auto-completion.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views

Highlights of Netbeans Ide 8.0 Keyboard Shortcuts & Code Templates

This document provides highlights of keyboard shortcuts and code templates in NetBeans IDE 8.0 for tasks like finding, searching, navigating code, debugging, and generating Java code. It lists shortcuts for common operations in 3 columns - the task, keyboard shortcut, and code template abbreviation for auto-completion.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Highlights of NetBeans IDE 8.

0 Keyboard Shortcuts & Code Templates


Finding, Searching, and Replacing Coding in C/C++ Ctrl-Alt-PgUp / Toggle between editor types
PgDown
Ctrl-F3 Search word at insert point Alt-Shift-C Go to declaration
Alt-Mouse Wheel Zoom text in / out
F3/Shift-F3 Find next/previous in file Ctrl-F9 Evaluate expression
Up / Down
Ctrl-F/H Find/Replace in file
Coding in Java Ctrl-Shift-S Toggle Inspect Mode
Alt-F7 Find usages
Ctrl-Shift-F/H Find/replace in projects Alt-Insert Generate code Debugging
Alt-Shift-U Find usages results Ctrl-Shift-I Fix all class imports
Ctrl-F5 Start debugging main project
Alt-Shift-H Turn off search result highlights Alt-Shift-I Fix selected class's import
Ctrl-Shift-F5 Start debugging current file
Ctrl-R Rename Alt-Shift-F Format selection
Ctrl-Shift-F6 Start debugging test for file
Ctrl-U, then U Convert selection to uppercase Alt-Shift Left/ Shift lines left/right/up/down
Shift-F5/F5 Stop/Continue debugging session
Ctrl-U, then L Convert selection to lowercase Right/Up/Down
F4 Run to cursor location in file
Ctrl-U, then S Toggle case of selection Ctrl-Shift-R Rectangular Selection (Toggle)
F7/F8 Step into/over
Ctrl-Shift-V Paste formatted Ctrl-Shift-Up/D Copy lines up/down
Ctrl-F7 Step out
Ctrl-Shift-D Show Clipboard History Ctrl/Alt-F12 Inspect members/hierarchy
Ctrl-Alt-Up Go to called method
Ctrl-I Jump to quick search field Ctrl-Shift-C/ Ctrl-/Add/remove comment lines
Ctrl-Alt-Down Go to calling method
Alt-Shift-L Copy file path Ctrl-E Delete current line
Ctrl-F9 Evaluate expression
Navigating through Source Code Compiling, Testing, and Running Ctrl-F8 Toggle breakpoint
Ctrl-Shift-F8 New breakpoint
Ctrl-O/Alt-Shift-O Go to type/file F9 Compile package/ file Ctrl-Shift-F7 New watch
Ctrl-Shift-T Go to JUnit test F11 Build main project
Ctrl-Shift-B Go to source Shift-F11 Clean & build main project When typing in the Source Editor, generate the text in the
Ctrl-B Go to declaration Ctrl-Q Set request parameters right-column below by typing the abbreviation that is
Ctrl-G Go to line Ctrl-Shift-U Create Unit test listed in the left-column and then pressing Tab.
Ctrl-Shift-M Toggle add/remove bookmark Ctrl-F6/Alt-F6 Run Unit test on file/project Java Editor Code Templates
Ctrl-Shift-Period / Next/previous bookmark F6/Shift-F6 Run main project/file
Comma En Enumeration
Ctrl-Period / Next/previous usage/compile Opening and Toggling between Views Ex Exception
Ob Object
Comma error Ctrl-Tab (Ctrl-`) Switch between open Psf public static final
Alt-Shift-Period / Select next/previous element documents by order used Psfb public static final boolean
Comma Shift-Escape Maximize window (toggle) Psfi public static final int
Ctrl-Shift-1/2/3 Select in Projects/Files/Favorites Ctrl-F4/Ctrl-W Close selected window Psfs public static final String
Ctrl-[ Move caret to matching bracket Ctrl-Shift-F4 Close all windows St String
Ctrl-K/Ctrl-Shift K Next/previous word match Shift-F10 Open contextual menu ab abstract
Alt-Left/Alt- Go backward/forward/to last Ctrl-PgUp / Switch between open as assert true;
Right/Ctrl-Q edit PgDown documents by order of tabs bcom /**/
Alt Up / Down Next/previous marked Ctrl-Alt-T Reopen recently closed file bo boolean
occurrence br break;
Highlights of NetBeans IDE 8.0 Keyboard Shortcuts & Code Templates
ca catch ( psf private static final ca ${no-indent}case
cl class psfb private static final boolean catch (${exception}) {
cn continue psfi private static final int catch ${cursor}
db double psfs private static final String }
df default: pst printStackTrace(); cond window.console.debug(${debug});
dowhile do { psvm public static void main(String[] args){ coni window.console.info(${info});
} while (condition); } conl window.console.log(${log});
eq equals pu public conw window.console.warn(${warn});
ex extends re return ct ${no-indent}catch
fa false runn Runnable runnable = new Runnable() { do ${no-indent}document
fcom // <editor-fold></editor-fold> public void run() {}}; dw document.write(${message});
fi final serr System.err.println ("|"); Else {
fl float sh short else ${cursor}
forc for (Iterator it = collection.iterator(); sout System.out.println ("|"); }
it.hasNext();) { soutv System.out.println("Object = " + Object); eq ${no-indent}equals
Object elem = (Object) it.next(); st static fa ${no-indent}false
} su super for (var ${item} in ${object}) {
fore for (Object elem : iterable) { sw switch (var) { case val: break; forin ${selection}${cursor}
} default: throw new AssertionError();} }
fori for (int i = 0; i < arr.length; i++) {} sy synchronized function ${name}(${parameters}) {
forl for (int i = 0; i < lst.size(); i++) { tds Thread.dumpStack(); fun ${selection}${cursor}
Object object = lst.get(i); } th throws }
forst for (StringTokenizer st = new tr transient hi ${no-indent}window.history
StringTokenizer(""); st.hasMoreTokens();) } trycatch try {} if (${expr}) {
forv for (int i = 0; i < vct.size(); i++) { catch (Exception e) {} if ${selection}${cursor}
Object object = vct.elementAt(i);} tw throw }
fy finally{ |} vo volatile iof ${no-indent}instanceof
ie interface wh while ( json {"${field}": "${value}"}
ifelse if (condition){}else { whileit while (it.hasNext()) { lo ${no-indent}window.location
} Object elem = (Object) it.next();} ${no-indent}var ${name} = new ${type}($
new
iff if (exp) {} whilen while (en.hasMoreElements()) { {arguments});
im implements Object elem = (Object) en.nextElement();} ${propertyName}: function(${parameters}) {
inst if (exp instanceof Object) { whilexp while (exp) {} prf ${cursor}
Object obj = (Object) exp; },
iof instanceof re ${no-indent}return
ir import var ${no-indent}var ${name} = ${value};
le length win ${no-indent}window
na native JSP Editor Code Templates
newo Object name = new Object(args); al window.alert(${message});
pe protected br ${no-indent}break;
pr private

You might also like