SlideShare a Scribd company logo
Highlights of NetBeans IDE 8.0 Keyboard Shortcuts & Code Templates 
Finding, Searching, and Replacing 
Ctrl-F3 Search word at insert point 
F3/Shift-F3 Find next/previous in file 
Ctrl-F/H Find/Replace in file 
Alt-F7 Find usages 
Ctrl-Shift-F/H Find/replace in projects 
Alt-Shift-U Find usages results 
Alt-Shift-H Turn off search result highlights 
Ctrl-R Rename 
Ctrl-U, then U Convert selection to uppercase 
Ctrl-U, then L Convert selection to lowercase 
Ctrl-U, then S Toggle case of selection 
Ctrl-Shift-V Paste formatted 
Ctrl-Shift-D Show Clipboard History 
Ctrl-I Jump to quick search field 
Alt-Shift-L Copy file path 
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-Shift-Period / 
Next/previous bookmark 
Comma 
Ctrl-Period / 
Comma 
Next/previous usage/compile 
error 
Alt-Shift-Period / 
Comma 
Select next/previous element 
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/Alt- 
Go backward/forward/to last 
Right/Ctrl-Q 
edit 
Alt Up / Down Next/previous marked 
occurrence 
Coding in C/C++ 
Alt-Shift-C Go to declaration 
Ctrl-F9 Evaluate expression 
Coding in Java 
Alt-Insert Generate code 
Ctrl-Shift-I Fix all class imports 
Alt-Shift-I Fix selected class's import 
Alt-Shift-F Format selection 
Alt-Shift Left/ 
Right/Up/Down 
Shift lines left/right/up/down 
Ctrl-Shift-R Rectangular Selection (Toggle) 
Ctrl-Shift-Up/D Copy lines up/down 
Ctrl/Alt-F12 Inspect members/hierarchy 
Ctrl-Shift-C/ Ctrl-/Add/remove comment lines 
Ctrl-E Delete current line 
Compiling, Testing, and Running 
F9 Compile package/ file 
F11 Build main project 
Shift-F11 Clean & build main project 
Ctrl-Q Set request parameters 
Ctrl-Shift-U Create Unit test 
Ctrl-F6/Alt-F6 Run Unit test on file/project 
F6/Shift-F6 Run main project/file 
Opening and Toggling between Views 
Ctrl-Tab (Ctrl-`) Switch between open 
documents by order used 
Shift-Escape Maximize window (toggle) 
Ctrl-F4/Ctrl-W Close selected window 
Ctrl-Shift-F4 Close all windows 
Shift-F10 Open contextual menu 
Ctrl-PgUp / 
PgDown 
Switch between open documents 
by order of tabs 
Ctrl-Alt-T Reopen recently closed file 
Ctrl-Alt-PgUp / 
PgDown 
Toggle between editor types 
Alt-Mouse Wheel 
Up / Down 
Zoom text in / out 
Ctrl-Shift-S Toggle Inspect Mode 
Debugging 
Ctrl-F5 Start debugging main project 
Ctrl-Shift-F5 Start debugging current file 
Ctrl-Shift-F6 Start debugging test for file 
Shift-F5/F5 Stop/Continue debugging session 
F4 Run to cursor location in file 
F7/F8 Step into/over 
Ctrl-F7 Step out 
Ctrl-Alt-Up Go to called method 
Ctrl-Alt-Down Go to calling method 
Ctrl-F9 Evaluate expression 
Ctrl-F8 Toggle breakpoint 
Ctrl-Shift-F8 New breakpoint 
Ctrl-Shift-F7 New watch 
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 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
Highlights of NetBeans IDE 8.0 Keyboard Shortcuts & Code Templates 
as assert true; 
bcom /**/ 
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) {} 
JSP 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

More Related Content

What's hot

C language updated
C language updatedC language updated
C language updated
Arafat Bin Reza
 
仕事で使うF#
仕事で使うF#仕事で使うF#
仕事で使うF#bleis tift
 
Data structures stacks
Data structures   stacksData structures   stacks
Data structures stacks
maamir farooq
 
More on Lex
More on LexMore on Lex
More on LexTech_MX
 
Python 3000
Python 3000Python 3000
Python 3000
Bob Chao
 
Ponters
PontersPonters
Mouse programming in c
Mouse programming in cMouse programming in c
Mouse programming in cgkgaur1987
 
About Go
About GoAbout Go
About Go
Jongmin Kim
 
The Swift Compiler and Standard Library
The Swift Compiler and Standard LibraryThe Swift Compiler and Standard Library
The Swift Compiler and Standard Library
Santosh Rajan
 
Top down parsing(sid) (1)
Top down parsing(sid) (1)Top down parsing(sid) (1)
Top down parsing(sid) (1)
Siddhesh Pange
 
C Programming Project
C Programming ProjectC Programming Project
C Programming Project
Vijayananda Mohire
 
Function therory
Function theroryFunction therory
Function therory
Tuomas Hietanen
 
devLink - What's New in C# 4?
devLink - What's New in C# 4?devLink - What's New in C# 4?
devLink - What's New in C# 4?
Kevin Pilch
 
Unix Tutorial
Unix TutorialUnix Tutorial
Unix Tutorial
Sanjay Saluth
 
Console Io Operations
Console Io OperationsConsole Io Operations
Console Io Operations
archikabhatia
 
Phyton Learning extracts
Phyton Learning extracts Phyton Learning extracts
Phyton Learning extracts
Pavan Babu .G
 
Write Your Own Compiler in 24 Hours
Write Your Own Compiler in 24 HoursWrite Your Own Compiler in 24 Hours
Write Your Own Compiler in 24 Hours
Phillip Trelford
 

What's hot (19)

C language updated
C language updatedC language updated
C language updated
 
仕事で使うF#
仕事で使うF#仕事で使うF#
仕事で使うF#
 
Data structures stacks
Data structures   stacksData structures   stacks
Data structures stacks
 
More on Lex
More on LexMore on Lex
More on Lex
 
Python 3000
Python 3000Python 3000
Python 3000
 
C++ nots
C++ notsC++ nots
C++ nots
 
Ponters
PontersPonters
Ponters
 
Mouse programming in c
Mouse programming in cMouse programming in c
Mouse programming in c
 
About Go
About GoAbout Go
About Go
 
The Swift Compiler and Standard Library
The Swift Compiler and Standard LibraryThe Swift Compiler and Standard Library
The Swift Compiler and Standard Library
 
Top down parsing(sid) (1)
Top down parsing(sid) (1)Top down parsing(sid) (1)
Top down parsing(sid) (1)
 
C Programming Project
C Programming ProjectC Programming Project
C Programming Project
 
Function therory
Function theroryFunction therory
Function therory
 
week-16x
week-16xweek-16x
week-16x
 
devLink - What's New in C# 4?
devLink - What's New in C# 4?devLink - What's New in C# 4?
devLink - What's New in C# 4?
 
Unix Tutorial
Unix TutorialUnix Tutorial
Unix Tutorial
 
Console Io Operations
Console Io OperationsConsole Io Operations
Console Io Operations
 
Phyton Learning extracts
Phyton Learning extracts Phyton Learning extracts
Phyton Learning extracts
 
Write Your Own Compiler in 24 Hours
Write Your Own Compiler in 24 HoursWrite Your Own Compiler in 24 Hours
Write Your Own Compiler in 24 Hours
 

Similar to Shortcuts JAVA

best hotels in Pune
best hotels in Punebest hotels in Pune
best hotels in Pune
KhushiRaj39
 
Netbeans keyboard shortcut
Netbeans keyboard shortcutNetbeans keyboard shortcut
Netbeans keyboard shortcut
Jubair Ahmed Junjun
 
Php storm reference_card
Php storm reference_cardPhp storm reference_card
Php storm reference_card
AlexanderAlekhin4
 
IntelliJ IDEA Default Keymap
IntelliJ IDEA Default KeymapIntelliJ IDEA Default Keymap
IntelliJ IDEA Default Keymap
Thanh Nguyen
 
IntelliJIDEA_ReferenceCard.pdf
IntelliJIDEA_ReferenceCard.pdfIntelliJIDEA_ReferenceCard.pdf
IntelliJIDEA_ReferenceCard.pdf
DvrIsis2
 
Netbeans help
Netbeans helpNetbeans help
Netbeans help
Abhinav Dhasmana
 
Programming in C
Programming in CProgramming in C
Programming in C
eswarisriram
 
Programming in C
Programming in CProgramming in C
Programming in C
sujathavvv
 
Summary of C++17 features
Summary of C++17 featuresSummary of C++17 features
Summary of C++17 features
Bartlomiej Filipek
 
The Kotlin Programming Language
The Kotlin Programming LanguageThe Kotlin Programming Language
The Kotlin Programming Languageintelliyole
 
Python 3000
Python 3000Python 3000
Python 3000
Alexandro Colorado
 
Using Flow-based programming to write tools and workflows for Scientific Comp...
Using Flow-based programming to write tools and workflows for Scientific Comp...Using Flow-based programming to write tools and workflows for Scientific Comp...
Using Flow-based programming to write tools and workflows for Scientific Comp...
Samuel Lampa
 
Rust With async / .await
Rust With async / .awaitRust With async / .await
Rust With async / .await
Mario Alexandro Santini
 
Fb cheatsheet12b
Fb cheatsheet12bFb cheatsheet12b
Fb cheatsheet12b
ilesh raval
 
Golang basics for Java developers - Part 1
Golang basics for Java developers - Part 1Golang basics for Java developers - Part 1
Golang basics for Java developers - Part 1
Robert Stern
 

Similar to Shortcuts JAVA (20)

best hotels in Pune
best hotels in Punebest hotels in Pune
best hotels in Pune
 
Netbeans keyboard shortcut
Netbeans keyboard shortcutNetbeans keyboard shortcut
Netbeans keyboard shortcut
 
Php storm reference_card
Php storm reference_cardPhp storm reference_card
Php storm reference_card
 
IntelliJ IDEA Default Keymap
IntelliJ IDEA Default KeymapIntelliJ IDEA Default Keymap
IntelliJ IDEA Default Keymap
 
Ruby mine referencecard
Ruby mine referencecardRuby mine referencecard
Ruby mine referencecard
 
IntelliJIDEA_ReferenceCard.pdf
IntelliJIDEA_ReferenceCard.pdfIntelliJIDEA_ReferenceCard.pdf
IntelliJIDEA_ReferenceCard.pdf
 
Netbeans help
Netbeans helpNetbeans help
Netbeans help
 
Programming in C
Programming in CProgramming in C
Programming in C
 
Programming in C
Programming in CProgramming in C
Programming in C
 
Vim and Python
Vim and PythonVim and Python
Vim and Python
 
Unit5 C
Unit5 C Unit5 C
Unit5 C
 
7.0 files and c input
7.0 files and c input7.0 files and c input
7.0 files and c input
 
Summary of C++17 features
Summary of C++17 featuresSummary of C++17 features
Summary of C++17 features
 
The Kotlin Programming Language
The Kotlin Programming LanguageThe Kotlin Programming Language
The Kotlin Programming Language
 
Unit v
Unit vUnit v
Unit v
 
Python 3000
Python 3000Python 3000
Python 3000
 
Using Flow-based programming to write tools and workflows for Scientific Comp...
Using Flow-based programming to write tools and workflows for Scientific Comp...Using Flow-based programming to write tools and workflows for Scientific Comp...
Using Flow-based programming to write tools and workflows for Scientific Comp...
 
Rust With async / .await
Rust With async / .awaitRust With async / .await
Rust With async / .await
 
Fb cheatsheet12b
Fb cheatsheet12bFb cheatsheet12b
Fb cheatsheet12b
 
Golang basics for Java developers - Part 1
Golang basics for Java developers - Part 1Golang basics for Java developers - Part 1
Golang basics for Java developers - Part 1
 

Recently uploaded

一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 

Recently uploaded (20)

一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 

Shortcuts JAVA

  • 1. Highlights of NetBeans IDE 8.0 Keyboard Shortcuts & Code Templates Finding, Searching, and Replacing Ctrl-F3 Search word at insert point F3/Shift-F3 Find next/previous in file Ctrl-F/H Find/Replace in file Alt-F7 Find usages Ctrl-Shift-F/H Find/replace in projects Alt-Shift-U Find usages results Alt-Shift-H Turn off search result highlights Ctrl-R Rename Ctrl-U, then U Convert selection to uppercase Ctrl-U, then L Convert selection to lowercase Ctrl-U, then S Toggle case of selection Ctrl-Shift-V Paste formatted Ctrl-Shift-D Show Clipboard History Ctrl-I Jump to quick search field Alt-Shift-L Copy file path 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-Shift-Period / Next/previous bookmark Comma Ctrl-Period / Comma Next/previous usage/compile error Alt-Shift-Period / Comma Select next/previous element 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/Alt- Go backward/forward/to last Right/Ctrl-Q edit Alt Up / Down Next/previous marked occurrence Coding in C/C++ Alt-Shift-C Go to declaration Ctrl-F9 Evaluate expression Coding in Java Alt-Insert Generate code Ctrl-Shift-I Fix all class imports Alt-Shift-I Fix selected class's import Alt-Shift-F Format selection Alt-Shift Left/ Right/Up/Down Shift lines left/right/up/down Ctrl-Shift-R Rectangular Selection (Toggle) Ctrl-Shift-Up/D Copy lines up/down Ctrl/Alt-F12 Inspect members/hierarchy Ctrl-Shift-C/ Ctrl-/Add/remove comment lines Ctrl-E Delete current line Compiling, Testing, and Running F9 Compile package/ file F11 Build main project Shift-F11 Clean & build main project Ctrl-Q Set request parameters Ctrl-Shift-U Create Unit test Ctrl-F6/Alt-F6 Run Unit test on file/project F6/Shift-F6 Run main project/file Opening and Toggling between Views Ctrl-Tab (Ctrl-`) Switch between open documents by order used Shift-Escape Maximize window (toggle) Ctrl-F4/Ctrl-W Close selected window Ctrl-Shift-F4 Close all windows Shift-F10 Open contextual menu Ctrl-PgUp / PgDown Switch between open documents by order of tabs Ctrl-Alt-T Reopen recently closed file Ctrl-Alt-PgUp / PgDown Toggle between editor types Alt-Mouse Wheel Up / Down Zoom text in / out Ctrl-Shift-S Toggle Inspect Mode Debugging Ctrl-F5 Start debugging main project Ctrl-Shift-F5 Start debugging current file Ctrl-Shift-F6 Start debugging test for file Shift-F5/F5 Stop/Continue debugging session F4 Run to cursor location in file F7/F8 Step into/over Ctrl-F7 Step out Ctrl-Alt-Up Go to called method Ctrl-Alt-Down Go to calling method Ctrl-F9 Evaluate expression Ctrl-F8 Toggle breakpoint Ctrl-Shift-F8 New breakpoint Ctrl-Shift-F7 New watch 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 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
  • 2. Highlights of NetBeans IDE 8.0 Keyboard Shortcuts & Code Templates as assert true; bcom /**/ 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) {} JSP 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