Netbeans Keyboard Short Cut

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Netbeans Keyboard Short Cut as PDF for free.

More details

  • Words: 756
  • Pages: 2
Highlights of NetBeans IDE 6.1 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

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

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

Shift lines left/right/up/down Copy lines up/down Inspect members/hierarchy Add/remove comment lines Delete current line

Coding in C/C++ Alt-Shift-C Ctrl-F9

Go to declaration Evaluate expression

Coding in Ruby Ctrl-Shift-A Alt-ShiftPeriod/Comma Ctrl-Shift-Space Ctrl-Shift-T

Jump Rails action > view Select Next/Previous element Show documentation Jump from test file to file

SOA Tab-Shift-Arrows Alt-Shift-F Alt/Shift-Enter Ctrl-Shift-F9

Move through elements Advanced search Expand/collapse elements Show BPEL Mapper

UML Alt-Shift-A/O Ctrl-Shift-F F8 Ctrl-Shift-5

Insert attribute/operation into selected element Fit diagram into window Toggle Overview window Select active UML diagram

Compiling, Testing, and Running

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

Generate code Fix all class imports Fix selected class's import Format selection

F9 F11 Shift-F11 Ctrl-Q

Compile package/ file Build main project Clean & build main project Set request parameters

Ctrl-Shift-U Ctrl-F6/Alt-F6 F6/Shift-F6

Create JUnit test Run JUnit test on file/project Run main project/file

Opening and Toggling between Views Ctrl-Tab (Ctrl-`) Shift-Escape Ctrl-F4/Ctrl-W Ctrl-Shift-F4 Shift-F10 Alt-Shift-D

Toggle between open documents Maximize window (toggle) Close currently selected window Close all windows Open contextual menu Undock window

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

Highlights of NetBeans IDE 6.1 Keyboard Shortcuts & Code Templates When typing in the Source Editor, you can generate the text in the right-column of the following list 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 bo br ca cl cn df dowhile eq ex fa fi fl forc

fore fori fy ie ifelse

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: do { } while (condition); equals extends false final float for (Iterator it = collection.iterator(); it.hasNext();) { Object elem = (Object) it.next(); } for (Object elem : iterable) { } for (int i = 0; i < arr.length; i++) { } finally interface if (condition){}else { }

im iof ir le newo pe pr psf psfb psfi psfs pst psvm

implements instanceof import length Object name = new Object(args); protected private private static final private static final boolean private static final int private static final String printStackTrace(); public static void main(String[] args){ } pu public re return serr System.err.println ("|"); sout System.out.println ("|"); st static sw switch ( sy synchronized tds Thread.dumpStack(); th throws trycatch try {} catch (Exception e) {} tw throw twn throw new wh while ( whileit while (it.hasNext()) { Object elem = (Object) it.next(); }

jspi

JSP Editor Code Templates

1. Choose Tools > Options from the main menu. 2. For code templates, select Editor and click the Code Templates tab. Here you can also change the expansion key, from Tab to something else. 3. For keyboard shortcuts, select Keymap and choose a profile from the Profile drop-down list.

ag ap ar cfgi jspf jspg

application.getAttribute("|") application.putAttribute("|",) application.removeAttribute("|") config.getInitParameter("|") <jsp:forward page="|"/> <jsp:getProperty name="|" property="" />

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

<jsp:include page="|"/> <jsp:plugin type="|" code="" codebase=""> <jsp:setProperty name="|" property=""/> <jsp:useBean id="I" type=""/> out.print("|") out.println("|") pageContext.getAttribute("|") pageContext.getAttributeNamesInScope("|") pageContext.getAttributesScope("|") pageContext.removeAttribute("|") pageContext.setAttribute("|",) <%@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.getParameter("|") session.getAttribute("|") session.setAttribute("|", ) session.removeAttribute("|") <%@taglib uri="|"%>

To Change Default Settings:

Complete List of Keyboard Shortcuts: wiki.netbeans.org/wiki/view/KeymapProfileFor60

Related Documents

Netbeans Keyboard Short Cut
November 2019 11
Excel Short Cut
May 2020 13
Short Cut Keys
June 2020 13
Netbeans
October 2019 23