[solved] Qt Creator - preserve function body expanded or closed state even after restart
-
Hi. I'm working in Qt Creator and I have multiple functions in each file. I like to keep the function bodies closed unless I like to edit something in them as with all open bidies it becomes a bit uncomfortable looking for something in the file. So if I contract a function body in the editor, I expect it it remain in that state even after I restart Qt Creator (as in Visual Studio) which doesn't seem to happen. Is there a way I can fix this?
-
You need to use Qt Creator's sessions for that to work. See File->Session manager.
-
Thanks, that worked!
-
Nice, good to hear. Happy further coding :-)