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

Improve indentation in CMake files

XMLWordPrintable

      Some users might want to perform vertical alignment of arguments passed to CMake functions / macros, e.g.

      set(FRUITS APPLE
                 BANANA
                 CHERRY)
      

      If one inserts a newline after the line with CHERRY), the cursor is placed as so (with | denoting the cursor position):

      set(FRUITS APPLE
                 BANANA
                 CHERRY)
              |
      

      It'd be nice if Qt Creator would instead indent based on the location of the matching opening parenthesis, so that the cursor would be placed on the same column as the start of the set() call.

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

            cadam Cristian Adam
            kevinushey Kevin Ushey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes