Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
None
-
None
-
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
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTCREATORBUG-25117 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
564860,1 | WIP: CppEditor: Add setting for naming of header guards | master | qt-creator/qt-creator | Status: ABANDONED | -2 | 0 |
564902,3 | CppEditor: Make header guard naming user-configurable | 14.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |