This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Code Folding

Hi,

I'm using CCS V4.x and was wondering if it's possible to define your own code folding regions?

i.e. As in Visual Studio with the #region #endregion directives.

#region Variables

unsigned char x;

#endregion

Regards,

Ben

 

 

  • Ben,

    It is not possible to do this in CCSv4.x.  I looked at a newer version of the C/C++ Toolkit that we use in CCS and it has more options for folding but I didn't see an out of the box way to do custom folding.  There is a drop down box that allows you to select different folding schemes but there is only one in the list.  I will ask around and see if there is a way to add additional schemes.

     

    John

  • Sorry Ben I have not found any way to add additional schemes.