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

Indentation within function arguments isn't configurable

    XMLWordPrintable

Details

    Description

      Currently if you are in the middle of a function call, pressing Enter has fairly odd results (seems to depend on function length).

      Before pressing Enter:

      example.cpp
              my_function_call(^foo, bar);
      

      After:

      example.cpp
              my_function_call(
                          ^foo, bar);
      

      (where ^ is the cursor)

      The indentation level here isn't configurable, and seems to use some smart logic which I mostly end up manually adjusting.

      It would be good if there was an option to select a fixed indent level for multi line function arguments. (or align with the opening parens)

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              ideasman42 Campbell Barton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes