cppIncludeGuard icon indicating copy to clipboard operation
cppIncludeGuard copied to clipboard

Please add the option to mix and match guard components

Open alexolog opened this issue 3 years ago • 4 comments

Please add the option to mix and match guard components. For example: {filename}_{extension}_{uuid}

alexolog avatar Oct 25 '22 15:10 alexolog

I have the exact same request. There are already 3 options of header guard and another option can be the combination of filename and guid. Just the GUID header guard doesn't give the confidence that it is unique because we do not really know. Filename based header guard has the same problem. But the combination of both will be great.

satya-das avatar Nov 02 '22 18:11 satya-das

Just the GUID header guard doesn't give the confidence that it is unique because we do not really know.

To elaborate: it might have been copy-pasted from another header.

alexolog avatar Dec 20 '22 13:12 alexolog

For a subset of this functionality, please see PR https://github.com/AkiraMiyakoda/cppIncludeGuard/pull/35

alexolog avatar Jun 09 '23 20:06 alexolog

This would be great, since you could then customize things like additional underscores

f-scholer avatar Feb 13 '24 12:02 f-scholer