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

Allow customization of indent inside namespace { ... }

    XMLWordPrintable

Details

    • 27578a6c2c78138d6259f88660867e50ebaac604 779fafcbfe6f92dd1288664fae512f69bc12418b

    Description

      QtCreator want's to indent all the content inside namespace XXX

      { ... }

      :

      namespace {
          class X {
          };
      }
      

      This leads to excessive indenting, especially if you have nested namespaces. Inside QtCreator, we (almost) never indent the content of a namespace. A quick google search for "indentation namespace coding style" also indicates that a lot of coding styles (e.g. for webkit) also advise to not indent the content of a namespace.

      Attachments

        Issue Links

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

          Activity

            People

              ckamm Christian Kamm
              kkohne Kai Köhne
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes