Skip to main content

Highlights of NetBeans IDE 8.0 Keyboard Shortcuts & Code Templates

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
Ctrl-Shift-B Go to source
Ctrl-B Go to declaration
Ctrl-G Go to line
Ctrl-Shift-M Toggle add/remove bookmark
Ctrl-Shift-Period /
Comma
Next/previous bookmark
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-
Right/Ctrl-Q
Go backward/forward/to last
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
as assert true;
bcom /**/
bo Boolean
br break

Comments

Popular posts from this blog

Properties

Appendix A. Common application properties Various properties can be specified inside your  application.properties / application.yml  file or as command line switches. This section provides a list common Spring Boot properties and references to the underlying classes that consume them. Property contributions can come from additional jar files on your classpath so you should not consider this an exhaustive list. It is also perfectly legit to define your own properties. This sample file is meant as a guide only. Do  not  copy/paste the entire content into your application; rather pick only the properties that you need. # =================================================================== # COMMON SPRING BOOT PROPERTIES # # This sample file is provided as a guideline. Do NOT copy it in its # entirety to your own application. ^^^ # =================================================================== # ---------...

Java Questions

1.WHAT IS JAVA? Java is a very simple, high level, Secured, Multithreaded, Platform independent, Object Oriented Programing Language. It was invented by "Gems Gosling" in SUN MICROSYSTEM for developing internet applications. ========================================================== 2.WHY JAVA IS VERY SIMPLE? its syntaxes are similar to c/c++. it omits many of the features that makes c and c++ complex, confusing and unsafe. java has inbuilt rich set of programs (API) sothat project development fast and easy. Note: In java we don't implement most horrible topics such as pointers, structures, union, operator overloading, multiple classes inheritance and many more. ========================================================== 3.IS JAVA SUPPORTS POINTERS? Java doesn't supports pointer but internally pointers are there in java software [JVM]. Java native language is C that means java language is developed using C language so Java software can have pointers in...

Stellar Data Recovery

Stellar Data Recovery Tips - पानी में डूबी हुई हार्ड डिस्क से कैसे डेटा रिकवर करें पानी में डूबी हुई हार्ड डिस्क से कैसे डेटा रिकवर करें पिछले कुछ हफ्तों बारिश के रूप में प्रकृति का कहर अपने चरम पर था , जिसकी वजह से चेन्नई शहर में जीवन प्रभावित हुआ । भूकंप से लेकर भारी बाढ़ तक , देश में इस साल प्राकृतिक आपदा के बारे में निरंतर खबरें चलती रही । प्राकृतिक आपदाओं ने मानव जीवन पर एक भयंकर रोक सी लगा दी । प्राकृतिक आपदा के बाद व्यवसायों को भी भारी नुकसान भुगतना पड़ा - प्राकृतिक आपदा से न केवल फिज़िकल नुकसान हुआ लेकिन मूल्यवान डेटा सिस्टम भी प्रभावित हुए ।   हम सब जानते हैं , डिजिटल उपकरण के लिए पानी कितना खतरनाक हैं । हम हमेशा अपने गॅडजेट्स जैसे मोबाइल फोन , कैमरा , लैपटॉप इत्यादि को पानी से दूर रखने के लिए विशेष सावधानी बरतते हैं । लेकिन हम प्राकृतिक आपदाओं के मामले में असहाय हो जाते हैं , जैसे हाल ही में चेन्नई में जो हुआ । ...