Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse C/C++ Developer Guide
Previous Page Home Next Page

Folding preferences

You can customize the C/C++ editor folding behavior in the Folding panel of the Preferences window.

Editor Folding Preferences Window

Folding Preference Options
Option Description Default
Enable folding when opening a new editor If enabled, apply folding rules to the new editor.  
Select folding to use Select the folding to use from the available choices.  
Enable folding of preprocessor branches (#if/#endif) If enabled, fold preprocessor branches.  
Macros If enabled, fold macro definitions. On
Functions If enabled, fold functions. Off
Methods If enabled, fold methods. Off
Structures If enabled, fold structures. On
Comments If enabled, fold comments. Off
Header Comments If enabled, fold header comments. On
Inactive Preprocessor Branches If enabled, fold inactive processor branches. On

Related concepts
Coding aids

Related tasks
Customizing the C/C++ editor

Related reference
C/C++ editor preferences

IBM Copyright Statement

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire