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

Auto-indenting Selection breaks indentation of documentation comments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 17.0.1, Qt Creator 18.0.0-beta1
    • Editors
    • None
    • Windows

      When I want to use "Auto-indent Selection" (e.g. Ctrl+I) for the following code

         public:
         /*!
          * \brief Foo
          */
         Foo();
      

      I get the wrong result:

         public:
            /*!
          * \brief Foo
          */
            Foo();
      

      I would expect, that the comment lines belonging to a documentation comment is indented as a documentation section:

         public:
            /*!
             * \brief Foo
             */
            Foo();
      

      This is the result, that you get, if the documentation comment would have been created in the right indentation from the beginning.

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

            davschul David Schulz
            moellney Michael Möllney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes