Skip to content

Commit fab2275

Browse files
committed
chore: Update extensions
1 parent 8b1ed06 commit fab2275

40 files changed

+2129
-1079
lines changed

src/languages/extensions/configurations/angular.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,13 @@
5252
"angular.disableAutomaticNgcc": {
5353
"type": "boolean",
5454
"default": false,
55-
"markdownDescription": "Disable the step to automatically run ngcc. [ngcc](https://github.com/angular/angular/blob/master/packages/compiler/design/architecture.md#high-level-proposal) is required to run and gather metadata from libraries not published with Ivy instructions. This can be run outside of VSCode instead (for example, as part of the build/rebuild in the CLI). Note that ngcc needs to run not only at startup, but also whenever the dependencies change. Failing to run ngcc when required can result in incomplete information and spurious errors reported by the language service.",
55+
"markdownDescription": "Disable the step to automatically run ngcc. [ngcc](https://github.com/angular/angular/blob/main/packages/compiler/design/architecture.md#high-level-proposal) is required to run and gather metadata from libraries not published with Ivy instructions. This can be run outside of VSCode instead (for example, as part of the build/rebuild in the CLI). Note that ngcc needs to run not only at startup, but also whenever the dependencies change. Failing to run ngcc when required can result in incomplete information and spurious errors reported by the language service.",
56+
"scope": 3
57+
},
58+
"angular.forceStrictTemplates": {
59+
"type": "boolean",
60+
"default": false,
61+
"markdownDescription": "Enabling this option will force the language service to use [strictTemplates](https://angular.io/guide/angular-compiler-options#stricttemplates) and ignore the user settings in the `tsconfig.json`.",
5662
"scope": 3
5763
}
5864
}

src/languages/extensions/configurations/cpptools.json

Lines changed: 81 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,36 @@
146146
},
147147
"scope": 4
148148
},
149+
"C_Cpp.codeAnalysis.clangTidy.codeAction.showClear": {
150+
"type": "string",
151+
"description": "Controls which 'Clear' code analysis problem code action options are available. Changing the setting to show more options may require re-running code analysis.",
152+
"enum": [
153+
"None",
154+
"AllOnly",
155+
"AllAndAllType",
156+
"AllAndAllTypeAndThis"
157+
],
158+
"enumDescriptions": [
159+
"Show no 'Clear' code actions.",
160+
"Show only the 'Clear all' code action (or 'Clear all <type>' if there is only one type or 'Clear this' if there is only one problem).",
161+
"Show the 'Clear all' code action (if there are multiple problem types) and the 'Clear all <type>' code action (or 'Clear this' if there is only one problem for the <type>)",
162+
"Show the 'Clear all' (if there are multiple problem types), 'Clear all <type>' (if there are multiple problems for the <type>), and 'Clear this' code actions"
163+
],
164+
"default": "AllAndAllTypeAndThis",
165+
"scope": 1
166+
},
167+
"C_Cpp.codeAnalysis.clangTidy.codeAction.showDisable": {
168+
"type": "boolean",
169+
"markdownDescription": "If `true`, the 'Disable' code action will be shown when available (the next time code analysis is run). When the 'Disable' code action is used, it adds the warning code to the `C_Cpp.codeAnalysis.clangTidy.checks.disabled` setting.",
170+
"default": true,
171+
"scope": 1
172+
},
173+
"C_Cpp.codeAnalysis.clangTidy.codeAction.showDocumentation": {
174+
"type": "boolean",
175+
"markdownDescription": "If `true`, the 'Show Documentation for' code action will be shown when available (the next time code analysis is run).",
176+
"default": true,
177+
"scope": 1
178+
},
149179
"C_Cpp.codeAnalysis.runAutomatically": {
150180
"type": "boolean",
151181
"markdownDescription": "If `true`, code analysis will run automatically on a file after it is opened or saved.",
@@ -203,6 +233,7 @@
203233
"enum": [
204234
"*",
205235
"abseil-*",
236+
"abseil-cleanup-ctad",
206237
"abseil-duration-*",
207238
"abseil-duration-addition",
208239
"abseil-duration-comparison",
@@ -297,9 +328,11 @@
297328
"bugprone-string-constructor",
298329
"bugprone-string-integer-assignment",
299330
"bugprone-string-literal-with-embedded-nul",
331+
"bugprone-stringview-nullptr",
300332
"bugprone-suspicious-*",
301333
"bugprone-suspicious-enum-usage",
302334
"bugprone-suspicious-include",
335+
"bugprone-suspicious-memory-comparison",
303336
"bugprone-suspicious-memset-usage",
304337
"bugprone-suspicious-missing-comma",
305338
"bugprone-suspicious-semicolon",
@@ -334,13 +367,17 @@
334367
"cert-env33-c",
335368
"cert-err*",
336369
"cert-err09-cpp",
370+
"cert-err33-c",
337371
"cert-err34-c",
338372
"cert-err52-cpp",
339373
"cert-err58-cpp",
340374
"cert-err60-cpp",
341375
"cert-err61-cpp",
376+
"cert-exp42-c",
342377
"cert-fio38-c",
378+
"cert-flp*",
343379
"cert-flp30-c",
380+
"cert-flp37-c",
344381
"cert-mem57-cpp",
345382
"cert-msc*",
346383
"cert-msc30-c",
@@ -352,7 +389,9 @@
352389
"cert-oop54-cpp",
353390
"cert-oop57-cpp",
354391
"cert-oop58-cpp",
392+
"cert-pos*",
355393
"cert-pos44-c",
394+
"cert-pos47-c",
356395
"cert-sig30-c",
357396
"cert-str34-c",
358397
"clang-analyzer-*",
@@ -493,6 +532,7 @@
493532
"cppcoreguidelines-pro-type-vararg",
494533
"cppcoreguidelines-slicing",
495534
"cppcoreguidelines-special-member-functions",
535+
"cppcoreguidelines-virtual-class-destructor",
496536
"darwin-*",
497537
"darwin-avoid-spinlock",
498538
"darwin-dispatch-once-nonstatic",
@@ -583,6 +623,9 @@
583623
"llvmlibc-restrict-system-libc-headers",
584624
"misc-*",
585625
"misc-definitions-in-headers",
626+
"misc-misleading-*",
627+
"misc-misleading-bidirectional",
628+
"misc-misleading-identifier",
586629
"misc-misplaced-const",
587630
"misc-new-delete-overloads",
588631
"misc-no-recursion",
@@ -640,6 +683,7 @@
640683
"mpi-buffer-deref",
641684
"mpi-type-mismatch",
642685
"objc-*",
686+
"objc-assert-equals",
643687
"objc-avoid-nserror-init",
644688
"objc-dealloc-in-category",
645689
"objc-forbidden-subclassing",
@@ -677,13 +721,19 @@
677721
"readability-avoid-const-params-in-decls",
678722
"readability-braces-around-statements",
679723
"readability-const-return-type",
724+
"readability-container-*",
725+
"readability-container-contains",
726+
"readability-container-data-pointer",
680727
"readability-container-size-empty",
681728
"readability-convert-member-functions-to-static",
682729
"readability-delete-null-pointer",
730+
"readability-duplicate-include",
683731
"readability-else-after-return",
684732
"readability-function-*",
685733
"readability-function-cognitive-complexity",
686734
"readability-function-size",
735+
"readability-identifier-*",
736+
"readability-identifier-length",
687737
"readability-identifier-naming",
688738
"readability-implicit-bool-conversion",
689739
"readability-inconsistent-declaration-parameter-name",
@@ -713,6 +763,7 @@
713763
"readability-static-accessed-through-instance",
714764
"readability-static-definition-in-anonymous-namespace",
715765
"readability-string-compare",
766+
"readability-suspicious-call-argument",
716767
"readability-uniqueptr-delete-release",
717768
"readability-uppercase-literal-suffix",
718769
"readability-use-anyofallof",
@@ -729,6 +780,7 @@
729780
"enum": [
730781
"*",
731782
"abseil-*",
783+
"abseil-cleanup-ctad",
732784
"abseil-duration-*",
733785
"abseil-duration-addition",
734786
"abseil-duration-comparison",
@@ -823,9 +875,11 @@
823875
"bugprone-string-constructor",
824876
"bugprone-string-integer-assignment",
825877
"bugprone-string-literal-with-embedded-nul",
878+
"bugprone-stringview-nullptr",
826879
"bugprone-suspicious-*",
827880
"bugprone-suspicious-enum-usage",
828881
"bugprone-suspicious-include",
882+
"bugprone-suspicious-memory-comparison",
829883
"bugprone-suspicious-memset-usage",
830884
"bugprone-suspicious-missing-comma",
831885
"bugprone-suspicious-semicolon",
@@ -860,13 +914,17 @@
860914
"cert-env33-c",
861915
"cert-err*",
862916
"cert-err09-cpp",
917+
"cert-err33-c",
863918
"cert-err34-c",
864919
"cert-err52-cpp",
865920
"cert-err58-cpp",
866921
"cert-err60-cpp",
867922
"cert-err61-cpp",
923+
"cert-exp42-c",
868924
"cert-fio38-c",
925+
"cert-flp*",
869926
"cert-flp30-c",
927+
"cert-flp37-c",
870928
"cert-mem57-cpp",
871929
"cert-msc*",
872930
"cert-msc30-c",
@@ -878,7 +936,9 @@
878936
"cert-oop54-cpp",
879937
"cert-oop57-cpp",
880938
"cert-oop58-cpp",
939+
"cert-pos*",
881940
"cert-pos44-c",
941+
"cert-pos47-c",
882942
"cert-sig30-c",
883943
"cert-str34-c",
884944
"clang-analyzer-*",
@@ -1019,6 +1079,7 @@
10191079
"cppcoreguidelines-pro-type-vararg",
10201080
"cppcoreguidelines-slicing",
10211081
"cppcoreguidelines-special-member-functions",
1082+
"cppcoreguidelines-virtual-class-destructor",
10221083
"darwin-*",
10231084
"darwin-avoid-spinlock",
10241085
"darwin-dispatch-once-nonstatic",
@@ -1109,6 +1170,9 @@
11091170
"llvmlibc-restrict-system-libc-headers",
11101171
"misc-*",
11111172
"misc-definitions-in-headers",
1173+
"misc-misleading-*",
1174+
"misc-misleading-bidirectional",
1175+
"misc-misleading-identifier",
11121176
"misc-misplaced-const",
11131177
"misc-new-delete-overloads",
11141178
"misc-no-recursion",
@@ -1166,6 +1230,7 @@
11661230
"mpi-buffer-deref",
11671231
"mpi-type-mismatch",
11681232
"objc-*",
1233+
"objc-assert-equals",
11691234
"objc-avoid-nserror-init",
11701235
"objc-dealloc-in-category",
11711236
"objc-forbidden-subclassing",
@@ -1203,13 +1268,19 @@
12031268
"readability-avoid-const-params-in-decls",
12041269
"readability-braces-around-statements",
12051270
"readability-const-return-type",
1271+
"readability-container-*",
1272+
"readability-container-contains",
1273+
"readability-container-data-pointer",
12061274
"readability-container-size-empty",
12071275
"readability-convert-member-functions-to-static",
12081276
"readability-delete-null-pointer",
1277+
"readability-duplicate-include",
12091278
"readability-else-after-return",
12101279
"readability-function-*",
12111280
"readability-function-cognitive-complexity",
12121281
"readability-function-size",
1282+
"readability-identifier-*",
1283+
"readability-identifier-length",
12131284
"readability-identifier-naming",
12141285
"readability-implicit-bool-conversion",
12151286
"readability-inconsistent-declaration-parameter-name",
@@ -1239,6 +1310,7 @@
12391310
"readability-static-accessed-through-instance",
12401311
"readability-static-definition-in-anonymous-namespace",
12411312
"readability-string-compare",
1313+
"readability-suspicious-call-argument",
12421314
"readability-uniqueptr-delete-release",
12431315
"readability-uppercase-literal-suffix",
12441316
"readability-use-anyofallof",
@@ -2320,12 +2392,16 @@
23202392
},
23212393
"C_Cpp.debugShortcut": {
23222394
"type": "boolean",
2323-
"default": false,
2324-
"tags": [
2325-
"experimental"
2326-
],
2327-
"description": "Show the Run and Debug play button in the editor title bar for C++ files.",
2395+
"default": true,
2396+
"description": "Show the \"Run and Debug\" play button and \"Add Debug Configuration\" gear in the editor title bar for C++ files.",
23282397
"scope": 1
2398+
},
2399+
"C_Cpp.legacyCompilerArgsBehavior": {
2400+
"type": "boolean",
2401+
"default": false,
2402+
"markdownDescription": "Enable pre-v1.10.0 behavior for how shell escaping is handled in compiler arg settings. Shell escaping is no longer expected or supported by default in arg arrays starting in v1.10.0.",
2403+
"scope": 4,
2404+
"deprecationMessage": "This setting is temporary to support transitioning to corrected behavior in v1.10.0."
23292405
}
23302406
}
23312407
}

0 commit comments

Comments
 (0)