I want to know, if and how can I apply code folding to commented out sections in Texstudio 2.6.6?
1 Answer
Once you've commented out the \section command, it is not recognized as such anymore and thus cannot be folded. However, you can insert a special comment to mark a part of the file as foldable like this:
%BEGIN_FOLD %\section{My Section} %The text. %END_FOLD
%s?