You are on page 1of 2

NetBeans IDE Keyboard Shortcuts

Editing
Ctrl-Space Esc Shift-Space Alt-F1 Shift-F1 Alt-Shift-! Alt-"# $ Alt-"# S Alt-"# ! Ctrl-Shift-F Ctrl-& Ctrl-D Ctrl-Shift-& Ctrl-Shift-D Ctrl-+ Ctrl-E Ctrl- # S Ctrl- # E Ctrl-, Ctrl-/ Ctrl-0 Ctrl-F Ctrl-1 F2 Shift-F2 Ctrl-F2 Alt-Shift-1 Alt-Shift-3 Alt-3 Alt-$ Ctrl-Ctrl-F4 F4 Code completion Close code completion Enter a space without expanding an abbreviation Display avadoc Search avadoc !mport class Append get to identifier Append set to identifier Append is to identifier %eformat selection Shift one tab to the right Shift one tab to the left Comment out with line comments '())(* %emove line comments '())(* Delete current or previous word %emove the current line Start recording macro Stop macro recording -ove insertion point to matching brac.et +ord match - forward +ord match - bac. Find %eplace Find next Find previous Search for word that insertion point is on &urn off search result highlighting Fast 3pen class $o to source $o to declaration Select next parameter Add)remove boo.mar. 5ext boo.mar. Alt-/ Alt-0 Alt-Shift-/ Alt-Shift-0 Ctrl-ShiftCtrl--inus '-* Ctrl-7lus '9* Ctrl-Shift--inus '-* Ctrl-Shift-7lus '-* 5ext in 6ump list 'present file* 7revious in 6ump list 'present file* 5ext in 6ump list 'all files* 7revious in 6ump list 'all files* !nsert internationali8ed string Collapse 'hide* a bloc. of code Expand a collapsed bloc. of code Collapse all code bloc.s Expand all code bloc.s

Compiling and Running


FB Shift-FB Ctrl-Shift-FB F11 Shift-F11 Ctrl-Shift-F11 Alt-Shift-C F14 Shift-F14 F> Ctrl-Shift-F> Compile selected file)pac.age Compile file)pac.age and all children Compile pro6ect Duild selected file)pac.age Duild file)pac.age and all children Duild pro6ect Stop compilation Scroll to next error in source Scroll to next error in source %un selected file %un pro6ect

Navigation
Ctrl-: Shift-Escape Ctrl-Shift-4 Ctrl-F; Ctrl-Shift-F; Shift-F; Alt-/eft Arrow Alt-%ight Arrow Ctrl-< Ctrl-1 Ctrl-4 Ctrl-2 Ctrl-; Ctrl-= Ctrl-> Ctrl-? Ctrl-@ Ctrl-B Ctrl-Shift-> Ctrl-Shift-5 F1 &oggle open !DE windows -aximi8e window Show file in Filesystems Close window Close all documents 3pen Documents dialog box 5ext tab 7revious tab Switch to Source Editor Switch to 7roperties Switch to Filesystems Switch to 7ro6ect Switch to 3utput Switch to %untime Switch to &o Do Switch to 1&&7 -onitor Switch to Aersioning Switch to ACS 3utput Switch to Execution 5ew)open pro6ect Show 1elp for selected component

Debugging
Alt-F= Shift-F= Ctrl-F= F; F@ F? Alt-Shift-F? Ctrl-Alt-"p Ctrl-Alt-Down Shift-F@ Ctrl-Shift-F@ Ctrl-Alt-1 Ctrl-Alt-4 Ctrl-Alt-2 Ctrl-Alt-; Ctrl-Alt-= Ctrl-Alt-> Ctrl-Alt-? Ctrl-Alt-@ Start debugging current file Stop debugging session %esume stopped session %un to cursor location in file Step over Step into Step out $o to called method $o to calling method Add)remove line brea.point 5ew brea.point Switch to /ocal Aariables Switch to +atches Switch to Call Stac. Switch to Classes Switch to Drea.points Switch to Sessions Switch to &hreads Switch to All !n 3ne

Editing XML Documents


Alt-FB Alt-Shift-FB Alt-F> Chec. C-/ Aalidate C-/ 7erform C-/ transformation

NetBeans IDE Keyboard Shortcuts


Java Editor Abbreviations
En Ex 3b 7sf 7sfb 7sfi 7sfs 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 3b6ect public static final public static final boolean public static final int public static final String String abstract boolean brea. catch ' class continue defaultE 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 printStac.&race'*F public return SystemGerrGprintln '( SystemGoutGprintln '( static switch ' synchroni8ed &hreadGdumpStac.'*F throws throw twn wh throw new +hile '

XML/D D Editor Abbreviations


Mxm Odo Ocd Oat Oel Oen pu sy Oat Oel Oen Ono pu sy cd em en ens fi im nm nms nn pc HMxml versionI(1G<( encodingI("&F-@(MN HOD3C&P7EN HO,CDA&A,QRRN HOA&&/!S& QN HOE/E-E5& QN HOE5&!&P QN 7"D/!C (Q( SPS&E- (Q( HOA&&/!S& QN HOE/E-E5& QN HOE5&!&P QN HO53&A&!35 QN 7"D/!C (Q( SPS&E- (Q( CDA&A E-7&P E5&!&P E5&!&!ES SF!CED S!-7/!ED 5-&30E5 5-&30E5S 53&A&!35 S7CDA&A

JSP/Servlet Editor Abbreviations


ag ap ar cfgi 6g 6spf 6spg 6spi 6spp 6sps 6spu oup oupl pcg pcgn pcgs pcr pcs pg pga pgb pgc pgerr pgex pgie pgim pgin pgit pgl pgs rg sg sp sr tglb applicationGgetAalue'( applicationGputAalue'( applicationGremoveAalue'( configGget!nit7arameter'( H6spEget7roperty nameI( H6spEforward pageI( H6spEget7roperty nameI( H6spEinclude pageI( H6spEplugin typeI( H6spEset7roperty nameI( H6spEuseDean idI( outGprint'( outGprintln'( pageContextGgetAttribute'( pageContextGgetAttribute5ames!nScope'( pageContextGgetAttributesScope'( pageContextGremoveAttribute'( pageContextGsetAttribute'( HJK page HJK page autoFlushI( HJK page bufferI( HJK page content&ypeI( HJK page error7ageI( HJK page extendsI( HJK page isError7ageI( HJK page importI( HJK page infoI( HJK page is&hreadSafeI( HJK page languageI( HJK page sessionI( HreLuestGget7arameter'( sessionGgetAalue'( sessionGputAalue'( sessionGremoveAalue'( HJK taglib uriI(

o c!ange an editor"s abbreviations#


1G 4G 2G ;G 1G 4G 2G ;G

Choose &ools N 3ptions from the main windowG Expand Editing and Editor SettingsG Select the editorG Clic. the ellipsis 'GGG* button for AbbreviationsG

o c!ange editor$speci%ic &e'board s!ortcuts#


Choose &ools N 3ptions from the main windowG Expand Editing and Editor SettingsG Select the editorG Clic. the ellipsis button for 0ey DindingsG

o c!ange (DE$)ide &e'board s!ortcuts#


Choose &ools N 0eyboard Shortcuts from the main windowG

You might also like