Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [solved] Qt Creator - preserve function body expanded or closed state even after restart
QtWS25 Last Chance

[solved] Qt Creator - preserve function body expanded or closed state even after restart

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    harshilsharma63
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You need to use Qt Creator's sessions for that to work. See File->Session manager.

      (Z(:^

      1 Reply Last reply
      0
      • H Offline
        H Offline
        harshilsharma63
        wrote on last edited by
        #3

        Thanks, that worked!

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Nice, good to hear. Happy further coding :-)

          (Z(:^

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved