aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/templates/wizards/files/python/wizard.json
blob: f3bff037b51f7e34a11157a2b7343394a51b14f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
    "version": 1,
    "supportedProjectTypes": [ ],
    "id": "P.PySource",
    "category": "U.Python",
    "trDescription": "Creates an empty Python script file using UTF-8 charset.",
    "trDisplayName": "Python File",
    "trDisplayCategory": "Python",
    "icon": "icon.png",
    "enabled": "%{JS: value('Plugins').indexOf('Python') >= 0}",

    "pages" :
    [
        {
            "trDisplayName": "Location",
            "trShortTitle": "Location",
            "typeId": "File"
        },
        {
            "trDisplayName": "Project Management",
            "trShortTitle": "Summary",
            "typeId": "Summary"
        }
    ],
    "generators" :
    [
        {
            "typeId": "File",
            "data":
            {
                "source": "file.py",
                "target": "%{JS: Util.fileName(value('TargetPath'), Util.preferredSuffix('text/x-python'))}",
                "openInEditor": true
            }
        }
    ]
}