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 135699

Summary: Use option "space between unary operator and operand"
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: EditorAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 133909    

Description Alexander Simon 2008-05-23 13:47:04 UTC
Formatter has option "Space around unary operators".
Options confused users because it conflict with other options.
For example:
if ( ! a){}
if (!a ){}
In the examples space around unary operator conflicts with space in if statement.
See also http://www.netbeans.org/issues/show_bug.cgi?id=133909
Change meaning of options to "space between unary operator and operand".
It is a clear, does not confuse users and not ambiguity.
Comment 1 Alexander Simon 2008-05-23 15:21:12 UTC
fixed
http://hg.netbeans.org/main/rev/2f2f5024a354
Comment 2 Quality Engineering 2008-05-27 16:27:10 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #221 build
Changeset: http://hg.netbeans.org/main/rev/2f2f5024a354
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed: IZ#135699:Use option "space between unary operator and operand"