{
    "version": 1,
    "kind": "file",
    "id": "Z.NimSource",
    "category": "Z.Nim",
    "trDescription": "Creates an empty Nim file using UTF-8 charset.",
    "trDisplayName": "Nim File",
    "trDisplayCategory": "Nim",
    "icon": "../../projects/nim/icon.png",
    "iconKind": "Themed",
    "enabled": "%{JS: value('Plugins').indexOf('Nim') >= 0}",

    "options": { "key": "DefaultSuffix", "value": "nim" },

    "pages" :
    [
        {
            "trDisplayName": "Location",
            "trShortTitle": "Location",
            "typeId": "File"
        },
        {
            "trDisplayName": "Project Management",
            "trShortTitle": "Summary",
            "typeId": "Summary"
        }
    ],
    "generators" :
    [
        {
            "typeId": "File",
            "data":
            {
                "source": "file.nim",
                "target": "%{JS: Util.fileName(value('TargetPath'), value('DefaultSuffix'))}",
                "openInEditor": true
            }
        }
    ]
}
