Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 4.8.2, Qt Creator 4.9.0-beta1
-
Kubuntu 18.10 x86_64
-
-
c0bbf285a (13.0)
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
For Gerrit Dashboard: QTCREATORBUG-22071 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
542695,2 | CppEditor: Fix indentation with inline namespaces | 13.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |