{
    "version": 1,
    "supportedProjectTypes": [ ],
    "id": "C.Header",
    "category": "O.C++",
    "trDescription": "Creates a header file that you can add to a C/C++ project.",
    "trDisplayName": "C/C++ Header File",
    "trDisplayCategory": "C/C++",
    "iconText": "h",
    "enabled": "%{JS: isPluginRunning('cppeditor')}",

    "options": [
        { "key": "DefaultSuffix", "value": "%{JS: Cpp.cxxHeaderSuffix()}" },
        { "key": "FileName", "value": "%{JS: Util.fileName(value('TargetPath'), value('DefaultSuffix'))}" }
    ],

    "pages" :
    [
        {
            "trDisplayName": "Location",
            "trShortTitle": "Location",
            "typeId": "File"
        },
        {
            "trDisplayName": "Project Management",
            "trShortTitle": "Summary",
            "typeId": "Summary"
        }
    ],
    "generators" :
    [
        {
            "typeId": "File",
            "data":
            {
                "source": "file.h",
                "target": "%{FileName}",
                "openInEditor": true,
                "options": { "key": "Cpp:License:FileName", "value": "%{JS: Util.fileName(value('FileName'))}" }
            }
        }
    ]
}
