NetBeans IDE Keyboard Shortcuts

Editing
Ctrl-Space Esc Shift-Space Alt-F1 Shift-F1 Alt-Shift-I Alt-U, G Alt-U, S Alt-U, I Ctrl-Shift-F Ctrl-T Ctrl-D Ctrl-Shift-T Ctrl-Shift-D Ctrl-W Ctrl-E Ctrl-J, S Ctrl-J, E Ctrl-[ Ctrl-L Ctrl-K Ctrl-F Ctrl-H F3 Shift-F3 Ctrl-F3 Alt-Shift-H Alt-Shift-O Alt-O Alt-G Ctrl-M Ctrl-F2 F2 Code completion Close code completion Enter a space without expanding an abbreviation Display Javadoc Search Javadoc Import class Append get to identifier Append set to identifier Append is to identifier Reformat selection Shift one tab to the right Shift one tab to the left Comment out with line comments ("//") Remove line comments ("//") Delete current or previous word Remove the current line Start recording macro Stop macro recording Move insertion point to matching bracket Word match - forward Word match - back Find Replace Find next Find previous Search for word that insertion point is on Turn off search result highlighting Fast Open class Go to source Go to declaration Select next parameter Add/remove bookmark Next bookmark Alt-L Alt-K Alt-Shift-L Alt-Shift-K Ctrl-Shift-J Ctrl-Minus (-) Ctrl-Plus (+) Ctrl-Shift-Minus (-) Ctrl-Shift-Plus (-) Next in jump list (present file) Previous in jump list (present file) Next in jump list (all files) Previous in jump list (all files) Insert internationalized string Collapse (hide) a block of code Expand a collapsed block of code Collapse all code blocks Expand all code blocks

Compiling and Running
F9 Shift-F9 Ctrl-Shift-F9 F11 Shift-F11 Ctrl-Shift-F11 Alt-Shift-C F12 Shift-F12 F6 Ctrl-Shift-F6 Compile selected file/package Compile file/package and all children Compile project Build selected file/package Build file/package and all children Build project Stop compilation Scroll to next error in source Scroll to next error in source Run selected file Run project

Navigation
Ctrl-` Shift-Escape Ctrl-Shift-2 Ctrl-F4 Ctrl-Shift-F4 Shift-F4 Alt-Left Arrow Alt-Right Arrow Ctrl-0 Ctrl-1 Ctrl-2 Ctrl-3 Ctrl-4 Ctrl-5 Ctrl-6 Ctrl-7 Ctrl-8 Ctrl-9 Ctrl-Shift-6 Ctrl-Shift-N F1 Toggle open IDE windows Maximize window Show file in Filesystems Close window Close all documents Open Documents dialog box Next tab Previous tab Switch to Source Editor Switch to Properties Switch to Filesystems Switch to Project Switch to Output Switch to Runtime Switch to To Do Switch to HTTP Monitor Switch to Versioning Switch to VCS Output Switch to Execution New/open project Show Help for selected component

Debugging
Alt-F5 Shift-F5 Ctrl-F5 F4 F8 F7 Alt-Shift-F7 Ctrl-Alt-Up Ctrl-Alt-Down Shift-F8 Ctrl-Shift-F8 Ctrl-Alt-1 Ctrl-Alt-2 Ctrl-Alt-3 Ctrl-Alt-4 Ctrl-Alt-5 Ctrl-Alt-6 Ctrl-Alt-7 Ctrl-Alt-8 Start debugging current file Stop debugging session Resume stopped session Run to cursor location in file Step over Step into Step out Go to called method Go to calling method Add/remove line breakpoint New breakpoint Switch to Local Variables Switch to Watches Switch to Call Stack Switch to Classes Switch to Breakpoints Switch to Sessions Switch to Threads Switch to All In One

Editing XML Documents
Alt-F9 Alt-Shift-F9 Alt-F6 Check XML Validate XML Perform XML transformation

NetBeans IDE Keyboard Shortcuts Java Editor Abbreviations En Ex Ob Psf Psfb Psfi Psfs St ab bo br ca cl cn df ex fa fi fl fy ie im iof ir pe pr psf psfb psfi psfs pst pu re serr sout st sw sy tds th tw Enumeration Exception Object public static final public static final boolean public static final int public static final String String abstract boolean break catch ( class continue default: extends false final float finally interface implements instanceof import protected private private static final private static final boolean private static final int private static final String printStackTrace().getAttributesScope(" pageContext. 2.getValue(" session. 4.err. Click the ellipsis button for Key Bindings.removeValue(" <%@ taglib uri=" To change an editor's abbreviations: 1. Select the editor.getInitParameter(" <jsp:getProperty name=" <jsp:forward page=" <jsp:getProperty name=" <jsp:include page=" <jsp:plugin type=" <jsp:setProperty name=" <jsp:useBean id=" out. public return System. • Choose Tools > Options from the main window.setAttribute(" <%@ page <%@ page autoFlush=" <%@ page buffer=" <%@ page contentType=" <%@ page errorPage=" <%@ page extends=" <%@ page isErrorPage=" <%@ page import=" <%@ page info=" <%@ page isThreadSafe=" <%@ page language=" <%@ page session=" <request. 4. throws throw twn wh throw new While ( XML/DTD Editor Abbreviations ?xm !do !cd !at !el !en pu sy !at !el !en !no pu sy cd em en ens fi im nm nms nn pc <?xml version="1.getAttributeNamesInScope(" pageContext...out. 2.println(" pageContext. Select the editor.getValue(" application. 3. Choose Tools > Options from the main window. To change editor-specific keyboard shortcuts: To change IDE-wide keyboard shortcuts: .0" encoding="UTF-8"?> <!DOCTYPE> <![CDATA[|]]> <!ATTLIST |> <!ELEMENT |> <!ENTITY |> PUBLIC "|" SYSTEM "|" <!ATTLIST |> <!ELEMENT |> <!ENTITY |> <!NOTATION |> PUBLIC "|" SYSTEM "|" CDATA EMPTY ENTITY ENTITIES #FIXED #IMPLIED NMTOKEN NMTOKENS NOTATION #PCDATA JSP/Servlet Editor Abbreviations ag ap ar cfgi jg jspf jspg jspi jspp jsps jspu oup oupl pcg pcgn pcgs pcr pcs pg pga pgb pgc pgerr pgex pgie pgim pgin pgit pgl pgs rg sg sp sr tglb application.dumpStack().println (" System.removeValue(" config.removeAttribute(" pageContext. Expand Editing and Editor Settings.putValue(" application.print(" out.println (" static switch ( synchronized Thread. Click the ellipsis (. 3.getParameter(" session.) button for Abbreviations. Expand Editing and Editor Settings. 1.putValue(" session. Choose Tools > Keyboard Shortcuts from the main window.getAttribute(" pageContext.

Sign up to vote on this title
UsefulNot useful