Bug 213938 - Allow code folding for if loops and conditions
Summary: Allow code folding for if loops and conditions
Status: RESOLVED DUPLICATE of bug 174597
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 5.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL: http://www.eclipse.org/newsportal/art...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-27 15:21 EST by Elazar Leibovich CLA
Modified: 2009-01-09 16:26 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elazar Leibovich CLA 2007-12-27 15:21:35 EST
I'd appreciate a way to fold loops (for, while, do {} while) and if else conditions in CDT eclipse environment?
This [1] seems to be the key, but I don't see how to continue from there.
Can you please help me?

[1] http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.cdt.doc.isv/reference/extension-points/org_eclipse_cdt_ui_foldingStructureProviders.html
Comment 1 Anton Leherbauer CLA 2008-01-07 04:37:58 EST
If you would like to work on this feature, please see the default implementation of the folding structure provider org.eclipse.cdt.internal.ui.text.folding.DefaultCFoldingStructureProvider.


*** This bug has been marked as a duplicate of bug 174597 ***