Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331405 - Add #region / #endregion folding support
Summary: Add #region / #endregion folding support
Status: CLOSED DUPLICATE of bug 258965
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-30 04:35 EST by Ladar Levison CLA
Modified: 2010-11-30 04:57 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ladar Levison CLA 2010-11-30 04:35:53 EST
Build Identifier: 

It would be nice to see support for a #region / #endregion like directive added to the code folding engine. My suggestion would be a commented directive:

// REGION
// ENDREGION

On lines by themselves could be collapsed using the code folder. In case its useful, there is a similar request for the PDT project:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=173796

Reproducible: Always
Comment 1 Anton Leherbauer CLA 2010-11-30 04:57:34 EST

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