Вы находитесь на странице: 1из 2

Highlights of NetBeans IDE 8.

0 Keyboard Shortcuts & Code Templates


Finding, Searching, and Replacing Alt Up / Down Next/previous marked Ctrl-PgUp / Switch between open documents
occurrence PgDown by order of tabs
Ctrl-F3 Search word at insert point
Ctrl-Alt-T Reopen recently closed file
F3/Shift-F3 Find next/previous in file Coding in C/C++
Ctrl-Alt-PgUp / Toggle between editor types
Ctrl-F/H Find/Replace in file
Alt-Shift-C Go to declaration PgDown
Alt-F7 Find usages
Ctrl-F9 Evaluate expression Alt-Mouse Wheel Zoom text in / out
Ctrl-Shift-F/H Find/replace in projects
Up / Down
Alt-Shift-U Find usages results Coding in Java Ctrl-Shift-S Toggle Inspect Mode
Alt-Shift-H Turn off search result highlights
Ctrl-R Rename Alt-Insert Generate code Debugging
Ctrl-U, then U Convert selection to uppercase Ctrl-Shift-I Fix all class imports
Alt-Shift-I Fix selected class's import Ctrl-F5 Start debugging main project
Ctrl-U, then L Convert selection to lowercase
Alt-Shift-F Format selection Ctrl-Shift-F5 Start debugging current file
Ctrl-U, then S Toggle case of selection
Alt-Shift Left/ Shift lines left/right/up/down Ctrl-Shift-F6 Start debugging test for file
Ctrl-Shift-V Paste formatted
Right/Up/Down Shift-F5/F5 Stop/Continue debugging session
Ctrl-Shift-D Show Clipboard History
Ctrl-Shift-R Rectangular Selection (Toggle) F4 Run to cursor location in file
Ctrl-I Jump to quick search field
Ctrl-Shift-Up/D Copy lines up/down F7/F8 Step into/over
Alt-Shift-L Copy file path
Ctrl/Alt-F12 Inspect members/hierarchy Ctrl-F7 Step out
Navigating through Source Code Ctrl-Shift-C/ Ctrl-/Add/remove comment lines Ctrl-Alt-Up Go to called method
Ctrl-E Delete current line Ctrl-Alt-Down Go to calling method
Ctrl-O/Alt-Shift-O Go to type/file Ctrl-F9 Evaluate expression
Ctrl-Shift-T Go to JUnit test Compiling, Testing, and Running Ctrl-F8 Toggle breakpoint
Alt-O Go to source Ctrl-Shift-F8 New breakpoint
Ctrl-B Go to declaration F9 Compile package/ file
F11 Build main project Ctrl-Shift-F7 New watch
Ctrl-G Go to line
Ctrl-Shift-M Toggle add/remove bookmark Shift-F11 Clean & build main project When typing in the Source Editor, generate the text in the
Ctrl-Shift-Period / Next/previous bookmark Ctrl-Q Set request parameters right-column below by typing the abbreviation that is
Comma Ctrl-Shift-U Create Unit test listed in the left-column and then pressing Tab.
Ctrl-Period / Next/previous usage/compile Ctrl-F6/Alt-F6 Run Unit test on file/project
Java Editor Code Templates
Comma error F6/Shift-F6 Run main project/file
Alt-Shift-Period / Select next/previous element En Enumeration
Opening and Toggling between Views Ex Exception
Comma Ob Object
Ctrl-Shift-1/2/3 Select in Ctrl-Tab (Ctrl-`) Switch between open
documents by order used Psf public static final
Projects/Files/Favorites Psfb public static final boolean
Ctrl-[ Move caret to matching bracket Shift-Escape Maximize window (toggle)
Psfi public static final int
Ctrl-K/Ctrl-Shift K Next/previous word match Ctrl-F4/Ctrl-W Close selected window Psfs public static final String
Alt-Left/Alt- Go backward/forward/to last Ctrl-Shift-F4 Close all windows St String
Right/Ctrl-Q edit Shift-F10 Open contextual menu ab abstract
Highlights of NetBeans IDE 8.0 Keyboard Shortcuts & Code Templates
as assert true; na native JSP Editor Code Templates
bcom /**/ newo Object name = new Object(args);
bo boolean pe protected al window.alert(${message});
br break; pr private br ${no-indent}break;
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}
for (Iterator it = collection.iterator(); sout System.out.println ("|"); }
forc eq ${no-indent}equals
it.hasNext();) { soutv System.out.println("Object = " + Object);
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

Вам также может понравиться