Over a million developers have joined DZone.

My Weekly NetBeans Tip (4): Pee You in NetBeans!

DZone's Guide to

My Weekly NetBeans Tip (4): Pee You in NetBeans!

· Java Zone ·
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

Trying to learn all those code templates to get real benefit out of the Java parts of NetBeans IDE. Different ways to structure my learning. One way is simple: take all Java code templates that consist of TWO letters, such as "pu", which expands to "public" and learn all of them, just the two letter ones. These are they:

  • En
  • Ex
  • Ob
  • St
  • ab
  • bo
  • ca
  • cl
  • cn
  • df
  • eq
  • ex
  • fa
  • fi
  • fl
  • fy
  • ie
  • im
  • ir
  • le
  • pe
  • pr
  • pu
  • re
  • st
  • sw
  • sy
  • th
  • tw
  • wh

See? Not so many. :-) The ones I find most useful and will start using:

  • bo
  • St
  • cl
  • ir
  • pu
  • pr
  • re

Wanna know what they mean? Type them in a Java file in NetBeans and then press Tab. Can't do all the work for ya, ya know..

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}