|
146 | 146 | }, |
147 | 147 | "scope": 4 |
148 | 148 | }, |
| 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 | + }, |
149 | 179 | "C_Cpp.codeAnalysis.runAutomatically": { |
150 | 180 | "type": "boolean", |
151 | 181 | "markdownDescription": "If `true`, code analysis will run automatically on a file after it is opened or saved.", |
|
203 | 233 | "enum": [ |
204 | 234 | "*", |
205 | 235 | "abseil-*", |
| 236 | + "abseil-cleanup-ctad", |
206 | 237 | "abseil-duration-*", |
207 | 238 | "abseil-duration-addition", |
208 | 239 | "abseil-duration-comparison", |
|
297 | 328 | "bugprone-string-constructor", |
298 | 329 | "bugprone-string-integer-assignment", |
299 | 330 | "bugprone-string-literal-with-embedded-nul", |
| 331 | + "bugprone-stringview-nullptr", |
300 | 332 | "bugprone-suspicious-*", |
301 | 333 | "bugprone-suspicious-enum-usage", |
302 | 334 | "bugprone-suspicious-include", |
| 335 | + "bugprone-suspicious-memory-comparison", |
303 | 336 | "bugprone-suspicious-memset-usage", |
304 | 337 | "bugprone-suspicious-missing-comma", |
305 | 338 | "bugprone-suspicious-semicolon", |
|
334 | 367 | "cert-env33-c", |
335 | 368 | "cert-err*", |
336 | 369 | "cert-err09-cpp", |
| 370 | + "cert-err33-c", |
337 | 371 | "cert-err34-c", |
338 | 372 | "cert-err52-cpp", |
339 | 373 | "cert-err58-cpp", |
340 | 374 | "cert-err60-cpp", |
341 | 375 | "cert-err61-cpp", |
| 376 | + "cert-exp42-c", |
342 | 377 | "cert-fio38-c", |
| 378 | + "cert-flp*", |
343 | 379 | "cert-flp30-c", |
| 380 | + "cert-flp37-c", |
344 | 381 | "cert-mem57-cpp", |
345 | 382 | "cert-msc*", |
346 | 383 | "cert-msc30-c", |
|
352 | 389 | "cert-oop54-cpp", |
353 | 390 | "cert-oop57-cpp", |
354 | 391 | "cert-oop58-cpp", |
| 392 | + "cert-pos*", |
355 | 393 | "cert-pos44-c", |
| 394 | + "cert-pos47-c", |
356 | 395 | "cert-sig30-c", |
357 | 396 | "cert-str34-c", |
358 | 397 | "clang-analyzer-*", |
|
493 | 532 | "cppcoreguidelines-pro-type-vararg", |
494 | 533 | "cppcoreguidelines-slicing", |
495 | 534 | "cppcoreguidelines-special-member-functions", |
| 535 | + "cppcoreguidelines-virtual-class-destructor", |
496 | 536 | "darwin-*", |
497 | 537 | "darwin-avoid-spinlock", |
498 | 538 | "darwin-dispatch-once-nonstatic", |
|
583 | 623 | "llvmlibc-restrict-system-libc-headers", |
584 | 624 | "misc-*", |
585 | 625 | "misc-definitions-in-headers", |
| 626 | + "misc-misleading-*", |
| 627 | + "misc-misleading-bidirectional", |
| 628 | + "misc-misleading-identifier", |
586 | 629 | "misc-misplaced-const", |
587 | 630 | "misc-new-delete-overloads", |
588 | 631 | "misc-no-recursion", |
|
640 | 683 | "mpi-buffer-deref", |
641 | 684 | "mpi-type-mismatch", |
642 | 685 | "objc-*", |
| 686 | + "objc-assert-equals", |
643 | 687 | "objc-avoid-nserror-init", |
644 | 688 | "objc-dealloc-in-category", |
645 | 689 | "objc-forbidden-subclassing", |
|
677 | 721 | "readability-avoid-const-params-in-decls", |
678 | 722 | "readability-braces-around-statements", |
679 | 723 | "readability-const-return-type", |
| 724 | + "readability-container-*", |
| 725 | + "readability-container-contains", |
| 726 | + "readability-container-data-pointer", |
680 | 727 | "readability-container-size-empty", |
681 | 728 | "readability-convert-member-functions-to-static", |
682 | 729 | "readability-delete-null-pointer", |
| 730 | + "readability-duplicate-include", |
683 | 731 | "readability-else-after-return", |
684 | 732 | "readability-function-*", |
685 | 733 | "readability-function-cognitive-complexity", |
686 | 734 | "readability-function-size", |
| 735 | + "readability-identifier-*", |
| 736 | + "readability-identifier-length", |
687 | 737 | "readability-identifier-naming", |
688 | 738 | "readability-implicit-bool-conversion", |
689 | 739 | "readability-inconsistent-declaration-parameter-name", |
|
713 | 763 | "readability-static-accessed-through-instance", |
714 | 764 | "readability-static-definition-in-anonymous-namespace", |
715 | 765 | "readability-string-compare", |
| 766 | + "readability-suspicious-call-argument", |
716 | 767 | "readability-uniqueptr-delete-release", |
717 | 768 | "readability-uppercase-literal-suffix", |
718 | 769 | "readability-use-anyofallof", |
|
729 | 780 | "enum": [ |
730 | 781 | "*", |
731 | 782 | "abseil-*", |
| 783 | + "abseil-cleanup-ctad", |
732 | 784 | "abseil-duration-*", |
733 | 785 | "abseil-duration-addition", |
734 | 786 | "abseil-duration-comparison", |
|
823 | 875 | "bugprone-string-constructor", |
824 | 876 | "bugprone-string-integer-assignment", |
825 | 877 | "bugprone-string-literal-with-embedded-nul", |
| 878 | + "bugprone-stringview-nullptr", |
826 | 879 | "bugprone-suspicious-*", |
827 | 880 | "bugprone-suspicious-enum-usage", |
828 | 881 | "bugprone-suspicious-include", |
| 882 | + "bugprone-suspicious-memory-comparison", |
829 | 883 | "bugprone-suspicious-memset-usage", |
830 | 884 | "bugprone-suspicious-missing-comma", |
831 | 885 | "bugprone-suspicious-semicolon", |
|
860 | 914 | "cert-env33-c", |
861 | 915 | "cert-err*", |
862 | 916 | "cert-err09-cpp", |
| 917 | + "cert-err33-c", |
863 | 918 | "cert-err34-c", |
864 | 919 | "cert-err52-cpp", |
865 | 920 | "cert-err58-cpp", |
866 | 921 | "cert-err60-cpp", |
867 | 922 | "cert-err61-cpp", |
| 923 | + "cert-exp42-c", |
868 | 924 | "cert-fio38-c", |
| 925 | + "cert-flp*", |
869 | 926 | "cert-flp30-c", |
| 927 | + "cert-flp37-c", |
870 | 928 | "cert-mem57-cpp", |
871 | 929 | "cert-msc*", |
872 | 930 | "cert-msc30-c", |
|
878 | 936 | "cert-oop54-cpp", |
879 | 937 | "cert-oop57-cpp", |
880 | 938 | "cert-oop58-cpp", |
| 939 | + "cert-pos*", |
881 | 940 | "cert-pos44-c", |
| 941 | + "cert-pos47-c", |
882 | 942 | "cert-sig30-c", |
883 | 943 | "cert-str34-c", |
884 | 944 | "clang-analyzer-*", |
|
1019 | 1079 | "cppcoreguidelines-pro-type-vararg", |
1020 | 1080 | "cppcoreguidelines-slicing", |
1021 | 1081 | "cppcoreguidelines-special-member-functions", |
| 1082 | + "cppcoreguidelines-virtual-class-destructor", |
1022 | 1083 | "darwin-*", |
1023 | 1084 | "darwin-avoid-spinlock", |
1024 | 1085 | "darwin-dispatch-once-nonstatic", |
|
1109 | 1170 | "llvmlibc-restrict-system-libc-headers", |
1110 | 1171 | "misc-*", |
1111 | 1172 | "misc-definitions-in-headers", |
| 1173 | + "misc-misleading-*", |
| 1174 | + "misc-misleading-bidirectional", |
| 1175 | + "misc-misleading-identifier", |
1112 | 1176 | "misc-misplaced-const", |
1113 | 1177 | "misc-new-delete-overloads", |
1114 | 1178 | "misc-no-recursion", |
|
1166 | 1230 | "mpi-buffer-deref", |
1167 | 1231 | "mpi-type-mismatch", |
1168 | 1232 | "objc-*", |
| 1233 | + "objc-assert-equals", |
1169 | 1234 | "objc-avoid-nserror-init", |
1170 | 1235 | "objc-dealloc-in-category", |
1171 | 1236 | "objc-forbidden-subclassing", |
|
1203 | 1268 | "readability-avoid-const-params-in-decls", |
1204 | 1269 | "readability-braces-around-statements", |
1205 | 1270 | "readability-const-return-type", |
| 1271 | + "readability-container-*", |
| 1272 | + "readability-container-contains", |
| 1273 | + "readability-container-data-pointer", |
1206 | 1274 | "readability-container-size-empty", |
1207 | 1275 | "readability-convert-member-functions-to-static", |
1208 | 1276 | "readability-delete-null-pointer", |
| 1277 | + "readability-duplicate-include", |
1209 | 1278 | "readability-else-after-return", |
1210 | 1279 | "readability-function-*", |
1211 | 1280 | "readability-function-cognitive-complexity", |
1212 | 1281 | "readability-function-size", |
| 1282 | + "readability-identifier-*", |
| 1283 | + "readability-identifier-length", |
1213 | 1284 | "readability-identifier-naming", |
1214 | 1285 | "readability-implicit-bool-conversion", |
1215 | 1286 | "readability-inconsistent-declaration-parameter-name", |
|
1239 | 1310 | "readability-static-accessed-through-instance", |
1240 | 1311 | "readability-static-definition-in-anonymous-namespace", |
1241 | 1312 | "readability-string-compare", |
| 1313 | + "readability-suspicious-call-argument", |
1242 | 1314 | "readability-uniqueptr-delete-release", |
1243 | 1315 | "readability-uppercase-literal-suffix", |
1244 | 1316 | "readability-use-anyofallof", |
|
2320 | 2392 | }, |
2321 | 2393 | "C_Cpp.debugShortcut": { |
2322 | 2394 | "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.", |
2328 | 2397 | "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." |
2329 | 2405 | } |
2330 | 2406 | } |
2331 | 2407 | } |
|
0 commit comments