feat(c++): adding c++ module (#6570)

This commit is contained in:
Siddharth Kumar Jha
2025-04-27 01:42:35 +05:30
committed by GitHub
parent daf8d93d27
commit ed07646099
20 changed files with 618 additions and 102 deletions
+123 -2
View File
@@ -134,7 +134,7 @@
},
"allOf": [
{
"$ref": "#/definitions/CConfig"
"$ref": "#/definitions/CcConfig_for_CConfigMarker"
}
]
},
@@ -241,6 +241,47 @@
}
]
},
"cpp": {
"default": {
"commands": [
[
"c++",
"--version"
],
[
"g++",
"--version"
],
[
"clang++",
"--version"
]
],
"detect_extensions": [
"cpp",
"cc",
"cxx",
"c++",
"hpp",
"hh",
"hxx",
"h++",
"tcc"
],
"detect_files": [],
"detect_folders": [],
"disabled": true,
"format": "via [$symbol($version(-$name) )]($style)",
"style": "149 bold",
"symbol": "C++ ",
"version_format": "v${raw}"
},
"allOf": [
{
"$ref": "#/definitions/CcConfig_for_CppConfigMarker"
}
]
},
"crystal": {
"default": {
"detect_extensions": [
@@ -2272,7 +2313,7 @@
},
"additionalProperties": false
},
"CConfig": {
"CcConfig_for_CConfigMarker": {
"type": "object",
"properties": {
"format": {
@@ -2583,6 +2624,86 @@
},
"additionalProperties": false
},
"CcConfig_for_CppConfigMarker": {
"type": "object",
"properties": {
"format": {
"default": "via [$symbol($version(-$name) )]($style)",
"type": "string"
},
"version_format": {
"default": "v${raw}",
"type": "string"
},
"style": {
"default": "149 bold",
"type": "string"
},
"symbol": {
"default": "C++ ",
"type": "string"
},
"disabled": {
"default": true,
"type": "boolean"
},
"detect_extensions": {
"default": [
"cpp",
"cc",
"cxx",
"c++",
"hpp",
"hh",
"hxx",
"h++",
"tcc"
],
"type": "array",
"items": {
"type": "string"
}
},
"detect_files": {
"default": [],
"type": "array",
"items": {
"type": "string"
}
},
"detect_folders": {
"default": [],
"type": "array",
"items": {
"type": "string"
}
},
"commands": {
"default": [
[
"c++",
"--version"
],
[
"g++",
"--version"
],
[
"clang++",
"--version"
]
],
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"additionalProperties": false
},
"CrystalConfig": {
"type": "object",
"properties": {