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

Improve handling of coding style guidelines

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • Qt Creator 4.2.2
    • Editors
    • None
    • Lowering the priority, because everything except having the option to change tab behavior in one place is already implemented.

    Description

      Tools->Options->C++ permits the handling of custom behaviour for tabs and indentations. Unfortunately this only applies to C++ and Qt Quick file types. The tab indentation behaviour for all other file types is globally handled by Tools->Options->Text Editor->Behavior. This makes it very cumbersome when switching between two projects with totally contradicting tab indentation behaviour as I have to change two options each time I change projects.

      Suggestions:

      1. Find a way to adjust multiple tab behaviour styles across all files and not just for C++/QML files
      2. Permit the coding style to be configured for my chosen file types
      3. Avoid having to change two places each time a project swap is done
      4. Permit association of coding style to loaded project

      The last point is important when concurrently editing Qt and another project depending on Qt within the same Qt Creator session.

      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
              ablasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes