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.

Bug 227996

Summary: Missing semicolon for created VariableTree with wrapping "Assignment Operator" "If Long"
Product: editor Reporter: nigjo_iqn
Component: Formatting & IndentationAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description nigjo_iqn 2013-03-27 13:17:47 UTC
We have a self written module for our IDE which is generating some code inside existing classes. After Updating the IDE from 7.0.1 to 7.3 all generated class fields (and some local variables with direct assignment) are missing the semicolon at the end of the line.

We have the formatting Option "Java/Wrapping" / "Assignment Operators:" set to "If Long". When I change this option to "Always" (or "Never") the missing character is generated.

I don't have a simple example at the moment to reproduce this behavior, since the module is quite big and depends on many other things.
Comment 1 Jan Lahoda 2013-03-27 13:23:40 UTC
IIRC I was fixing something like that post-7.3 (should be in the patch). I'll dig the bug report.
Comment 2 Jan Lahoda 2013-03-27 13:33:56 UTC
Bug #225088, I believe.

*** This bug has been marked as a duplicate of bug 225088 ***
Comment 3 nigjo_iqn 2013-03-27 14:23:33 UTC
(In reply to comment #2)
> Bug #225088, I believe.
Checked current dev build 201303262300. Everything is working as expected. Thanks.