Details

    • 0762e4f8d9e728f6e6a604615621dcd19a6f7a48

    Description

      It would be nice if you add a function to auto generate all case labels for an enum.

      E.g. if you have
      enum Enum

      {ABC, DEF, FOO}

      ;
      Enum enu;

      and write "switch(enu)" Qt Creator should auto generate
      switch(enu){
      case ABC: break;
      case DEF: break;
      case FOO: break;
      }

      The layout should be customizable, and there should be an option for return instead of break.

      This gets really useful if you have a enum with hundred labels and have to handle every case...

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            benibela Benito van der Zander
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes