Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338082

Summary: [backport] support bulk formatting of C/C++ files in CDT 7.0.2+ (Helios stream)
Product: [Tools] CDT Reporter: Martin Oberhuber <mober.at+eclipse>
Component: cdt-coreAssignee: Anton Leherbauer <aleherb+eclipse>
Status: RESOLVED FIXED QA Contact: Doug Schaefer <cdtdoug>
Severity: enhancement    
Priority: P3 CC: aleherb+eclipse, didier.lascaux, eclipse, eclipse, malaperle, mober.at+eclipse, sducharme, seanreque
Version: 7.0.2   
Target Milestone: 7.0.3   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 245747    
Bug Blocks:    

Description Martin Oberhuber CLA 2011-02-24 08:53:08 EST
+++ This bug was initially created as a clone of Bug #245747 +++

Build ID: CDT 7.0.2 (Helios SR2)
CQ:WIND00241575

I'd like to request backporting the fix for bug 245747 (bulk formatting of multiple C/C++ files) into CDT 7.0.2+ (Helios Stream post SR2), such that we can adopt it in our commercial product.

This is an extremely valuable feature with relatively little risk and a minimal UI modification ("format files" action on project level, which exists in exactly the same way for other project types such as JDT or WTP).

We'd like to adopt the backport very soon after Helios SR2.
Comment 1 Martin Oberhuber CLA 2011-02-24 08:56:32 EST
Given that post-SR2 builds have happened in the past (CDT 5.0.3 Stream on the Builds page), could we have a bugzilla target milestone for this?

The Eclipse Platform uses "3.6.2+" and "3.5.2+" target milestones, which I find a good way of indicating fixes that went into the Stream after the final official release. Actual builds off the Stream after SR2 could be offered on demand for Committers (maybe self-service on Hudson?)
Comment 2 CDT Genie CLA 2011-03-02 03:23:03 EST
*** cdt cvs genie on behalf of aleherbau ***
Bug 338082 - [backport] support bulk formatting of C/C++ files

[*] contexts_CDT.xml 1.32.2.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.doc.user/contexts_CDT.xml?root=Tools_Project&r1=1.32.2.1&r2=1.32.2.2

[*] ActionMessages.java 1.10.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/actions/ActionMessages.java?root=Tools_Project&r1=1.10&r2=1.10.2.1
[*] ActionMessages.properties 1.19.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/actions/ActionMessages.properties?root=Tools_Project&r1=1.19&r2=1.19.2.1
[+] FormatAllAction.java  http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/actions/FormatAllAction.java?root=Tools_Project&revision=1.1&view=markup

[*] ICHelpContextIds.java 1.45.6.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ICHelpContextIds.java?root=Tools_Project&r1=1.45&r2=1.45.6.1

[*] CModelUtil.java 1.13.18.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/util/CModelUtil.java?root=Tools_Project&r1=1.13&r2=1.13.18.1

[*] CNavigatorEditActionProvider.java 1.3.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/navigator/CNavigatorEditActionProvider.java?root=Tools_Project&r1=1.3&r2=1.3.2.1

[*] GenerateActionGroup.java 1.13.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/actions/GenerateActionGroup.java?root=Tools_Project&r1=1.13&r2=1.13.2.1
Comment 3 Anton Leherbauer CLA 2011-03-02 03:24:34 EST
I have committed the backport to the cdt_7_0 branch. Setting target milestone to 7.0.2 for now.