Highlights of NetBeans IDE 7.

0 Keyboard Shortcuts & Code Templates
Finding, Searching, and Replacing Ctrl-F3 F3/Shift-F3 Ctrl-F/H Alt-F7 Ctrl-Shift-F/H Alt-Shift-U Alt-Shift-H Ctrl-R Ctrl-U, then U Ctrl-U, then L Ctrl-U, then S Ctrl-Shift-V Ctrl-I Search word at insert point Find next/previous in file Find/Replace in file Find usages Find/replace in projects Find usages results Turn off search result highlights Rename Convert selection to uppercase Convert selection to lowercase Toggle case of selection Paste formatted Jump to quick search field Coding in Java Alt-Insert Ctrl-Shift-I Alt-Shift-I Alt-Shift-F Alt-Shift Left/ Right/Up/Down Ctrl-Shift-Up/D Ctrl/Alt-F12 Ctrl-/ Ctrl-E Coding in C/C++ Alt-Shift-C Ctrl-F9 Coding in Ruby Ctrl-Shift-A Alt-ShiftPeriod/Comma Ctrl-Shift-Space Ctrl-Shift-T F9 F11 Shift-F11 Ctrl-Q Ctrl-Shift-U Ctrl-F6/Alt-F6 F6/Shift-F6 Jump Rails action > view Select Next/Previous element Show documentation Jump from test file to file Compile package/ file Build main project Clean & build main project Set request parameters Create JUnit test Run JUnit test on file/project Run main project/file Go to declaration Evaluate expression Generate code Fix all class imports Fix selected class's import Format selection Shift lines left/right/up/down Copy lines up/down Inspect members/hierarchy Add/remove comment lines Delete current line Opening and Toggling between Views Ctrl-Tab (Ctrl-`) Shift-Escape Ctrl-F4/Ctrl-W Ctrl-Shift-F4 Shift-F10 Alt-Shift-D Debugging Ctrl-F5 Ctrl-Shift-F5 Ctrl-Shift-F6 Shift-F5/F5 F4 F7/F8 Ctrl-F7 Ctrl-Alt-Up Ctrl-Alt-Down Ctrl-F9 Ctrl-F8 Ctrl-Shift-F8 Ctrl-Shift-F7 Start debugging main project Start debugging current file Start debugging test for file (JUnit) Stop/Continue debugging session Run to cursor location in file Step into/over Step out Go to called method Go to calling method Evaluate expression Toggle breakpoint New breakpoint New watch Toggle between open documents Maximize window (toggle) Close currently selected window Close all windows Open contextual menu Undock window

Navigating through Source Code Ctrl-O/Alt-Shift-O Go to type/file Ctrl-Shift-T Go to JUnit test Alt-O Go to source Ctrl-B Go to declaration Ctrl-G Go to line Ctrl-Shift-M Toggle add/remove bookmark Ctrl-ShiftNext/previous bookmark Period/Comma Ctrl-Period/CommaNext/previous usage/compile error Ctrl-Shift-1/2/3 Select in Projects/Files/Favorites Ctrl-[ Move caret to matching bracket Ctrl-K/Ctrl-Shift K Next/previous word match Alt-Left/AltGo backward/forward/to last Right/Ctrl-Q edit Alt Up/Down Next/previous marked occurrence

Compiling, Testing, and Running

When typing in the Source Editor, generate the text in the right-column below by typing the abbreviation that is listed in the left-column and then pressing Tab. Java Editor Code Templates En Ex Ob Psf Psfb Psfi Psfs St ab Enumeration Exception Object public static final public static final boolean public static final int public static final String String abstract

soutv System.err.println("|") pageContext. public static void main(String[] args){ } pu public re return runn Runnable runnable = new Runnable() { public void run() {}}.) application.} while (exp) {} JSP Editor Code Templates ag ap ar cfgi 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. instanceof import length na newo pe pr psf psfb psfi psfs pst psvm native Object name = new Object(args).hasNext()) { Object elem = (Object) it.getParameter("|") session.) } for (int i = 0.iterator(). i < arr.println ("|"). th throws tr transient trycatch try {} catch (Exception e) {} tw throw twn throw new vo volatile wh while ( whileit while (it. sh short sout System. i++) {} for (int i = 0. serr System.putAttribute("|".removeAttribute("|") <%@taglib uri="|"%> fore fori forl forst forv fy ie ifelse iff im inst iof ir le .println("Object = " + Object).0 Keyboard Shortcuts & Code Templates as bcom bo br ca cl cn db df dowhile eq ex fa fcom fi fl forc assert true. ) session.getAttribute("|") pageContext.out. i++) { Object object = lst.removeAttribute("|") config.length.elementAt(i).size().getAttributesScope("|") pageContext.hasMoreTokens().removeAttribute("|") pageContext.next().getAttribute("|") session.} finally{ |} interface if (condition){}else { } if (exp) {} implements if (exp instanceof Object) { Object obj = (Object) exp.getAttribute("|") application. i < vct. it.hasMoreElements()) { Object elem = (Object) en.dumpStack().size().get(i). protected private private static final private static final boolean private static final int private static final String printStackTrace().setAttribute("|".hasNext(). catch ( class continue double default: do { } while (condition).print("|") out. st static su super sw switch (var) { case val: break. /**/ boolean break.next(). equals extends false // <editor-fold></editor-fold> final float for (Iterator it = collection.} whilen whilexp while (en. } for (StringTokenizer st = new StringTokenizer("").) <%@page |%> <%@page autoFlush="false"%> <%@page buffer="|kb"%> <%@page contentType="|"%> <%@page errorPage="|"%> <%@page extends="|"%> <%@page isErrorPage="true"%> <%@page import="|"%> <%@page info="|"%> <%@page isThreadSafe="false"%> <%@page language="java"%> <%@page session="false"%> request. i < lst.out.setAttribute("|". i++) { Object object = vct.) { Object elem = (Object) it. st. default: throw new AssertionError().} sy synchronized tds Thread.getAttributeNamesInScope("|") pageContext.nextElement(). } for (Object elem : iterable) { } for (int i = 0.println ("|").getInitParameter("|") <jsp:forward page="|"/> <jsp:getProperty name="|" property="" /> <jsp:include page="|"/> <jsp:plugin type="|" code="" codebase=""></jsp:plugin> <jsp:setProperty name="|" property=""/> <jsp:useBean id="I" type=""/> out.Highlights of NetBeans IDE 7.

Sign up to vote on this title
UsefulNot useful