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 - Use option "space between unary operator and operand"
Summary: Use option "space between unary operator and operand"
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks: 133909
  Show dependency tree
 
Reported: 2008-05-23 13:47 UTC by Alexander Simon
Modified: 2008-05-27 16:27 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 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"