Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-14873

Add ability to collapse/expand case blocks

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 3.2.2
    • C/C++/Obj-C++ Support
    • None

    Description

      It looks like Creator offers the ability to collapse/expand the entire switch statement, and other types of code blocks (if/if-else/else blocks, while loops, for loops, etc.), but not the individual case blocks inside a switch block. The user can collapse/expand the entire switch block, but not the individual cases.

      So I'd like to be able to make this:
      switch(foo)

      { case 0: <case 0 line 1> ... <case 0 line n> case 1: <case 1 line 1> ... <case 1 line m> }

      Look like this:
      switch(foo)
      {
      case 0:

      {...}
      case 1: {...}

      }

      But it appears all I can do is make it look like this:
      switch(foo)

      {...}

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            smurphy Sean Murphy
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes