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

Rewrap Pragraph does not work nicely in function documenting comments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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)

    Description

      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.

      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
              moellney Michael Möllney
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes