SlideShare una empresa de Scribd logo
1 de 2
Descargar para leer sin conexión
Highlights of NetBeans IDE 7.4 Keyboard Shortcuts & Code Templates 
Finding, Searching, and Replacing 
⌃ ⌥ G Search Word at Insert Point 
⌘ G Find Next / Previous in File 
⌘ R Find and Replace in File 
⌃ F7 Find Usages 
⇧ ⌘ F / H Find / Replace in Projects 
⌃ ⇧ U Find Usages Results 
⌃ ⇧ H Toggle Search Result Highlights 
⌃ R Rename 
⌘ U, then U Convert Selection to Uppercase 
⌘ U, then L Convert Selection to Lowercase 
⌘ U, then S Toggle Case of Selection 
⇧ ⌘ V Paste Formatted 
⇧ ⌘ D Show Clipboard History 
⌘ I Jump to Quick Search Field 
⌃ ⇧ L Copy File Path 
Navigating through Source Code 
⌘ O / ⌃ ⇧ O Go to Type / File 
⇧ ⌘ T Go to JUnit Test 
⇧ ⌘ B Go to Source 
⌘ B Go to Declaration 
⌃ G Go to Line 
⇧ ⌘ M Toggle Bookmark 
⇧ ⌘ Period / 
Next / Previous Bookmark 
Comma 
⇧ ⌘ 1 / 2 Select in Projects / Files 
⌘ [ Move Caret to Matching Bracket 
⌃ Q Go To Last Edit Location 
⌃ ⇧ Period / 
Select Next / Previous Element 
Comma 
Coding in Java 
⌃ I Generate Code 
⇧ ⌘ I Fix Imports 
⌃ ⇧ I Fix Import for Selected Class 
⌃ ⇧ F Format Selection 
⌃ ⇧ ← / → / ↑ / ↓Select Left / Right / Up / Down 
⌃ ⇧ R Rectangular Selection (Toggle) 
⌃ ⇧ ↑ / ↓ Copy Selection Up / Down 
⌘ F12 Inspect Members / Hierarchy 
⌘ / Add / Remove Comment Lines 
⌘ E Delete Current Line 
Coding in C/C++ 
⌃ ⇧ G Go to Declaration 
⌘ F9 Evaluate Expression 
Compiling, Testing, and Running 
⇧ ⌘ U Create Unit Test 
⇧ ⌘ T Go to Unit Test 
⌃ F6 / ⌘ F6 Run Unit Test on Project / File 
F6 / ⇧ F6 Run Main Project / File 
⇧ ⌘ F6 Debug Test File 
Opening and Toggling between Views 
⌘ ` Go to Previous Document 
⇧ Esc Maximize / Minimize Window 
(Toggle) 
⌘ W Close Currently Selected 
Window 
⇧ ⌘ F4 Close all Windows 
⌃ ⇧ D Undock / Redock Window 
(Toggle) 
⌥ ⌘ T Reopen Recently Closed File 
⌥ Mouse Wheel 
Zoom Text In / Out 
Up / Down 
⇧ ⌘ S Toggle Inspect Mode 
Debugging 
⇧ ⌘ F5 Debug Selected File 
⇧ ⌘ F6 Debug Test File 
F5 Continue Debugger Session 
⇧ F5 Finish Debugger Session 
F4 Run to Cursor Location in File 
F7 / F8 Step Into / Over 
⌘ F7 Step Out 
⌃ ↑ / ↓ Go to Called / Calling Method 
⌘ F7 Evaluate Expression 
⌘ F8 Toggle Breakpoint 
⇧ ⌘ F8 New Breakpoint 
⇧ ⌘ F7 New Watch 
Notes: 
• ⌃ represents ctrl 
• Press fn to use function keys (e.g., F5, F6, F8) 
Java Editor Code Templates 
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. 
En Enumeration 
Ex Exception 
Ob Object 
Psf public static final 
Psfb public static final boolean 
Psfi public static final int 
Psfs public static final String 
St String 
ab abstract 
as assert true; 
bcom /**/
Highlights of NetBeans IDE 7.4 Keyboard Shortcuts & Code Templates 
bo boolean 
br break; 
ca catch ( 
cl class 
cn continue 
db double 
df default: 
dowhile do { 
} while (condition); 
eq equals 
ex extends 
fa false 
fcom // <editor-fold></editor-fold> 
fi final 
fl float 
forc for (Iterator it = collection.iterator(); 
it.hasNext();) { 
Object elem = (Object) it.next(); 
} 
fore for (Object elem : iterable) { 
} 
fori for (int i = 0; i < arr.length; i++) {} 
forl for (int i = 0; i < lst.size(); i++) { 
Object object = lst.get(i); } 
forst for (StringTokenizer st = new 
StringTokenizer(""); st.hasMoreTokens();) } 
forv for (int i = 0; i < vct.size(); i++) { 
Object object = vct.elementAt(i);} 
fy finally{ |} 
ie interface 
ifelse if (condition){}else { 
} 
iff if (exp) {} 
im implements 
inst if (exp instanceof Object) { 
Object obj = (Object) exp; 
iof instanceof 
ir import 
le length 
na native 
newo Object name = new Object(args); 
pe protected 
pr private 
psf private static final 
psfb private static final boolean 
psfi private static final int 
psfs private static final String 
pst printStackTrace(); 
psvm public static void main(String[] args){ 
} 
pu public 
re return 
runn Runnable runnable = new Runnable() { 
public void run() {}}; 
serr System.err.println ("|"); 
sh short 
sout System.out.println ("|"); 
soutv System.out.println("Object = " + Object); 
st static 
su super 
sw switch (var) { case val: break; 
default: throw new AssertionError();} 
sy synchronized 
tds Thread.dumpStack(); 
th throws 
tr transient 
trycatch try {} 
catch (Exception e) {} 
tw throw 
vo volatile 
wh while ( 
whileit while (it.hasNext()) { 
Object elem = (Object) it.next();} 
whilen while (en.hasMoreElements()) { 
Object elem = (Object) 
en.nextElement();} 
whilexp while (exp) {} 
JavaScript Editor Code Templates 
al window.alert(${message}); 
br ${no-indent}break; 
ca ${no-indent}case 
catch (${exception}) { 
catch 
${cursor} 
} 
cond window.console.debug(${debug}); 
coni window.console.info(${info}); 
conl window.console.log(${log}); 
conw window.console.warn(${warn}); 
ct ${no-indent}catch 
do ${no-indent}document 
dw document.write(${message}); 
Else { 
else 
${cursor} 
} 
eq ${no-indent}equals 
fa ${no-indent}false 
forin 
for (var ${item} in ${object}) { 
${selection}${cursor} 
} 
fun 
function ${name}(${parameters}) { 
${selection}${cursor} 
} 
hi ${no-indent}window.history 
if (${expr}) { 
if 
${selection}${cursor} 
} 
iof ${no-indent}instanceof 
json {"${field}": "${value}"} 
lo ${no-indent}window.location 
new ${no-indent}var ${name} = new ${type}($ 
{arguments}); 
prf 
${propertyName}: function(${parameters}) { 
${cursor} 
}, 
re ${no-indent}return 
var ${no-indent}var ${name} = ${value}; 
win ${no-indent}window

Más contenido relacionado

Destacado

Windows short cut keys
Windows short cut keysWindows short cut keys
Windows short cut keysEkam Baram
 
quran and science
quran and sciencequran and science
quran and scienceAmna Mishal
 
Did Prophet Muhammad Split the Moon?!
Did Prophet Muhammad Split the Moon?!Did Prophet Muhammad Split the Moon?!
Did Prophet Muhammad Split the Moon?!Hussein Mhanna
 
Introducing Apple iPad Pro
Introducing Apple iPad ProIntroducing Apple iPad Pro
Introducing Apple iPad ProJJ Wu
 
E learning excel short cut keys
E learning excel short cut keysE learning excel short cut keys
E learning excel short cut keysVijay Perepa
 
Easy way to Learn Reciting THE HOLY QURAN
Easy way to Learn Reciting THE HOLY QURANEasy way to Learn Reciting THE HOLY QURAN
Easy way to Learn Reciting THE HOLY QURANMyno Uddin
 
Introducing Apple MacBook Pro 2016
Introducing Apple MacBook Pro 2016Introducing Apple MacBook Pro 2016
Introducing Apple MacBook Pro 2016JJ Wu
 
Scientific miracles
Scientific miraclesScientific miracles
Scientific miraclesrabubakar
 
A Guide Short Cut Keys Alphabetical Listing
A Guide   Short Cut Keys Alphabetical ListingA Guide   Short Cut Keys Alphabetical Listing
A Guide Short Cut Keys Alphabetical Listingcarl_fitzpatrick
 
Apple MacBook 2016
Apple MacBook 2016Apple MacBook 2016
Apple MacBook 2016JJ Wu
 
Introducing Apple iPhone 7
Introducing Apple iPhone 7Introducing Apple iPhone 7
Introducing Apple iPhone 7JJ Wu
 
Importance of Structure in Learning the English Language
Importance of Structure in Learning the English LanguageImportance of Structure in Learning the English Language
Importance of Structure in Learning the English LanguageRanjit Singh Thind
 
Islam and science presentation (adrita)
Islam and science presentation (adrita)Islam and science presentation (adrita)
Islam and science presentation (adrita)Mumtahina Adrita
 
Importance of English Language
Importance of English Language Importance of English Language
Importance of English Language Ankush Srivastava
 
The importance of the english language
The importance of the english languageThe importance of the english language
The importance of the english languageESTANISLAO PAUTA
 
Personality development- A PATH TO SUCCESS
Personality development- A PATH TO SUCCESSPersonality development- A PATH TO SUCCESS
Personality development- A PATH TO SUCCESSsree navya
 

Destacado (16)

Windows short cut keys
Windows short cut keysWindows short cut keys
Windows short cut keys
 
quran and science
quran and sciencequran and science
quran and science
 
Did Prophet Muhammad Split the Moon?!
Did Prophet Muhammad Split the Moon?!Did Prophet Muhammad Split the Moon?!
Did Prophet Muhammad Split the Moon?!
 
Introducing Apple iPad Pro
Introducing Apple iPad ProIntroducing Apple iPad Pro
Introducing Apple iPad Pro
 
E learning excel short cut keys
E learning excel short cut keysE learning excel short cut keys
E learning excel short cut keys
 
Easy way to Learn Reciting THE HOLY QURAN
Easy way to Learn Reciting THE HOLY QURANEasy way to Learn Reciting THE HOLY QURAN
Easy way to Learn Reciting THE HOLY QURAN
 
Introducing Apple MacBook Pro 2016
Introducing Apple MacBook Pro 2016Introducing Apple MacBook Pro 2016
Introducing Apple MacBook Pro 2016
 
Scientific miracles
Scientific miraclesScientific miracles
Scientific miracles
 
A Guide Short Cut Keys Alphabetical Listing
A Guide   Short Cut Keys Alphabetical ListingA Guide   Short Cut Keys Alphabetical Listing
A Guide Short Cut Keys Alphabetical Listing
 
Apple MacBook 2016
Apple MacBook 2016Apple MacBook 2016
Apple MacBook 2016
 
Introducing Apple iPhone 7
Introducing Apple iPhone 7Introducing Apple iPhone 7
Introducing Apple iPhone 7
 
Importance of Structure in Learning the English Language
Importance of Structure in Learning the English LanguageImportance of Structure in Learning the English Language
Importance of Structure in Learning the English Language
 
Islam and science presentation (adrita)
Islam and science presentation (adrita)Islam and science presentation (adrita)
Islam and science presentation (adrita)
 
Importance of English Language
Importance of English Language Importance of English Language
Importance of English Language
 
The importance of the english language
The importance of the english languageThe importance of the english language
The importance of the english language
 
Personality development- A PATH TO SUCCESS
Personality development- A PATH TO SUCCESSPersonality development- A PATH TO SUCCESS
Personality development- A PATH TO SUCCESS
 

Último

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 

Último (20)

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 

Shortcuts mac ejemplo pdf

  • 1. Highlights of NetBeans IDE 7.4 Keyboard Shortcuts & Code Templates Finding, Searching, and Replacing ⌃ ⌥ G Search Word at Insert Point ⌘ G Find Next / Previous in File ⌘ R Find and Replace in File ⌃ F7 Find Usages ⇧ ⌘ F / H Find / Replace in Projects ⌃ ⇧ U Find Usages Results ⌃ ⇧ H Toggle Search Result Highlights ⌃ R Rename ⌘ U, then U Convert Selection to Uppercase ⌘ U, then L Convert Selection to Lowercase ⌘ U, then S Toggle Case of Selection ⇧ ⌘ V Paste Formatted ⇧ ⌘ D Show Clipboard History ⌘ I Jump to Quick Search Field ⌃ ⇧ L Copy File Path Navigating through Source Code ⌘ O / ⌃ ⇧ O Go to Type / File ⇧ ⌘ T Go to JUnit Test ⇧ ⌘ B Go to Source ⌘ B Go to Declaration ⌃ G Go to Line ⇧ ⌘ M Toggle Bookmark ⇧ ⌘ Period / Next / Previous Bookmark Comma ⇧ ⌘ 1 / 2 Select in Projects / Files ⌘ [ Move Caret to Matching Bracket ⌃ Q Go To Last Edit Location ⌃ ⇧ Period / Select Next / Previous Element Comma Coding in Java ⌃ I Generate Code ⇧ ⌘ I Fix Imports ⌃ ⇧ I Fix Import for Selected Class ⌃ ⇧ F Format Selection ⌃ ⇧ ← / → / ↑ / ↓Select Left / Right / Up / Down ⌃ ⇧ R Rectangular Selection (Toggle) ⌃ ⇧ ↑ / ↓ Copy Selection Up / Down ⌘ F12 Inspect Members / Hierarchy ⌘ / Add / Remove Comment Lines ⌘ E Delete Current Line Coding in C/C++ ⌃ ⇧ G Go to Declaration ⌘ F9 Evaluate Expression Compiling, Testing, and Running ⇧ ⌘ U Create Unit Test ⇧ ⌘ T Go to Unit Test ⌃ F6 / ⌘ F6 Run Unit Test on Project / File F6 / ⇧ F6 Run Main Project / File ⇧ ⌘ F6 Debug Test File Opening and Toggling between Views ⌘ ` Go to Previous Document ⇧ Esc Maximize / Minimize Window (Toggle) ⌘ W Close Currently Selected Window ⇧ ⌘ F4 Close all Windows ⌃ ⇧ D Undock / Redock Window (Toggle) ⌥ ⌘ T Reopen Recently Closed File ⌥ Mouse Wheel Zoom Text In / Out Up / Down ⇧ ⌘ S Toggle Inspect Mode Debugging ⇧ ⌘ F5 Debug Selected File ⇧ ⌘ F6 Debug Test File F5 Continue Debugger Session ⇧ F5 Finish Debugger Session F4 Run to Cursor Location in File F7 / F8 Step Into / Over ⌘ F7 Step Out ⌃ ↑ / ↓ Go to Called / Calling Method ⌘ F7 Evaluate Expression ⌘ F8 Toggle Breakpoint ⇧ ⌘ F8 New Breakpoint ⇧ ⌘ F7 New Watch Notes: • ⌃ represents ctrl • Press fn to use function keys (e.g., F5, F6, F8) Java Editor Code Templates 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. En Enumeration Ex Exception Ob Object Psf public static final Psfb public static final boolean Psfi public static final int Psfs public static final String St String ab abstract as assert true; bcom /**/
  • 2. Highlights of NetBeans IDE 7.4 Keyboard Shortcuts & Code Templates bo boolean br break; ca catch ( cl class cn continue db double df default: dowhile do { } while (condition); eq equals ex extends fa false fcom // <editor-fold></editor-fold> fi final fl float forc for (Iterator it = collection.iterator(); it.hasNext();) { Object elem = (Object) it.next(); } fore for (Object elem : iterable) { } fori for (int i = 0; i < arr.length; i++) {} forl for (int i = 0; i < lst.size(); i++) { Object object = lst.get(i); } forst for (StringTokenizer st = new StringTokenizer(""); st.hasMoreTokens();) } forv for (int i = 0; i < vct.size(); i++) { Object object = vct.elementAt(i);} fy finally{ |} ie interface ifelse if (condition){}else { } iff if (exp) {} im implements inst if (exp instanceof Object) { Object obj = (Object) exp; iof instanceof ir import le length na native newo Object name = new Object(args); pe protected pr private psf private static final psfb private static final boolean psfi private static final int psfs private static final String pst printStackTrace(); psvm public static void main(String[] args){ } pu public re return runn Runnable runnable = new Runnable() { public void run() {}}; serr System.err.println ("|"); sh short sout System.out.println ("|"); soutv System.out.println("Object = " + Object); st static su super sw switch (var) { case val: break; default: throw new AssertionError();} sy synchronized tds Thread.dumpStack(); th throws tr transient trycatch try {} catch (Exception e) {} tw throw vo volatile wh while ( whileit while (it.hasNext()) { Object elem = (Object) it.next();} whilen while (en.hasMoreElements()) { Object elem = (Object) en.nextElement();} whilexp while (exp) {} JavaScript Editor Code Templates al window.alert(${message}); br ${no-indent}break; ca ${no-indent}case catch (${exception}) { catch ${cursor} } cond window.console.debug(${debug}); coni window.console.info(${info}); conl window.console.log(${log}); conw window.console.warn(${warn}); ct ${no-indent}catch do ${no-indent}document dw document.write(${message}); Else { else ${cursor} } eq ${no-indent}equals fa ${no-indent}false forin for (var ${item} in ${object}) { ${selection}${cursor} } fun function ${name}(${parameters}) { ${selection}${cursor} } hi ${no-indent}window.history if (${expr}) { if ${selection}${cursor} } iof ${no-indent}instanceof json {"${field}": "${value}"} lo ${no-indent}window.location new ${no-indent}var ${name} = new ${type}($ {arguments}); prf ${propertyName}: function(${parameters}) { ${cursor} }, re ${no-indent}return var ${no-indent}var ${name} = ${value}; win ${no-indent}window