Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Rob S on April 14, 2008, 04:29:18 am

Title: Feature Suggestion: Custom Folding
Post by: Rob S on April 14, 2008, 04:29:18 am
Sometimes I'd like to fold other parts of the code to get it out of the way. An example would be the start where I have all the includes, definitions and such. So I thought having an option of being able to add a custom fold range would be handy. Say it would fold between //fold> //fold<  or //>> //<<  I think you get the idea.

and to the people who created and maintain C::B... THANKYOU!! Damn great program!
Title: Re: Feature Suggestion: Custom Folding
Post by: mariocup on April 14, 2008, 08:15:38 am
Hi Rob S,

did you read the Code::Blocks manual (http://www.codeblocks.org/user-manual) :D

In the section Code folding you will find the information for adding a custom folding point.

That is an example how to add it:

Code
  //{
  code with user defined folding
  //}

Bye,

Mario