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

License header template %FILENAME% not filling

    XMLWordPrintable

Details

    • b38a954521358b35bbb3ca371513e80c7469ee2d

    Description

      I created a license header template in doxygen style (Tools > Options > C++ > License Template) like this:

      /*!
       * \file %FILENAME%
       * \brief Short description
       * Detailed description
       * of my file.
       *
       * \date %DATE%
       * \author %USER% <%USER%@gmail.com>
       */
      

      And when I create a new file, I see:

      /*!
       * file
       * brief Short description
       * Detailed description
       * of my file.
       *
       * date 13.07.2015
       * author User <User@gmail.com>
       */
      #include "testclassfile2.h"
      
      testClassFile2::testClassFile2()
      {
      }
      

      File name is blank and all "\" was deleted!

      On Qt Creator 3.2.1 works fine:

      /*!
       * \file testclassfile2.cpp
       * \brief Short description
       * Detailed description
       * of my file.
       *
       * \date 13.07.2015
       * \author User <User@gmail.com>
       */
      #include "testclassfile2.h"
      
      testClassFile2::testClassFile2()
      {
      }
      

      Qt Creator 3.4.82 also have this bug.

      Regards, Dmitry.

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            dolz Korolev Dmitry
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes