Code folding (#pragma region) in Qt creator
c++, code-folding, pragma, qt-creator
Solution
Currently not.
I think it is better to structure your code by using code anyways. The regions as also found in C# are imho a bad substitute for proper structuring and keeping things maintainable.
Problem
Is there something similar to explicit code regions for folding in Qt Creator: ``` #pragma region Region_1 void Test() {} void Test2() {} void Test3() {} #pragma endregion Region_1 ``` I can see folding for logical code blocks, but do not know how to explicitly set such a block. My version of Qt Creator is 2.4.1