Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » C Code Folding
C Code Folding [message #214327] Fri, 18 April 2008 10:07
Eclipse UserFriend
Originally posted by: bob.balderson.btinternet.com

In Visual Studio there used to be a method of marking sections of C# code
with commented XML tags so you could fold things in a totally arbitrary
manner. It was very useful for bunching loads of related items together.

Working with C source, I can achieve the same effect in CDT by
surrounding relevant sections with:

#ifndef SOME_BOGUS_NAME
.... code to fold...
#endif

but it offends my aesthetic eye!

Any better suggestions please?
Previous Topic:Eclipse, CDT, project files and ClearCase/version control
Next Topic:Eclipse+Qt+GDB
Goto Forum:
  


Current Time: Thu Jul 04 23:22:03 GMT 2024

Powered by FUDForum. Page generated in 0.02585 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top