aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/templates/wizards/files/nim/wizard.json
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/templates/wizards/files/nim/wizard.json')
-rw-r--r--share/qtcreator/templates/wizards/files/nim/wizard.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/qtcreator/templates/wizards/files/nim/wizard.json b/share/qtcreator/templates/wizards/files/nim/wizard.json
index 723531ced5..1baf376aa4 100644
--- a/share/qtcreator/templates/wizards/files/nim/wizard.json
+++ b/share/qtcreator/templates/wizards/files/nim/wizard.json
@@ -9,6 +9,8 @@
"icon": "../../projects/nim/icon.png",
"enabled": "%{JS: value('Plugins').indexOf('Nim') >= 0}",
+ "options": { "key": "DefaultSuffix", "value": "nim" },
+
"pages" :
[
{
@@ -29,7 +31,7 @@
"data":
{
"source": "file.nim",
- "target": "%{JS: Util.fileName(value('TargetPath'), 'nim')}",
+ "target": "%{JS: Util.fileName(value('TargetPath'), value('DefaultSuffix'))}",
"openInEditor": true
}
}