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.

CCSTUDIO: Folding in CCS v10.1.0

Part Number: CCSTUDIO

Hi everybody!

Recently, I came across a curious situation:
using CCS v10.1.0 I noticed that "folding" automatically disabled once over 1500 rows.
If I write the line 1501, than save, than close and reopen the header or the source file, all the collapsed rows are now expanded and there is not the possibility to restore the folding.

Is it a default configuration? There is a way to modify the "maximum number of code lines" ?

Thanks

Federico

  • Hello,

    Are you referring to 1500 lines in the source code? I tried to reproduce the issue with various versions of CCS but it always worked. My source file example has over 3000 lines of code and as long as the option for code folding is enabled, it worked,

    Could you share your source file with the issue (one with over 1500+ lines)? You can send it via private E2E message.

    Thanks

    ki

  • Hi Ki
    thank you for the quickly reply,

    I found the problem source: 
    in the "scalability" section of the preferences I put 1500 and that causes the problem, as you can see by the attached picture.


    So that isn't a problem, but a my fault!

    Hope that this can be useful for other people.

    Have a nice code guys!!!

    Fede