NetBeans Tutorial: Java Editor and JSP Code Templates (win/en)  [edit]

minimize Hide all  maximize Show all

minusplus1. Netbeans Java Editor Code Templates
Type shortcut and press Tab
psvm public static void main
En Enumeration
Ex Exception
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
br break
bo boolean
ca catch
cl class
cn continue
db double
df default
eq equal
ex extends
pu public
pr private
pe protected
th throws
fy finally
im implements
ie interface
tw throw
ir import
le length
sout System.out.println()
soutv System.out.println("obj"+obj)
wh while
vo volatile
iof instanceof
fi final
fl float
fa false
sh short
psf private static final
psfb private static final boolean
psfi private static fianl int
psfs private static final String
pst printStackTrace()
bcom /**/

▲ up

minusplus2. JSP Code Editor Templates
Type shortcut and press Tab
al windows.alert()
br break;
fun function${name}...
hi windows.history
dw document.write()
eq ${}equals
fa ${}false
lo ${}windows.location
re ${}return
Win $()window
ca ${}caseCatch()
catch catch
cond windows.consoledebug()
coni windows.console.info()
conl windows.console.log()
conw windows.console.warn()
ct ${}catch
do ${}document
iof ${}instanceof

▲ up

minusplus3. Compile, Run and test Shortcuts
F9 compile
F11 build
Shift+F11 clean and build
Ctrl+Q set request parameter
Ctrl+Shift+U create unit test
Ctrl+F6 run unit test
F6/Shift+F6 run main project

▲ up


Uploaded by vishaldonga, updated on 2/6/2017