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

Unable to prepend namespace to a class name in C++ class wizard

    XMLWordPrintable

Details

    • Linux/X11
    • d12e3cb72d36ad2ff000d122bfc2405b6b8f82e2 (qt-creator/qt-creator/master)

    Description

      The "Class name" field on the Define Class pane of  the C++ Class creation wizard does not accept colons ":" in the middle of already entered text. This makes it cumbersome to add a namespace to a class if I forgot to do it right away.

      E.g. given "MyClass" already entered in the Class Name field, an attempt to place it into "foo" namespace results in

      foo|MyClass

      where vertical bar shows the cursor position. At this point attempts to enter "::" do nothing.

      The workaround is to cut the rest of the name into clipboard, type "::", then paste the name back.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            sergey_gromov Sergey Gromov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes