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

Indentation style not respected for inline namespaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.8.2, Qt Creator 4.9.0-beta1
    • C/C++/Obj-C++ Support
    • Kubuntu 18.10 x86_64
    • 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

        Activity

          People

            kandeler Christian Kandeler
            lastique Andrey Semashev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: