View Single Post
  #1 (permalink)  
Old 12-06-2007, 01:21 AM
mwildam mwildam is offline
Member
 
Join Date: Aug 2007
Posts: 36
mwildam is on a distinguished road
Netbeans 6.0 - code completion of method parameters
I just updated to NetBeans 6.0 and I find the code completion of method parameters very annoying and counter productive.

It inserts the parameters as keywords when choosing a method from the list after pressing CTRL+SPACE.

How can I switch this off?

I searched the options and also the forum but didn't find a solution.

Sample - to understand what I mean:
Code:
public static String formatDate(Date myDate, String myFormat)
When typing
Code:
Str.form<CTRL+SPACE,choose method, ENTER>
it looks like
Code:
Str.formatDate(myDate, errorMessage)
I know that myDate is selected by default afterwards and pressing space or whatever replaces the selected parameter. For a method with a single parameter is not a big problem but if a method has more parameters it is annoying, because although myDate is selected and I can overwrite it, I have to proceed to the next parameter with CTRL+M instead of simply typing a comma. This is very annoying if a method has more parameters and as this annoyance occurs approx. every 5 lines that accumulates.

So I am searching for the appropriate option to switch that "feature" completely off. As this "feature" wasn't there in 5.5.1 I hope for the ability to switch off that.
__________________
Greetings, Martin Wildam.
Reply With Quote
Sponsored Links