Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / October 2004

Tip: Looking for answers? Try searching our database.

NetBeans Annoyance

Thread view: 
jhludlow - 14 Oct 2004 17:42 GMT
I'm fairly new to NetBeans and, although there are lots of great
features to recommend it, there is one that drives me crazy.  It has
to do with the code auto-complete feature.  I have a tendancy to write
comments as if I were a team of programmers, eg: '...ok, now we're
going to loop through the result set...'.  It's a little silly, but
I've been doing it for 20 years and it's hard to change now.

The problem is that whenever I comment "we're" - or any word ending in
"'re " NetBeans presumes that I'm asking for it to complete the
command, "return" and does the automatic substitution.  No matter that
it's a comment.  So, my comment becomes, "...ok, now we'return going
to loop through the result set...".  It's very annoying.

I've looked through <Tools/Options/Editer Settings/Java Editor>
several times now - but still haven't found the key to stopping this
behaviour.  Does anyone know how to stop NetBeans from doing this?
I'm currently using ver 3.5.1.

Thanks!
Arjan Bos - 15 Oct 2004 19:24 GMT
> The problem is that whenever I comment "we're" - or any word ending in
> "'re " NetBeans presumes that I'm asking for it to complete the
[quoted text clipped - 6 lines]
> behaviour.  Does anyone know how to stop NetBeans from doing this?
> I'm currently using ver 3.5.1.

In version 3.6 there is Tools/Options/Editor Settings/Java Editor. The
first property there is Abbreviations. One of them is re -> returns. You
might want to delete it. If that is unavailable in 3.5.1, you might want
to upgrade to 3.6.
I started using NetBeans with version 2.something and used every dot
version that was released. I used it with the same codebase and never
had any upgrade issues. So that can't hold you back to use 3.6 (although
there might be other reasons not to upgrade).

HTH,

Arjan

Signature

--
If you really want to contact me, then replace the "I see you" text by
its three letter accronym, hetnet.

Fabricate Diem PVNC, Motto of the Night Watch -- Terry Pratchett

jhludlow - 16 Oct 2004 00:27 GMT
Arjan wrote:
> In version 3.6 there is Tools/Options/Editor Settings/Java Editor. The
> first property there is Abbreviations. One of them is re -> returns. You
[quoted text clipped - 4 lines]
> had any upgrade issues. So that can't hold you back to use 3.6 (although
> there might be other reasons not to upgrade).

Thanks Arjan!  Worked like a charm.  I never would have found it hidden there.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.