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 - Missing semicolon for created VariableTree with wrapping "Assignment Operator" "If Long"
Summary: Missing semicolon for created VariableTree with wrapping "Assignment Operator...
Status: RESOLVED DUPLICATE of bug 225088
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 13:17 UTC by nigjo_iqn
Modified: 2013-03-27 14:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.