Code folding with #pragma region "name"
Solved
General and Desktop
-
Hello everyone. I hope you are all doing well.
I am new to the Qt framework and environment.
I was wondering if there is any preprocessor directive similar to #pragma region "name" for creating custom code folding regions in the Qt Editor?
I am fully aware of the "Display folding markers" settings option found under Edit->Preferences->TextEditor. Unfortunately, this option only creates folding for blocks in the code. But, I want to be able to create my own regions. Is there any solution?