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.
class A { public: A(int i) : i(i) { } bool operator !=(const A& right) const {} bool operator <(const A& right) const {} bool operator <=(const A& right) const {} bool operator ==(const A& right) const {} bool operator >(const A& right) const {} bool operator >=(const A& right) const {} private: int i; }; int main() { A a(1); return 0; } Scenario: - reformat code ==> 'operator>' and 'operator<' has not space after 'operator'
fixed, change set: http://hg.netbeans.org/cnd-main/rev/2cc9c53fd49b Note: New code style property "Space After operator Keyword" was added. The property default value is "false" for all code styles.
Integrated into 'main-silver', will be available in build *201405300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2cc9c53fd49b User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #244600 after reformat 'operator>' and 'operator<' has not space
verified in NetBeans IDE 8.0 patch2 (Build 201406041415)