cppIncludeGuard
cppIncludeGuard copied to clipboard
Is it possible to have a subfolder prefix for all folders?
I'm trying to setup my guards like this for "/Folder1/Folder2/File-Name With Spaces.h" "ProjectName__Folder1__Folder2__File_Name_With_Spaces_h__" As close as I have gotten so far. "ProjectName__FOLDER1_FOLDER2_FILE_NAME_WITH_SPACES_H__" I can get ProjectName with a prefix. I can get the 2 underscores at the end with a suffix. I can get the file path.
So my two questions/feature suggestions are.
- Don't change file/folder name case.
- Have a prefix for all subfolders so I can add the extra underscore.
- A prefix/suffix for the comment at the end. I'm looking for something like "// End !defined(MY_INCLUDE_GUARD)"
+1 for feature number 2
For #2 https://github.com/AkiraMiyakoda/cppIncludeGuard/pull/442 I'll probably do the other two later.