Skip to content

Commit 3abe8a5

Browse files
authored
Merge pull request #9468 from microsoft/main
Merge for 1.11.0
2 parents 4fc18a7 + 2dc0a86 commit 3abe8a5

132 files changed

Lines changed: 1406 additions & 958 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Extension/CHANGELOG.md

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,63 @@
11
# C/C++ for Visual Studio Code Change Log
22

3-
## Version 1.10.4: June 3, 2022
3+
## Version 1.11.0: June 20, 2022
4+
### New Features
5+
* Add inlay hints for parameters and auto types. [#5845](https://github.com/microsoft/vscode-cpptools/issues/5845)
6+
47
### Bug Fixes
5-
* Fix formatting issue with vcFormat when using multi-byte UTF-8 sequences. [#9297](https://github.com/microsoft/vscode-cpptools/issues/9297)
6-
* Add support for "user" level and "workspace" level debug configurations. [#9319](https://github.com/microsoft/vscode-cpptools/issues/9319)
7-
* Fix code analysis with g++ 12 system headers. [#9347](https://github.com/microsoft/vscode-cpptools/issues/9347)
8-
* Fix crash on macOS <= 10.14, due to missing symbol. [#9387](https://github.com/microsoft/vscode-cpptools/issues/9387)
8+
* Fix doxygen comments not being displayed for multiple adjacent `@brief` or `@return` tags. [#9316](https://github.com/microsoft/vscode-cpptools/issues/9316)
9+
* Fix crash if clang-tidy returns a replacement with an empty FilePath. [#9437](https://github.com/microsoft/vscode-cpptools/issues/9437)
10+
* Fix skipping the compiler argument after `-c`. [#9453](https://github.com/microsoft/vscode-cpptools/issues/9453)
11+
* Fix `-std:c++20` not being handled with cl.exe. [#9458](https://github.com/microsoft/vscode-cpptools/issues/9458)
912

10-
## Version 1.10.3: May 23, 2022
11-
### New Feature
12-
* Add code actions to apply clang-tidy fixes. [#8476](https://github.com/microsoft/vscode-cpptools/issues/8476)
13-
* Make the "Run and Debug" button feature available to all users. [#9306](https://github.com/microsoft/vscode-cpptools/issues/9306)
13+
## Version 1.10.7: June 15, 2022
14+
### Bug Fixes
15+
* Fix bugs with process creation on Windows (which caused IntelliSense to fail). [#9431](https://github.com/microsoft/vscode-cpptools/issues/9431)
1416

17+
## Version 1.10.6: June 14, 2022
1518
### Bug Fixes
16-
* Fix several IntelliSense bugs. [#6226](https://github.com/microsoft/vscode-cpptools/issues/6226), [#8294](https://github.com/microsoft/vscode-cpptools/issues/8294), [#8530](https://github.com/microsoft/vscode-cpptools/issues/8530), [#8725](https://github.com/microsoft/vscode-cpptools/issues/8725), [#8751](https://github.com/microsoft/vscode-cpptools/issues/8751), [#9076](https://github.com/microsoft/vscode-cpptools/issues/9076), [#9224](https://github.com/microsoft/vscode-cpptools/issues/9224), [#9336](https://github.com/microsoft/vscode-cpptools/issues/9336)
17-
* Prevent language service activation for macOS older than 10.12. [PR #9328](https://github.com/microsoft/vscode-cpptools/pull/9328)
19+
* Fix `@responseFile` in `compilerArgs` not being handled on Linux/Mac. [#9434](https://github.com/microsoft/vscode-cpptools/issues/9434)
20+
* Fix debug preLaunchTask not working when `C_Cpp.intelliSenseEngine` is `"Disabled"`. [#9446](https://github.com/microsoft/vscode-cpptools/issues/9446)
21+
* Make the `C_Cpp.legacyCompilerArgsBehavior` setting non-deprecated.
1822

19-
## Version 1.10.2: May 12, 2022
20-
### Bug Fix
21-
* Fix abnormal process termination (causing core dump creation on some systems) during process creation on Linux/Mac. [#9301](https://github.com/microsoft/vscode-cpptools/issues/9301)
23+
## Version 1.10.5: June 8, 2022
24+
### New Features
25+
* Add code actions to apply clang-tidy fixes (and other actions). [#8476](https://github.com/microsoft/vscode-cpptools/issues/8476)
26+
* Added support for setting values on top level watch window expressions. [#9019](https://github.com/microsoft/vscode-cpptools/issues/9019)
27+
* Make the "Run and Debug" button feature available to all users. [#9306](https://github.com/microsoft/vscode-cpptools/issues/9306)
2228

23-
## Version 1.10.1: May 10, 2022
2429
### Enhancements
30+
* Add `C_Cpp.clangTidy.useBuildPath` setting to enable using `-p` with clang-tidy. [#8740](https://github.com/microsoft/vscode-cpptools/issues/8740), [#8952](https://github.com/microsoft/vscode-cpptools/issues/8952)
2531
* Generate launch.json when adding a new debug configuration. [#9100](https://github.com/microsoft/vscode-cpptools/issues/9100)
2632
* Prioritize the "folder" option when doing a `#include` completion. [#9222](https://github.com/microsoft/vscode-cpptools/issues/9222)
2733
* Add compiler path to debug configuration details. [PR #9264](https://github.com/microsoft/vscode-cpptools/pull/9264)
28-
29-
### Bug Fixes
30-
* Fix handling of `@response` files for clang-tidy on Windows. [#8843](https://github.com/microsoft/vscode-cpptools/issues/8843), [#9032](https://github.com/microsoft/vscode-cpptools/issues/9032), [#9102](https://github.com/microsoft/vscode-cpptools/issues/9102)
31-
* Fix cpptools-srv zombie processes. [#9261](https://github.com/microsoft/vscode-cpptools/issues/9261)
32-
* Fix `C_Cpp.codeAnalysis.clangTidy.useBuildPath` adding "compile_commands.json" to the `-p` argument. [#9273](https://github.com/microsoft/vscode-cpptools/issues/9273)
33-
* Fix Go to Definition on a `#include` with an absolute path. [#9287](https://github.com/microsoft/vscode-cpptools/issues/9287)
34-
35-
## Version 1.10.0: April 21, 2022
36-
### New Feature
37-
* Added support for setting values on top-level watch window expressions. [#9019](https://github.com/microsoft/vscode-cpptools/issues/9019)
38-
39-
### Enhancements
40-
* Add a `C_Cpp.clangTidy.useBuildPath` setting to enable using `-p` with clang-tidy. [#8740](https://github.com/microsoft/vscode-cpptools/issues/8740), [#8952](https://github.com/microsoft/vscode-cpptools/issues/8952)
4134
* Update the bundled clang-format and clang-tidy to version 14.0.0.
4235

4336
### Bug Fixes
44-
* Fix System.NullReferenceException when continuing after adding a breakpoint. [#1297](https://github.com/microsoft/MIEngine/issues/1297)
45-
* Fix an issue with shell processing incorrectly occurring for `arguments` fields in `compile_commands.json` files. [#8649](https://github.com/microsoft/vscode-cpptools/issues/8649)
37+
* Fix 'System.NullReferenceException when continuing after adding breakpoint.' [#1297](https://github.com/microsoft/MIEngine/issues/1297)
4638
* Fix completion not working in `#define` definitions and in definition names when manually invoked. [#4662](https://github.com/microsoft/vscode-cpptools/issues/4662), [#8973](https://github.com/microsoft/vscode-cpptools/issues/8973), [#9078](https://github.com/microsoft/vscode-cpptools/issues/9078)
47-
* Fix an issue with inconsistent handling of shell escaping in compiler arg fields. All compiler arg array fields are now assumed to not include shell quoting, escaping or shell variables. Added a `C_Cpp.legacyCompilerArgsBehavior` to restore the legacy behavior. [#8963](https://github.com/microsoft/vscode-cpptools/issues/8963)
39+
* Fix several IntelliSense bugs. [#6226](https://github.com/microsoft/vscode-cpptools/issues/6226), [#8294](https://github.com/microsoft/vscode-cpptools/issues/8294), [#8530](https://github.com/microsoft/vscode-cpptools/issues/8530), [#8725](https://github.com/microsoft/vscode-cpptools/issues/8725), [#8751](https://github.com/microsoft/vscode-cpptools/issues/8751), [#9076](https://github.com/microsoft/vscode-cpptools/issues/9076), [#9224](https://github.com/microsoft/vscode-cpptools/issues/9224), [#9336](https://github.com/microsoft/vscode-cpptools/issues/9336).
40+
* Fix issue with shell processing incorrectly occurring for `arguments` fields in `compile_commands.json` files. [#8649](https://github.com/microsoft/vscode-cpptools/issues/8649)
41+
* Fix handling of `@response` files for clang-tidy on Windows. [#8843](https://github.com/microsoft/vscode-cpptools/issues/8843), [#9032](https://github.com/microsoft/vscode-cpptools/issues/9032), [#9102](https://github.com/microsoft/vscode-cpptools/issues/9102)
42+
* Fix issue with inconsistent handling of shell escaping in compiler arg fields. All compiler arg array fields are now assumed to not include shell quoting, escaping or shell variables. Added a `C_Cpp.legacyCompilerArgsBehavior` to restore the legacy behavior. [#8963](https://github.com/microsoft/vscode-cpptools/issues/8963)
4843
* Add localized strings for build tasks. [#9051](https://github.com/microsoft/vscode-cpptools/issues/9051)
4944
* Fix Go to Definition with C for identifiers that are C++ keywords. [#9081](https://github.com/microsoft/vscode-cpptools/issues/9081)
5045
* Fix the new Run/Debug Code button not working with a modified program location. [#9082](https://github.com/microsoft/vscode-cpptools/issues/9082)
5146
* Fix `__GNUC__` system defines causing clang-tidy to undefine `_Float32`. [#9091](https://github.com/microsoft/vscode-cpptools/issues/9091)
52-
* Fix breakpoints set before launch in shared objects cannot be disabled/deleted. [#9095](https://github.com/microsoft/vscode-cpptools/issues/9095)
47+
* Fix 'breakpoints set before launch in shared objects cannot be disabled/deleted' [#9095]([https://github.com/microsoft/vscode-cpptools/issues/9095)
5348
* Fix compiler querying failing for compilers that don't output system includes. [#9099](https://github.com/microsoft/vscode-cpptools/issues/9099)
5449
* Fix completion occurring (when it shouldn't) after the comma in a definition list. [#9101](https://github.com/microsoft/vscode-cpptools/issues/9101)
5550
* Fix `;` incorrectly matching for `break;` and `continue;` completion. [#9115](https://github.com/microsoft/vscode-cpptools/issues/9115)
51+
* Fix Go to Definition on a `#include` with an absolute path. [#9287](https://github.com/microsoft/vscode-cpptools/issues/9287)
52+
* Fix formatting issue with vcFormat when using multi-byte UTF-8 sequences. [#9297](https://github.com/microsoft/vscode-cpptools/issues/9297)
53+
* Fix language server disabling due to a TypeError when invalid json values are used. [#9302](https://github.com/microsoft/vscode-cpptools/issues/9302)
54+
* Add support for "user" level and "workspace" level debug configurations. [#9319](https://github.com/microsoft/vscode-cpptools/issues/9319)
55+
* Prevent language service activation for macOS older than 10.12. [PR #9328](https://github.com/microsoft/vscode-cpptools/pull/9328)
56+
* Fix code analysis with g++ 12 system headers. [#9347](https://github.com/microsoft/vscode-cpptools/issues/9347)
57+
* Enable correct symbol parsing for methods that call loop-like macros without requiring the macro be added to cpp.hint. [#9378](https://github.com/microsoft/vscode-cpptools/issues/9378)
58+
* Fix a code analysis error when C++23 is used. [#9404](https://github.com/microsoft/vscode-cpptools/issues/9404)
5659
* Fix a potential crash in cpptools (in `get_identifier_at_offset`).
5760
* Other Run and Debug button updates/fixes.
58-
* IntelliSense parsing fixes.
5961

6062
## Version 1.9.8: April 20, 2022
6163
### Bug Fixes

Extension/bin/messages/cs/messages.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3457,5 +3457,9 @@
34573457
"znaková konstanta UTF-16 nemůže zabírat více než jednu jednotku kódu; hodnota byla zkrácena",
34583458
"oba argumenty musí mít stejný typ",
34593459
"typ %t není platný jako argument pro tento předdefinovan.",
3460-
"voláno z %nd:"
3460+
"voláno z %nd:",
3461+
"kvalifikovaný typ je pro anonymní bitová pole nestandardní.",
3462+
"typ elementu vektorové podmínky (%t1) musí mít stejnou velikost jako typ elementu výsledku (%t2).",
3463+
"typ operandu vektoru s plovoucí desetinnou čárkou (%t) nemá žádný odpovídající celočíselný vektorový typ.",
3464+
"mangling pro výrazy requires ještě není implementovaný."
34613465
]

Extension/bin/messages/de/messages.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3457,5 +3457,9 @@
34573457
"Eine UTF-16-Zeichenkonstante darf nicht mehrere Codeeinheiten belegen. Wert abgeschnitten.",
34583458
"Beide Argumente müssen denselben Typ aufweisen.",
34593459
"Der Typ \"%t\" ist als Argument für dieses integrierte Element ungültig.",
3460-
"aufgerufen von %nd:"
3460+
"aufgerufen von %nd:",
3461+
"ein qualifizierter Typ ist kein Standard für anonyme Bitfelder",
3462+
"der Elementtyp der Vektorbedingung (%t1) muss dieselbe Größe haben wie der Elementtyp des Ergebnisses (%t2)",
3463+
"der Gleitkomma-Vektoroperandentyp (%t) hat keinen übereinstimmenden ganzzahligen Vektortyp",
3464+
"das Mangling für 'requires'-Ausdrücke ist noch nicht implementiert"
34613465
]

Extension/bin/messages/es/messages.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3457,5 +3457,9 @@
34573457
"una constante de caracteres UTF-16 no puede ocupar más de una unidad de código; valor truncado",
34583458
"ambos argumentos deben tener el mismo tipo",
34593459
"el tipo %t no es válido como argumento para este elemento integrado",
3460-
"llamado desde %nd:"
3460+
"llamado desde %nd:",
3461+
"un tipo calificado no es estándar para campos de bits anónimos",
3462+
"el tipo de elemento de la condición de vector (%t1) debe tener el mismo tamaño que el tipo de elemento del resultado (%t2)",
3463+
"el tipo de operando de vector de punto flotante (%t) no tiene ningún tipo de vector entero coincidente",
3464+
"aún no se ha implementado la limpieza de expresiones \"requires\""
34613465
]

Extension/bin/messages/fr/messages.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3457,5 +3457,9 @@
34573457
"une constante de caractères UTF-16 ne peut pas occuper plusieurs unités de code ; valeur tronquée",
34583458
"les deux arguments doivent avoir le même type",
34593459
"le type %t n’est pas valide en tant qu’argument pour ce builtin",
3460-
"appelé à partir de %nd :"
3460+
"appelé à partir de %nd :",
3461+
"un type qualifié n’est pas standard pour les champs de bits anonymes.",
3462+
"le type d’élément de la condition vectorielle (%t1) doit avoir la même taille que le type d’élément du résultat (%t2).",
3463+
"le type d’opérande vectoriel à virgule flottante (%t) n’a pas de type de vecteur entier correspondant.",
3464+
"La gestion des expressions \"requires\" n'est pas encore implémentée."
34613465
]

Extension/bin/messages/it/messages.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3457,5 +3457,9 @@
34573457
"una costante di caratteri UTF-16 non può occupare più di un'unità di codice; valore troncato",
34583458
"entrambi gli argomenti devono avere lo stesso tipo",
34593459
"il tipo %t non è valido come argomento per questa compilazione",
3460-
"chiamato da %nd:"
3460+
"chiamato da %nd:",
3461+
"un tipo qualificato non è conforme allo standard per i campi di bit anonimi",
3462+
"il tipo di elemento della condizione vettoriale (%t1) deve avere le stesse dimensioni del tipo di elemento del risultato (%t2)",
3463+
"il tipo di operando di vettore a virgola mobile (%t) non ha un tipo di vettore intero corrispondente",
3464+
"il mangling per le espressioni 'requires' non è ancora implementato"
34613465
]

Extension/bin/messages/ja/messages.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3457,5 +3457,9 @@
34573457
"UTF-16 文字定数は複数のコード単位を占有できません。値が切り捨てられました",
34583458
"両方の引数は同じ型である必要があります",
34593459
"型 %t は、このビルトインの引数として無効です",
3460-
"%nd からの呼び出し:"
3460+
"%nd からの呼び出し:",
3461+
"修飾された型は匿名ビット フィールドでは非標準です",
3462+
"ベクトル条件 (%t1) の要素型は、結果の要素型 (%t2) と同じサイズである必要があります",
3463+
"浮動小数点ベクトル オペランド型 (%t) に一致する整数ベクトル型がありません",
3464+
"'requires' 式のためのマングリングは、まだ実装されていません"
34613465
]

Extension/bin/messages/ko/messages.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3457,5 +3457,9 @@
34573457
"UTF-16 문자 상수는 코드 단위를 두 개 이상 사용할 수 없음; 값 잘림",
34583458
"두 인수의 형식이 같아야 함",
34593459
"%t 형식은 이 기본 제공의 인수로 사용할 수 없음",
3460-
"%nd에서 호출"
3460+
"%nd에서 호출",
3461+
"정규화된 형식이 익명 비트 필드에 대해 표준이 아닙니다.",
3462+
"벡터 조건의 요소 유형(%t1)은 결과의 요소 유형(%t2)과 크기가 같아야 합니다.",
3463+
"부동 소수점 벡터 피연산자 유형(%t)에 일치하는 정수 벡터 유형이 없습니다.",
3464+
"'requires' 식에 대한 mangling이 아직 구현되지 않았습니다."
34613465
]

Extension/bin/messages/pl/messages.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3457,5 +3457,9 @@
34573457
"stała znaków UTF-16 nie może zajmować więcej niż jednej jednostki kodu; obcięta wartość",
34583458
"oba argumenty muszą mieć ten sam typ",
34593459
"typ %t jest nieprawidłowy jako argument dla tej wbudowanej",
3460-
"wywołano z %nd:"
3460+
"wywołano z %nd:",
3461+
"kwalifikowany typ jest niestandardowy dla anonimowych pól bitowych",
3462+
"typ elementu warunku wektora (%t1) musi mieć taki sam rozmiar jak typ elementu wyniku (%t2)",
3463+
"typ operandu wektora zmiennoprzecinkowego (%t) nie ma zgodnego typu wektora liczb całkowitych",
3464+
"nie jest jeszcze zaimplementowane dekorowanie wyrażeń typu „requires”."
34613465
]

Extension/bin/messages/pt-br/messages.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3457,5 +3457,9 @@
34573457
"uma constante de caractere UTF-16 não pode ocupar mais de uma unidade de código; valor truncado",
34583458
"ambos os argumentos devem ter o mesmo tipo",
34593459
"o tipo %téinválido como argumento para este builtin",
3460-
"chamado de %nd:"
3460+
"chamado de %nd:",
3461+
"um tipo qualificado não é padrão para campos de bits anônimos",
3462+
"o tipo de elemento da condição de vetor (%t1) deve ter o mesmo tamanho que o tipo de elemento do resultado (%t2)",
3463+
"o tipo de operando vetorial de ponto flutuante (%t) não tem nenhum tipo de vetor inteiro correspondente",
3464+
"a estruturação para expressões 'requires' ainda não foi implementada"
34613465
]

0 commit comments

Comments
 (0)