Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Fold all structs but not namespaces
Qt 6.12 LTS is out! See what's new in the release blog

Fold all structs but not namespaces

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 502 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.
  • B Offline
    B Offline
    Beep Bop
    wrote on last edited by Beep Bop
    #1

    Is there a quick way of folding all structs in a file, but keeping all namespaces unfolded? There is "Toggle fold all", but that folds everything.
    I want namespaces unfolded, structs folded, everything else is optional, but I would prefer to keep functions in those structs unfolded.
    If there is a way to fold everything and then unfold all namespaces, that's fine too.

    JonBJ 1 Reply Last reply
    0
    • B Beep Bop

      Is there a quick way of folding all structs in a file, but keeping all namespaces unfolded? There is "Toggle fold all", but that folds everything.
      I want namespaces unfolded, structs folded, everything else is optional, but I would prefer to keep functions in those structs unfolded.
      If there is a way to fold everything and then unfold all namespaces, that's fine too.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Beep-Bop
      Nope, I don't think so, Creator's folding is what it is.

      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
      • Unsolved