2014-09-18 15:43:32 +02:00
|
|
|
{
|
|
|
|
|
"version": 1,
|
2015-12-11 14:22:07 +01:00
|
|
|
"supportedProjectTypes": [ ],
|
2014-09-18 15:43:32 +02:00
|
|
|
"id": "B.Source",
|
|
|
|
|
"category": "O.C++",
|
2020-03-10 11:20:03 +01:00
|
|
|
"trDescription": "Creates a source file that you can add to a C/C++ project.",
|
|
|
|
|
"trDisplayName": "C/C++ Source File",
|
|
|
|
|
"trDisplayCategory": "C/C++",
|
2017-07-21 16:44:38 +02:00
|
|
|
"iconText": "cpp",
|
2019-04-16 16:46:36 +02:00
|
|
|
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
2014-09-18 15:43:32 +02:00
|
|
|
|
2020-02-28 15:33:25 +01:00
|
|
|
"options": [
|
|
|
|
|
{ "key": "FileName", "value": "%{JS: Util.fileName(value('TargetPath'), value('DefaultSuffix'))}" },
|
|
|
|
|
{ "key": "DefaultSuffix", "value": "%{JS: Util.preferredSuffix('text/x-c++src')}" }
|
|
|
|
|
],
|
2015-09-15 11:33:36 +02:00
|
|
|
|
2014-09-18 15:43:32 +02:00
|
|
|
"pages" :
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"trDisplayName": "Location",
|
|
|
|
|
"trShortTitle": "Location",
|
|
|
|
|
"typeId": "File"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"trDisplayName": "Project Management",
|
|
|
|
|
"trShortTitle": "Summary",
|
|
|
|
|
"typeId": "Summary"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"generators" :
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"typeId": "File",
|
|
|
|
|
"data":
|
|
|
|
|
{
|
|
|
|
|
"source": "file.cpp",
|
2015-09-15 11:33:36 +02:00
|
|
|
"target": "%{FileName}",
|
|
|
|
|
"openInEditor": true,
|
2019-04-16 16:46:36 +02:00
|
|
|
"options": { "key": "Cpp:License:FileName", "value": "%{JS: Util.fileName(value('FileName'))}" }
|
2014-09-18 15:43:32 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|