forked from qt-creator/qt-creator
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:
@@ -270,11 +270,9 @@
|
|||||||
|
|
||||||
\list
|
\list
|
||||||
|
|
||||||
\li C++
|
\li C/C++
|
||||||
|
|
||||||
C++ class, source, or header files that you can use to write the
|
C or C++ source and header files
|
||||||
application logic in both Qt Quick projects and
|
|
||||||
Qt widget based projects
|
|
||||||
|
|
||||||
\li Qt
|
\li Qt
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
"category": "O.C++",
|
"category": "O.C++",
|
||||||
"trDescription": "Creates a C++ header and a source file for a new class that you can add to a C++ project.",
|
"trDescription": "Creates a C++ header and a source file for a new class that you can add to a C++ project.",
|
||||||
"trDisplayName": "C++ Class",
|
"trDisplayName": "C++ Class",
|
||||||
"trDisplayCategory": "C++",
|
"trDisplayCategory": "C/C++",
|
||||||
"iconText": "h/cpp",
|
"iconText": "h/cpp",
|
||||||
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
||||||
|
|
||||||
|
@@ -3,9 +3,9 @@
|
|||||||
"supportedProjectTypes": [ ],
|
"supportedProjectTypes": [ ],
|
||||||
"id": "C.Header",
|
"id": "C.Header",
|
||||||
"category": "O.C++",
|
"category": "O.C++",
|
||||||
"trDescription": "Creates a C++ header file that you can add to a C++ project.",
|
"trDescription": "Creates a header file that you can add to a C/C++ project.",
|
||||||
"trDisplayName": "C++ Header File",
|
"trDisplayName": "C/C++ Header File",
|
||||||
"trDisplayCategory": "C++",
|
"trDisplayCategory": "C/C++",
|
||||||
"iconText": "h",
|
"iconText": "h",
|
||||||
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
||||||
|
|
||||||
|
@@ -3,9 +3,9 @@
|
|||||||
"supportedProjectTypes": [ ],
|
"supportedProjectTypes": [ ],
|
||||||
"id": "B.Source",
|
"id": "B.Source",
|
||||||
"category": "O.C++",
|
"category": "O.C++",
|
||||||
"trDescription": "Creates a C++ source file that you can add to a C++ project.",
|
"trDescription": "Creates a source file that you can add to a C/C++ project.",
|
||||||
"trDisplayName": "C++ Source File",
|
"trDisplayName": "C/C++ Source File",
|
||||||
"trDisplayCategory": "C++",
|
"trDisplayCategory": "C/C++",
|
||||||
"iconText": "cpp",
|
"iconText": "cpp",
|
||||||
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
"enabled": "%{JS: value('Plugins').indexOf('CppEditor') >= 0}",
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user