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

Wrong automatic indentation in CMakeLists.txt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.4.0-beta1
    • Editors
    • None

    Description

      The following snippet uses the default indentation of CMakeLists.txt

      add_library(${PROJECT_NAME} src/state.cpp
                                  src/container.cpp)
                               next_bad_indented_line()
      

      But the following indents properly:

      add_library(${PROJECT_NAME} src/foo.cpp )
      next_well_indented_line()
      

      This is using the automatic indentation suggestion provided when hitting Enter at the end of a line.

      Happens on 4.4 beta but not on 4.2.1

      Attachments

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

        Activity

          People

            davschul David Schulz
            victorl Victor Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes