Wizards: Make it more obvious to users that they can create C files

Technically, almost any "new file" wizard could be used to create a C
file, but conceptually, it makes the most sense to turn the "C++"
category into "C/C++".

Fixes: QTCREATORBUG-23621
Change-Id: I002365fa35cc6c9bf7c71039e122f72890f66b1a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Kandeler
2020-03-10 11:20:03 +01:00
parent 829faf7eef
commit b0779ad5f8
4 changed files with 9 additions and 11 deletions

View File

@@ -270,11 +270,9 @@
\list
\li C++
\li C/C++
C++ class, source, or header files that you can use to write the
application logic in both Qt Quick projects and
Qt widget based projects
C or C++ source and header files
\li Qt

View File

@@ -5,7 +5,7 @@
"category": "O.C++",
"trDescription": "Creates a C++ header and a source file for a new class that you can add to a C++ project.",
"trDisplayName": "C++ Class",
"trDisplayCategory": "C++",
"trDisplayCategory": "C/C++",
"iconText": "h/cpp",
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",

View File

@@ -3,9 +3,9 @@
"supportedProjectTypes": [ ],
"id": "C.Header",
"category": "O.C++",
"trDescription": "Creates a C++ header file that you can add to a C++ project.",
"trDisplayName": "C++ Header File",
"trDisplayCategory": "C++",
"trDescription": "Creates a header file that you can add to a C/C++ project.",
"trDisplayName": "C/C++ Header File",
"trDisplayCategory": "C/C++",
"iconText": "h",
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",

View File

@@ -3,9 +3,9 @@
"supportedProjectTypes": [ ],
"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++",
"trDescription": "Creates a source file that you can add to a C/C++ project.",
"trDisplayName": "C/C++ Source File",
"trDisplayCategory": "C/C++",
"iconText": "cpp",
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",