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.
Please add a configuration option to control the auto-completion red box that appears around suggested method parameters when typing. This sometimes causes the cursor to be in the wrong place after enter is pressed. Red box would appear around the "-" in the example below. if(foo.contains("-") { })
Following discussion on nbusers, I agree with this issue. I think that if you press Enter when the caret is outside the red outline, it should behave differently than if you press Enter inside of the outline... I don't know if a configuration option is the solution, I would just distinguish between those two situations...
Agreed, I've already discussed this with somebody the other day. The ENTER behavior should be exactly as you say. I'm marking this as a P3 defect.
Fixed. ENTER behavior changed as requested. changeset 1021213ce539 in main details: http://hg.netbeans.org/main?cmd=changeset;node=1021213ce539