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

Rewrap Pragraph does not work nicely in function documenting comments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 9.0.0-beta1
    • Qt Creator 2.8.0-rc, Qt Creator 3.1.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • Win 7 64bit
    • 8e118e9d5e (qt-creator/qt-creator/master) 8e118e9d5e (qt-creator/qt-creator/9.0)

      When rewrapping a paragraph in a C comment used to describe a function an wrong '@' sign is added.

      If you start with:

      Bar.java
            /**
             * @brief function is a function that calculates some result from the parameter d, but does not return the result
             * @param d is the parameter that is used in calculation.
             */
            void function(double d);
      

      and you place your cursor behind the @brief on function and press CTRL+e,r you end up in:

      Bar.java
            /**
             * @brief function is a function that calculates some result from the
             * @parameter d, but does not return the result param d is the parameter
             * @that is used in calculation.
             */
            void function(double d);
      

      That is clearly wrong.

      You would expect

      Bar.java
            /**
             * @brief function is a function that calculates some result from the
             *        parameter d, but does not return the result
             * @param d is the parameter that is used in calculation.
             */
            void function(double d);
      

      respecting the doxygen tags.

        For Gerrit Dashboard: QTCREATORBUG-9739
        # Subject Branch Project Status CR V

            kandeler Christian Kandeler
            moellney Michael Möllney
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes