The document provides a list of keyboard shortcuts and code templates for the NetBeans IDE 6.7. It includes shortcuts for searching, navigating code, debugging, compiling, and running projects. It also lists Java code templates that can be used by typing an abbreviation and tab to generate boilerplate code.
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 ratings0% found this document useful (0 votes)
77 views2 pages
Shortcuts
The document provides a list of keyboard shortcuts and code templates for the NetBeans IDE 6.7. It includes shortcuts for searching, navigating code, debugging, compiling, and running projects. It also lists Java code templates that can be used by typing an abbreviation and tab to generate boilerplate code.
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
Highlightsof NetBeans IDE 6.
7 KeyboardShortcuts & Code Templates
Finding, Searching, and Replacing CtrlQ Set request parameters Coding in Java CtrlShiftU Create JUnit test CtrlF3 Search word at insert point AltInsert Generate code CtrlF6/AltF6 Run JUnit test on file/project F3/ShiftF3 Find next/previous in file CtrlShiftI Fix all class imports F6/ShiftF6 Run main project/file CtrlF/H Find/Replace in file AltShiftI Fix selected class's import AltF7 Find usages Opening and Toggling between Views AltShiftF Format selection CtrlShiftF/H Find/replace in projects AltShift Left/ Shift lines left/right/up/down CtrlTab (Ctrl`) Toggle between open AltShiftU Find usages results Right/Up/Down documents AltShiftH Turn off search result highlights CtrlShiftUp/D Copy lines up/down ShiftEscape Maximize window (toggle) CtrlR Rename Ctrl/AltF12 Inspect members/hierarchy CtrlF4/CtrlW Close currently selected window CtrlU, then U Convert selection to uppercase Ctrl/ Add/remove comment lines CtrlShiftF4 Close all windows CtrlU, then L Convert selection to lowercase CtrlE Delete current line ShiftF10 Open contextual menu CtrlU, then S Toggle case of selection AltShiftD Undock window CtrlShiftV Paste formatted Coding in C/C++ CtrlI Jump to quick search field Debugging AltShiftC Go to declaration Navigating through Source Code CtrlF9 Evaluate expression CtrlF5 Start debugging main project CtrlShiftF5 Start debugging current file CtrlO/AltShiftO Go to type/file Coding in Ruby CtrlShiftT Go to JUnit test CtrlShiftF6 Start debugging test for file CtrlShiftA Jump Rails action > view (JUnit) AltO Go to source AltShift Select Next/Previous element ShiftF5/F5 Stop/Continue debugging session CtrlB Go to declaration Period/Comma F4 Run to cursor location in file CtrlG Go to line CtrlShiftSpace Show documentation F7/F8 Step into/over CtrlShiftM Toggle add/remove bookmark CtrlShiftT Jump from test file to file CtrlF7 Step out CtrlShift Next/previous bookmark Period/Comma CtrlAltUp Go to called method SOA CtrlPeriod/CommaNext/previous usage/compile CtrlAltDown Go to calling method error TabShiftArrows Move through elements CtrlF9 Evaluate expression CtrlShift1/2/3 Select in Projects/Files/Favorites AltShiftF Advanced search CtrlF8 Toggle breakpoint Ctrl[ Move caret to matching bracket Alt/ShiftEnter Expand/collapse elements CtrlShiftF8 New breakpoint CtrlK/CtrlShift K Next/previous word match CtrlShiftF9 Show BPEL Mapper CtrlShiftF7 New watch AltLeft/AltRight/ Go backward/forward/to last Compiling, Testing, and Running CtrlQ edit Alt Up/Down Next/previous marked F9 Compile package/ file occurrence F11 Build main project ShiftF11 Clean & build main project Highlightsof NetBeans IDE 6.7 KeyboardShortcuts & Code Templates When typing in the Source Editor, generate the text in ifelse if (condition){}else { ar application.removeAttribute("|") the rightcolumn below by typing the abbreviation that is } cfgi config.getInitParameter("|") listed in the leftcolumn and then pressing Tab. im implements jspf <jsp:forward page="|"/> iof instanceof <jsp:getProperty name="|" Java Editor Code Templates jspg ir import property="" /> En Enumeration le length jspi <jsp:include page="|"/> Ex Exception newo Object name = new Object(args); <jsp:plugin type="|" code="" jspp Ob Object pe protected codebase=""></jsp:plugin> Psf public static final pr private jsps <jsp:setProperty name="|" property=""/> Psfb public static final boolean psf private static final jspu <jsp:useBean id="I" type=""/> Psfi public static final int psfb private static final boolean oup out.print("|") Psfs public static final String psfi private static final int oupl out.println("|") St String psfs private static final String pcg pageContext.getAttribute("|") ab abstract pst printStackTrace(); pcgn pageContext.getAttributeNamesInScope("|") bo boolean psvm public static void main(String[] args){ pcgs pageContext.getAttributesScope("|") br break } pcr pageContext.removeAttribute("|") ca catch ( pu public pcs pageContext.setAttribute("|",) cl class re return pg <%@page |%> cn continue serr System.err.println ("|"); pga <%@page autoFlush="false"%> df default: sout System.out.println ("|"); pgb <%@page buffer="|kb"%> dowhile do { st static pgc <%@page contentType="|"%> } while (condition); sw switch ( pgerr <%@page errorPage="|"%> eq equals sy synchronized pgex <%@page extends="|"%> ex extends tds Thread.dumpStack(); pgie <%@page isErrorPage="true"%> fa false th throws pgim <%@page import="|"%> fi final trycatch try {} pgin <%@page info="|"%> fl float catch (Exception e) {} pgit <%@page isThreadSafe="false"%> forc for (Iterator it = collection.iterator(); tw throw pgl <%@page language="java"%> it.hasNext();) { twn throw new pgs <%@page session="false"%> Object elem = (Object) it.next(); wh while ( rg request.getParameter("|") } whileit while (it.hasNext()) { sg session.getAttribute("|") fore for (Object elem : iterable) { Object elem = (Object) it.next(); sp session.setAttribute("|", ) } } sr session.removeAttribute("|") fori for (int i = 0; i < arr.length; i++) { tglb <%@taglib uri="|"%> JSP Editor Code Templates } Complete List of Keyboard Shortcuts: fy finally ag application.getAttribute("|") ie interface ap application.putAttribute("|",) http://wiki.netbeans.org/KeymapProfileFor60
Python Advanced Programming: The Guide to Learn Python Programming. Reference with Exercises and Samples About Dynamical Programming, Multithreading, Multiprocessing, Debugging, Testing and More