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

Add setting for naming of include guards

    XMLWordPrintable

Details

    • f477ede69 (14.0)

    Description

      Add a setting that specifies how include guards should be named when using the wizard to generate a new class or header file. This could be some sort of template with a default value like:

      %HEADERNAMEWITHOUTEXTENSION%_%EXTENSION%

      For a file called "myheader.h" this would generate "MYHEADER_H".
      If I modify the setting to:

      MYPREFIX_%HEADERNAMEWITHOUTEXTENSION%_%EXTENSION%

      Then this would result in "MYPREFIX_MYHEADER_H" for the same header file.

      It would be preferable to have this as a per-project setting.

      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
              hyperquantum Kevin André
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes