Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 3.2.1
-
None
-
Windows 7 Ulitmate
Description
It would help to hide a lot of clutter if the editor had an option to enable code folding on preprocessor branches. For example if I want to just add some sections for folding code I can do this
#if true // Property Macro section AUTO_PROPERTY(...) //Many more lines of properties #endif
I can reduce all that to a single line by clicking next to the #if.
I also think there is a bit of a bug regarding this issue. If you add a preprocessor macro like this around some code it seems to disable the code folding you would otherwise get inside the branch. The code background changes color and perhaps that is related.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-2 Do code folding for preprocessor directives
- Open