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

Bug 331405

Summary: Add #region / #endregion folding support
Product: [Tools] CDT Reporter: Ladar Levison <ladar>
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: CLOSED DUPLICATE QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: enhancement    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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 ***