forked from qt-creator/qt-creator
Change-Id: If39ed6d2711fa4cc144d1b1f9738acf3d04ac225 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
38 lines
963 B
JSON
38 lines
963 B
JSON
{
|
|
"version": 1,
|
|
"kind": "file",
|
|
"id": "B.Source",
|
|
"category": "O.C++",
|
|
"trDescription": "Creates a C++ source file that you can add to a C++ project.",
|
|
"trDisplayName": "C++ Source File",
|
|
"trDisplayCategory": "C++",
|
|
"icon": "../../global/genericfilewizard.png",
|
|
"featuresRequired": [ "Plugin.CppEditor" ],
|
|
|
|
"pages" :
|
|
[
|
|
{
|
|
"trDisplayName": "Location",
|
|
"trShortTitle": "Location",
|
|
"typeId": "File"
|
|
},
|
|
{
|
|
"trDisplayName": "Project Management",
|
|
"trShortTitle": "Summary",
|
|
"typeId": "Summary"
|
|
}
|
|
],
|
|
"generators" :
|
|
[
|
|
{
|
|
"typeId": "File",
|
|
"data":
|
|
{
|
|
"source": "file.cpp",
|
|
"target": "%{JS: Cpp.fileName('%{TargetPath}', '%{JS: Util.preferredSuffix('text/x-c++src')}')}",
|
|
"openInEditor": true
|
|
}
|
|
}
|
|
]
|
|
}
|