Vous êtes sur la page 1sur 2

Highlights of NetBeans IDE 8.0 Keyboard Shortcuts & Code e!

"lates
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 oggle Search Result Highlights
R Rena!e
U" then U #onvert Selection to Uppercase
U" then $ #onvert Selection to $o%ercase
U" then S oggle #ase o& Selection
' Paste For!atted
( Sho% #lip)oard Histor*
I +u!p to ,uic- Search Field
$ #op* File Path
Navigating through Source Code
. / . Go to *pe / File
Go to +Unit est
/ Go to Source
/ Go to (eclaration
G Go to $ine
0 oggle /oo-!ar-
Period /
#o!!a
Next / Previous /oo-!ar-
1 / 2 Select in Projects / Files
3 0ove #aret to 0atching /rac-et
, Go o $ast 4dit $ocation
Period /
#o!!a
Select Next / Previous 4le!ent
Coding in Java
I Generate #ode
I Fix I!ports
I Fix I!port &or Selected #lass
F For!at Selection
5 / 6 / 7 /
8
Select $e&t / Right / Up / (o%n
R Rectangular Selection 9oggle:
7 / 8 #op* Selection Up / (o%n
F12 Inspect 0e!)ers / Hierarch*
Shi&t # or / ;dd / Re!ove #o!!ent $ines
4 (elete #urrent $ine
Coding in C/C++
G Go to (eclaration
F< 4valuate 4xpression
Compiling, Testing, and Running
U #reate Unit est
Go to Unit est
F= / F= Run Unit est on Project / File
F= / F= Run 0ain Project / File
F= (e)ug est File
Opening and Toggling between iews
> Go to Previous (ocu!ent
4sc 0axi!i?e / 0ini!i?e Windo%
9oggle:
W #lose #urrentl* Selected
Windo%
F@ #lose all Windo%s
( Undoc- / Redoc- Windo%
9oggle:
Reopen Recentl* #losed File
0ouse Wheel
Up / (o%n
Aoo! ext In / .ut
S oggle Inspect 0ode
!ebugging
FB (e)ug Selected File
F= (e)ug est File
FB #ontinue (e)ugger Session
FB Finish (e)ugger Session
F@ Run to #ursor $ocation in File
F7 / FC Step Into / .ver
F7 Step .ut
7 / 8 Go to #alled / #alling 0ethod
F7 4valuate 4xpression
FC oggle /rea-point
FC Ne% /rea-point
F7 Ne% Watch
Notes"
D represents ctrl
D Press &n to use &unction -e*s 9eEgE" FB" F=" FC:
Java #ditor Code Templates
When t*ping in the Source 4ditor" generate the text in the
rightFcolu!n )elo% )* t*ping the a))reviation that is
listed in the le&tFcolu!n and then pressing a)E
4n 4nu!eration
4x 4xception
.) .)ject
Ps& pu)lic static &inal
Ps&) pu)lic static &inal )oolean
Ps&i pu)lic static &inal int
Ps&s pu)lic static &inal String
St String
a) a)stract
as assert trueG
)co! /HH/
Highlights of NetBeans IDE 8.0 Keyboard Shortcuts & Code e!"lates
)o )oolean
)r )rea-G
ca catch 9
cl class
cn continue
d) dou)le
d& de&aultI
do%hile do J
K %hile 9condition:G
eL eLuals
ex extends
&a &alse
&co! // MeditorF&oldNM/editorF&oldN
&i &inal
&l &loat
&orc
&or 9Iterator it O collectionEiterator9:G
itEhasNext9:G: J
Object elem O 9Object: itEnext9:G
K
&ore &or 9Object elem I itera)le: J
K
&ori &or 9int i O PG i M arrElengthG iQQ: JK
&orl &or 9int i O PG i M lstEsi?e9:G iQQ: J
.)ject o)ject O lstEget9i:G K
&orst &or 9Stringo-eni?er st O ne%
Stringo-eni?er9RR:G stEhas0oreo-ens9:G: K
&orv &or 9int i O PG i M vctEsi?e9:G iQQ: J
Object o)ject O vctEele!ent;t9i:GK
&* &inall*J SK
ie inter&ace
i&else i& 9condition:JKelse J
K
i&& i& 9exp: JK
i! i!ple!ents
inst i& 9exp instanceo& Object: J
Object o)j O 9Object: expG
io& instanceo&
ir i!port
le length
na native
ne%o Object name O ne% Object9args:G
pe protected
pr private
ps& private static &inal
ps&) private static &inal )oolean
ps&i private static &inal int
ps&s private static &inal String
pst printStac-race9:G
psv! pu)lic static void !ain9String3T args:J
K
pu pu)lic
re return
runn Runna)le runna)le O ne% Runna)le9: J
pu)lic void run9: JKKG
serr S*ste!EerrEprintln 9RSR:G
sh short
sout S*ste!EoutEprintln 9RSR:G
soutv S*ste!EoutEprintln9RObject O R Q Object:G
st static
su super
s% s%itch 9var: J case valI )rea-G
de&aultI thro% ne% ;ssertion4rror9:GK
s* s*nchroni?ed
tds hreadEdu!pStac-9:G
th thro%s
tr transient
tr*catch tr* JK
catch 94xception e: JK
t% thro%
vo volatile
%h %hile 9
%hileit %hile 9it.hasNext9:: J
Object elem O 9Object: itEnext9:GK
%hilen %hile 9enEhas0ore4le!ents9:: J
Object elem O 9Object:
enEnext4le!ent9:GK
%hilexp %hile 9exp: JK
JavaScript #ditor Code Templates
al %indo%Ealert9UJ!essageK:G
)r UJnoFindentK)rea-G
ca UJnoFindentKcase
catch
catch 9UJexceptionK: J
UJcursorK
K
cond %indo%EconsoleEde)ug9UJde)ugK:G
coni %indo%EconsoleEin&o9UJin&oK:G
conl %indo%EconsoleElog9UJlogK:G
con% %indo%EconsoleE%arn9UJ%arnK:G
ct UJnoFindentKcatch
do UJnoFindentKdocu!ent
d% docu!entE%rite9UJ!essageK:G
else
4lse J
UJcursorK
K
eL UJnoFindentKeLuals
&a UJnoFindentK&alse
&orin
&or 9var UJite!K in UJo)jectK: J
UJselectionKUJcursorK
K
&un
&unction UJna!eK9UJpara!etersK: J
UJselectionKUJcursorK
K
hi UJnoFindentK%indo%Ehistor*
i&
i& 9UJexprK: J
UJselectionKUJcursorK
K
io& UJnoFindentKinstanceo&
json JRUJ&ieldKRI RUJvalueKRK
lo UJnoFindentK%indo%Elocation
ne%
UJnoFindentKvar UJna!eK O ne% UJt*peK9U
Jargu!entsK:G
pr&
UJpropert*Na!eKI &unction9UJpara!etersK: J
UJcursorK
K"
re UJnoFindentKreturn
var UJnoFindentKvar UJna!eK O UJvalueKG
%in UJnoFindentK%indo%

Vous aimerez peut-être aussi