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.
Created attachment 125264 [details] Ugly lambda formatting. Ugly code formatting when lambda is passea as argument. See attachment. I think this variant is more better (indent lambda braces like other arguments, and indent lambda body inside braces): result = ::std::accumulate(::std::begin(x), ::std::end(x), 0.0, [&m](Double a, Double x) -> Double { return a+ (x - m) * (x - m); });
Please evaluate if it can be done in 7.3. If not please mark it in some way (to make it clear that it is risky and effort-consuming) and retarget to Next.
fix lambda formatting: http://hg.netbeans.org/cnd-main/rev/e30315f668e2 No UI, reused options of other braces
Integrated into 'main-golden', will be available in build *201210100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e30315f668e2 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #219414 [73cat] Ugly code formatting when lambda is passed as argument.
added formatting options for lambda braces: http://hg.netbeans.org/cnd-main/rev/80168e329bb0 fix indent: http://hg.netbeans.org/cnd-main/rev/4b8e54931d61
Integrated into 'main-golden', will be available in build *201210110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/80168e329bb0 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #219414 [73cat] Ugly code formatting when lambda is passed as argument. - added formatting options for lambda braces
Thanks for fixing it...