This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ JDK VERSION : 1.5.0_04 ] Why not have code-completion add the semicolon for you? In about 90% of the cases I complete to a method (like your example Sean), and it would be nice if CC would just put the semicolon there. Have an option that can turn this on or off would be nice. Iwan
Here's some details from my original post: ------------------------------------------- I find that I'm getting more productive using the new code completion features (great work!). I find one slight possible productivity feature thats missing... (or should I say, I can't seem to find a fast way to do it).. For instance, if I have some code that looks like: .. setHRLastModifiedTime(sourceTekUser.getHRSynchModTime()); setCommonName(sourceTekUser.getCommonName()); setDistinguishedName(sourceTekUser.getDistinguishedName ()); setEmployeeNumber(sourceTekUser.getEmployeeNumber()); .. My problem is that I find myself typing a lot of "END" ";" "[Enter]" The cursor gets placed here: ...getSomeValue()|) And I would like a shortcut to terminate the line. I know an option is to type: ')' - ';' - '[Enter]' But, I'm wondering if anyone knows of, or has plans for a "Terminate statement", or append terminator / semicolon... Perhaps this can be implemented so that when a semicolon is typed, the IDE automatically goes to the end of the line (or current statement), and appends the proper line terminator (for java - ";")..
Perhaps extend as such: Given: digest.append(theUser.toString(tekUserList)| Hitting senicolon should yield: digest.append(theUser.toString(tekUserList));|
Or, hitting Control-Shift Enter would automatically do all of the above, plus add the behavior of the enter key.. putting the curson on the next line, ready to type more statements.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss