Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-2763 Make indenter customizable
  3. QTCREATORBUG-2185

Add an option to pad auto-completed brackets with spaces

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • Editors
    • None
    • RHEL 5

    Description

      I like the auto-completion that is available in the QtCreator editor. However, it would be nice to have an option to pad auto-completed brackets with spaces. For example, I like to format my parenthesis like so:

      // Function declaration inside of a class header file
      void someFunction( int arg0, int arg1, int arg2, int arg3 );
      

      However, when I go to write the implementation of this function in a .cpp source file, the auto-completion will fill in my list of arguments without the padding:

      void someFunction(int arg0, int arg1, int arg2, int arg3)
      

      It would be lovely to specify some default behavior for auto-completion within brackets.

      Attachments

        Issue Links

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

          Activity

            People

              erikv Erik Verbruggen
              dusktreader Tucker Beck
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes