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

Code style configuration does not work and is half-baked

    XMLWordPrintable

Details

    • All

    Description

      As of v4.9.1, Qt Creator has a few apparently conflicting settings that supposedly control a project's code style, which includes:

      • Project settings -> editor
      • Project settings -> code style
      • Tools -> Options -> Beautifier

      Apparently each of these options advertises functionalities that overlap among themselves, such as specifying tab/space policies and how to indent code. Unfortunately this means that specifying a coding style will will not have any effect as implicitly a functionality overrides/ignores/renders ineffective other settings. As an example, any change to a project's "tabs and indentation" policy is ineffective as "Code style" appears to dictate how tabs/spaces are used, in spite of not making any of this clear to the user.

      It would be nice if Qt Creator used a single centralized editor/code style configuration source that could be applied per object and, more importantly, enabled developers rationalize how and where settings affect these features.

      Attachments

        Issue Links

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

          Activity

            People

              davschul David Schulz
              rui maciel Rui Maciel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes