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

Indentation style not respected for inline namespaces

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.8.2, Qt Creator 4.9.0-beta1
    • Fix Version/s: None
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None
    • Environment:
      Kubuntu 18.10 x86_64
    • Platform/s:
      Linux/X11

      Description

      Regardless of whether indentation of C++ namespaces content is enabled or not in code style settings, the content of inline namespaces is always automatically indented by QtCreator. To reproduce, try typing "inline namespace foo {}" and press Enter between the braces. I think inline namespaces should follow rules for regular namespaces.

        Attachments

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

          Activity

            People

            • Assignee:
              kosjar Nikolai Kosjar
              Reporter:
              lastique Andrey Semashev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes