Skip to content

Commit 5cbe83e

Browse files
authored
Merge pull request #12877 from microsoft/main
Preliminary merge for 1.23.0
2 parents d41ccfd + e58e963 commit 5cbe83e

File tree

77 files changed

+861
-470
lines changed

Some content is hidden

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

77 files changed

+861
-470
lines changed

Extension/CHANGELOG.md

Lines changed: 34 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,117 +1,65 @@
11
# C/C++ for Visual Studio Code Changelog
22

3-
## Version 1.22.8: October 8, 2024
3+
## Version 1.22.10: October 21, 2024
44
### Bug Fixes
5-
* Fix an issue with the 'Add #include' code action incorrectly using a relative path for a system include. [#12010](https://github.com/microsoft/vscode-cpptools/issues/12010)
6-
* Fix an issue with lingering incorrect squiggles after an edit. [#12175](https://github.com/microsoft/vscode-cpptools/issues/12175)
7-
* Fix an issue with clang-format/tidy version checks for some builds. [#12806](https://github.com/microsoft/vscode-cpptools/issues/12806)
8-
* Revert/postpone changes related to recursive includes handling due to issues with some projects.
9-
* Fix a memory leak.
10-
11-
## Version 1.22.7: September 30, 2024
12-
### Enhancement
13-
* The .vsix and .js files are now signed. [#12725](https://github.com/microsoft/vscode-cpptools/issues/12725), [#12744](https://github.com/microsoft/vscode-cpptools/issues/12744)
14-
15-
### Bug Fixes
16-
* Fix some Copilot-related issues. [PR #12773](https://github.com/microsoft/vscode-cpptools/pull/12773)
17-
* Fix an issue preventing use of a full command line in `compilerPath`. [PR #12774](https://github.com/microsoft/vscode-cpptools/pull/12774)
18-
* Fix an infinite loop on shutdown after changing the selected settings.
19-
* Fix a crash (from `insert_lines`).
5+
* Fix the 'Extract to Function' feature not working.
6+
* Fix the 'Go to Next/Prev Preprocessor Conditional' feature not working.
207

21-
## Version 1.22.6: September 25, 2024
22-
### Bug Fixes
23-
* Fix an issue with usage of `#cpp` with Copilot chat. [vscode-copilot-release#1634](https://github.com/microsoft/vscode-copilot-release/issues/1634)
24-
* Fix a performance regression with tag parsing.
25-
* Fix a document buffer issue related to edits within files containing multi-byte characters.
26-
27-
## Version 1.22.5: September 24, 2024
28-
### Enhancement
29-
* Add the database path to the `C/C++: Log Diagnostics` output.
30-
31-
### Bug Fixes
32-
* Fix some synchronization and crash issues with `handle_edits`. [#12747](https://github.com/microsoft/vscode-cpptools/issues/12747)
33-
* Fix usage of `#cpp` with Copilot chat. [PR #12755](https://github.com/microsoft/vscode-cpptools/pull/12755)
34-
* Fix some document buffer issues.
35-
36-
## Version 1.22.4: September 19, 2024
37-
### Enhancements
38-
* Performance improvements related to how custom configurations are processed. [#12632](https://github.com/microsoft/vscode-cpptools/issues/12632)
39-
* Performance improvements related to LSP request processing.
40-
41-
### Bug Fixes
42-
* Fix an issue with missing database symbols after a Rename operation. [#12480](https://github.com/microsoft/vscode-cpptools/issues/12480)
43-
* Work around IntelliSense issues with clang 18 due to `size_t` not being defined. [#12618](https://github.com/microsoft/vscode-cpptools/issues/12618)
44-
* Fix some crashes with recursive includes. [#12643](https://github.com/microsoft/vscode-cpptools/issues/12643)
45-
* Possibly fix a crash in `find_existing_intellisense_client`. [#12666](https://github.com/microsoft/vscode-cpptools/issues/12666)
46-
* Fix issues applying `files.exclude` settings when `C_Cpp.caseSensitiveFileSupport` is enabled. [#12672](https://github.com/microsoft/vscode-cpptools/issues/12672)
47-
* Fix an issue with duplicate tag parsing occurring after a Rename operation. [#12728](https://github.com/microsoft/vscode-cpptools/issues/12728)
48-
* Fix an issue causing unnecessary TU updates for files opened during a Rename operation, when `"files.refactoring.autoSave": false` is used.
49-
50-
## Version 1.22.3: September 12, 2024
51-
### Enhancement
52-
* Add support for providing additional context information to Copilot Chat. [PR #12685](https://github.com/microsoft/vscode-cpptools/pull/12685)
53-
* Currently, it requires `"C_Cpp.experimentalFeatures": "enabled"` and typing `#cpp` in the chat.
54-
55-
### Bug Fixes
56-
* Fix the compiler selection control not keeping the list in sync with contents of the textbox. [#7427](https://github.com/microsoft/vscode-cpptools/issues/7427)
57-
* Fix a string localization issue. [#7824](https://github.com/microsoft/vscode-cpptools/issues/7824)
58-
* Stop logging duplicate compiler path messages. [#12445](https://github.com/microsoft/vscode-cpptools/issues/12445)
59-
* Fix some crashes with recursive includes. [#12643](https://github.com/microsoft/vscode-cpptools/issues/12643)
60-
* Fix a rare crash on macOS related to `get_memory_usage`. [#12667](https://github.com/microsoft/vscode-cpptools/issues/12667)
61-
* Fix an issue with 'Extract to Function' formatting. [#12677](https://github.com/microsoft/vscode-cpptools/issues/12677)
62-
* Fix a potential deadlock in `process_paths`. [#12690](https://github.com/microsoft/vscode-cpptools/issues/12690)
63-
64-
## Version 1.22.2: August 29, 2024
65-
### Enhancement
66-
* Remove the `C_Cpp.intelliSenseEngineFallback` setting. [#12596](https://github.com/microsoft/vscode-cpptools/issues/12596)
67-
68-
### Bug Fix
69-
* Fix a deadlock when doing "Find All References" and a file is deleted. [#12656](https://github.com/microsoft/vscode-cpptools/issues/12656)
70-
71-
## Version 1.22.1: August 29, 2024
72-
### Enhancement
73-
* Add "Additional Tracked Settings" to `C/C++: Log Diagnostics` output. [PR #12635](https://github.com/microsoft/vscode-cpptools/pull/12635)
74-
75-
### Bug Fixes
76-
* Fix hover over static constexpr variables sometimes not working. [#12284](https://github.com/microsoft/vscode-cpptools/issues/12284)
77-
* Fix completion not giving results in several scenarios. [#12412](https://github.com/microsoft/vscode-cpptools/issues/12412)
78-
* Fix include completion showing results for deleted folders with recursive includes. [#12636](https://github.com/microsoft/vscode-cpptools/issues/12636)
79-
* Fix the `/FU` flag not working for C++/CLI . [#12641](https://github.com/microsoft/vscode-cpptools/issues/12641)
80-
* Fix some crashes with recursive includes. [#12643](https://github.com/microsoft/vscode-cpptools/issues/12643)
81-
* Fix IntelliSense not working on Windows when `C_Cpp.caseSensitiveFileSupport` is `enabled`. [#12648](https://github.com/microsoft/vscode-cpptools/issues/12648)
82-
* Changes that might fix a crash with `translate_encoding_to_utf8`. [#12652](https://github.com/microsoft/vscode-cpptools/issues/12652)
83-
* Fix a random crash during IntelliSense creation.
84-
85-
## Version 1.22.0: August 26, 2024
8+
## Version 1.22.9: October 10, 2024
869
### Performance Improvements
87-
* Switch to an alternative implementation of recursive includes (that sends all the paths instead of only the "used" paths). [#11780](https://github.com/microsoft/vscode-cpptools/issues/11780)
88-
- Performance improvement: Configuration is no longer blocked on tag parsing of all dependent headers.
89-
- Configuration change: Recursive include paths now take precedence over system include paths (similar to compiler behavior and non-recursive includes). [#11485](https://github.com/microsoft/vscode-cpptools/issues/11485)
9010
* Initialization performance improvements. [#12030](https://github.com/microsoft/vscode-cpptools/issues/12030)
9111
- Some processing is parallelized and started earlier (populating the filename cache, discovering files). [#11954](https://github.com/microsoft/vscode-cpptools/issues/11954), [#12169](https://github.com/microsoft/vscode-cpptools/issues/12169)
9212
- Some compiler configuration queries are cached in the database, and processing of compile_commands.json was improved. [#10029](https://github.com/microsoft/vscode-cpptools/issues/10029), [#12078](https://github.com/microsoft/vscode-cpptools/issues/12078)
13+
* Performance improvements related to how custom configurations are processed. [#9003](https://github.com/microsoft/vscode-cpptools/issues/9003), [#12632](https://github.com/microsoft/vscode-cpptools/issues/12632)
9314
* Improve the implementation of file buffers to reduce memory usage.
15+
* Performance improvements related to LSP request processing.
9416

9517
### Enhancements
9618
* Add modified `C_Cpp` settings to the `C/C++: Log Diagnostics` output. [#11700](https://github.com/microsoft/vscode-cpptools/issues/11700)
97-
* Change the default C/C++ `"editor.stickyScroll.defaultModel"` to `"foldingProviderModel"`. [#12483](https://github.com/microsoft/vscode-cpptools/issues/12483)
9819
* Add better validation for settings. [#12371](https://github.com/microsoft/vscode-cpptools/issues/12371)
20+
* Change the default C/C++ `"editor.stickyScroll.defaultModel"` to `"foldingProviderModel"`. [#12483](https://github.com/microsoft/vscode-cpptools/issues/12483)
21+
* Remove the `C_Cpp.intelliSenseEngineFallback` setting. [#12596](https://github.com/microsoft/vscode-cpptools/issues/12596)
22+
* Enable `C/C++: Log Diagnostics` without a C/C++ file being active. [#12634](https://github.com/microsoft/vscode-cpptools/issues/12634)
23+
* Add "Additional Tracked Settings" to the `C/C++: Log Diagnostics` output. [PR #12635](https://github.com/microsoft/vscode-cpptools/pull/12635)
24+
* Add support for providing additional context information to Copilot Chat. [PR #12685](https://github.com/microsoft/vscode-cpptools/pull/12685)
25+
* Currently, it requires `"C_Cpp.experimentalFeatures": "enabled"` and typing `#cpp` in the chat.
26+
* The .vsix and .js files are now signed. [#12725](https://github.com/microsoft/vscode-cpptools/issues/12725), [#12744](https://github.com/microsoft/vscode-cpptools/issues/12744)
27+
* Add the database path to the `C/C++: Log Diagnostics` output.
9928
* Various IntelliSense parsing updates/fixes.
10029

10130
### Bug Fixes
31+
* Fix the compiler selection control not keeping the list in sync with the contents of the textbox. [#7427](https://github.com/microsoft/vscode-cpptools/issues/7427)
32+
* Fix a string localization issue. [#7824](https://github.com/microsoft/vscode-cpptools/issues/7824)
33+
* Fix an issue with the 'Add #include' code action incorrectly using a relative path for a system include. [#12010](https://github.com/microsoft/vscode-cpptools/issues/12010)
34+
* Fix an issue with lingering IntelliSense squiggles after an edit. [#12175](https://github.com/microsoft/vscode-cpptools/issues/12175)
35+
* Fix hover over static constexpr variables sometimes not working. [#12284](https://github.com/microsoft/vscode-cpptools/issues/12284)
36+
* Fix completion not giving results in several scenarios. [#12412](https://github.com/microsoft/vscode-cpptools/issues/12412)
10237
* Stop logging duplicate compiler path messages. [#12445](https://github.com/microsoft/vscode-cpptools/issues/12445)
10338
* Fix an issue where a file is incorrectly processed as C instead of C++. [#12466](https://github.com/microsoft/vscode-cpptools/issues/12466)
39+
* Fix an issue with missing database symbols after a Rename operation. [#12480](https://github.com/microsoft/vscode-cpptools/issues/12480)
10440
* Fix include path ordering being incorrect if there is a duplicate. [#12525](https://github.com/microsoft/vscode-cpptools/issues/12525)
10541
* Fix a WebAssembly "Out of Memory" error. [#12529](https://github.com/microsoft/vscode-cpptools/issues/12529)
10642
* Fix an error message not being shown if the connection failed with remote attach debugging. [#12547](https://github.com/microsoft/vscode-cpptools/issues/12547)
10743
* Thank you for the contribution. [@MrStanislav0 (Stanislav)](https://github.com/MrStanislav0)
10844
* Fix `-I` not being used if `-iquote` is also used for the same path. [#12551](https://github.com/microsoft/vscode-cpptools/issues/12551)
10945
* Fix issues with relative paths on `nvcc` (CUDA) command lines not being handled correctly. [#12553](https://github.com/microsoft/vscode-cpptools/issues/12553)
110-
* Fix a random crash when a child process is created. [#12585](https://github.com/microsoft/vscode-cpptools/issues/12585)
11146
* Fix a crash on shutdown on macOS with a verbose logging level. [#12567](https://github.com/microsoft/vscode-cpptools/issues/12567)
47+
* Fix a random crash when a child process is created. [#12585](https://github.com/microsoft/vscode-cpptools/issues/12585)
48+
* Work around IntelliSense issues with clang 18 due to `size_t` not being defined. [#12618](https://github.com/microsoft/vscode-cpptools/issues/12618)
49+
* Fix the `/FU` flag not working for C++/CLI. [#12641](https://github.com/microsoft/vscode-cpptools/issues/12641)
50+
* Fix a crash in `find_existing_intellisense_client`. [#12666](https://github.com/microsoft/vscode-cpptools/issues/12666)
51+
* Fix a rare crash on macOS related to `get_memory_usage`. [#12667](https://github.com/microsoft/vscode-cpptools/issues/12667)
52+
* Fix an issue with 'Extract to Function' formatting. [#12677](https://github.com/microsoft/vscode-cpptools/issues/12677)
53+
* Fix an issue with duplicate tag parsing occurring after a Rename operation. [#12728](https://github.com/microsoft/vscode-cpptools/issues/12728)
54+
* Fix an issue preventing use of a full command line in `compilerPath`. [PR #12774](https://github.com/microsoft/vscode-cpptools/pull/12774)
55+
* Fix an issue with clang-format/tidy version checks for some builds. [#12806](https://github.com/microsoft/vscode-cpptools/issues/12806)
56+
* Fix an issue causing unnecessary TU updates for files opened during a Rename operation, when `"files.refactoring.autoSave": false` is used.
11257
* Fix some issues with recursive includes handling of symbolic links, multi-root, exclusion changes, and file/folder deletion.
11358
* Fix unnecessary IntelliSense resetting when a new file or folder was created.
59+
* Fix an infinite loop on shutdown after changing the selected settings.
11460
* Fix accumulation of stale signature help and completion requests.
61+
* Fix handling of the `compiler-binddir` compiler argument.
62+
* Fix a random crash during IntelliSense creation.
11563
* Fix some bugs with include completion.
11664

11765
## Version 1.21.6: August 5, 2024

Extension/bin/messages/cs/messages.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"poslední řádek souboru končí bez nového řádku",
44
"poslední řádek souboru končí zpětným lomítkem",
55
"Soubor #include %sq obsahuje sám sebe.",
6-
"nedostatek paměti",
6+
"Nedostatek paměti. Zvažte povolení 64bitového modulu IntelliSense a zvýšení limitu paměti IntelliSense v nastaveních.",
77
null,
88
"nezavřený komentář na konci souboru",
99
"Nerozpoznaný token",
@@ -1505,7 +1505,7 @@
15051505
"Chyba příkazového řádku",
15061506
"vnitřní chyba",
15071507
"Vnitřní chyba",
1508-
"-D",
1508+
null,
15091509
null,
15101510
"Došlo k dosažení limitu chyb.",
15111511
"Smyčka interní chyby",
@@ -1524,7 +1524,7 @@
15241524
"převodní jazyk (7)",
15251525
"převodní jazyk (8)",
15261526
"převodní jazyk (9)",
1527-
"PCH",
1527+
null,
15281528
null,
15291529
null,
15301530
null,
@@ -1537,7 +1537,7 @@
15371537
"neplatný znak pro literál char16_t",
15381538
null,
15391539
"Nerozpoznaná konvence volání %s, musí být jednou z:",
1540-
"%s",
1540+
null,
15411541
null,
15421542
null,
15431543
"Nadřízený typ typu výčtu musí být integrální typ.",
@@ -2955,7 +2955,7 @@
29552955
"Specifikátory omezení destruktoru musejí pokrývat sjednocení specifikátorů omezení všech konstruktorů.",
29562956
"error",
29572957
"Pro nostdlib se vyžaduje aspoň jedno nucené použití.",
2958-
"error-type",
2958+
"typ chyby",
29592959
null,
29602960
null,
29612961
null,

Extension/bin/messages/de/messages.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"Die letzte Zeile von Dateien endet ohne Zeilenvorschub.",
44
"Die letzte Zeile von Dateien endet mit einem umgekehrten Schrägstrich.",
55
"Die #include-Datei \"%sq\" schließt sich selbst ein.",
6-
"Nicht genügend Arbeitsspeicher.",
6+
"Es ist nicht genügend Arbeitsspeicher vorhanden. Erwägen Sie, die 64-Bit-IntelliSense-Engine zu aktivieren und das IntelliSense-Arbeitsspeicherlimit in den Einstellungen zu erhöhen.",
77
null,
88
"Nicht geschlossener Kommentar am Ende der Datei",
99
"Unbekanntes Token",
@@ -1505,7 +1505,7 @@
15051505
"Befehlszeilenfehler",
15061506
"Interner Fehler.",
15071507
"Interner Fehler.",
1508-
"-D",
1508+
null,
15091509
null,
15101510
"Fehlerlimit erreicht.",
15111511
"Interne Fehlerschleife",
@@ -1524,7 +1524,7 @@
15241524
"Zwischensprache (7)",
15251525
"Zwischensprache (8)",
15261526
"Zwischensprache (9)",
1527-
"PCH",
1527+
null,
15281528
null,
15291529
null,
15301530
null,
@@ -1537,7 +1537,7 @@
15371537
"Ungültiges Zeichen für char16_t-Literal.",
15381538
null,
15391539
"Unbekannte Aufrufkonvention \"%s\", muss eine der folgenden Optionen sein:",
1540-
"%s",
1540+
null,
15411541
null,
15421542
null,
15431543
"Der zugrunde liegende Typ des Enumerationstyps muss ein integraler Typ sein.",

Extension/bin/messages/es/messages.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"la última línea del archivo termina sin una nueva línea",
44
"la última línea del archivo termina con una barra diagonal inversa",
55
"el archivo #include %sq se incluye a sí mismo",
6-
"memoria insuficiente",
6+
"Memoria insuficiente. Considere la posibilidad de habilitar el motor de IntelliSense de 64 bits y aumentar el límite de memoria de IntelliSense en la configuración.",
77
null,
88
"comentario no cerrado al final del archivo",
99
"token no reconocido",
@@ -1505,7 +1505,7 @@
15051505
"Error de la línea de comandos",
15061506
"Error interno",
15071507
"Error interno",
1508-
"-D",
1508+
null,
15091509
null,
15101510
"Se ha alcanzado el límite de error.",
15111511
"Bucle de error interno",
@@ -1524,7 +1524,7 @@
15241524
"lenguaje intermedio (7)",
15251525
"lenguaje intermedio (8)",
15261526
"lenguaje intermedio (9)",
1527-
"PCH",
1527+
null,
15281528
null,
15291529
null,
15301530
null,
@@ -1537,7 +1537,7 @@
15371537
"carácter no válido para el literal char16_t",
15381538
null,
15391539
"convención de llamada %s no reconocida, debe ser una de las siguientes:",
1540-
"%s",
1540+
null,
15411541
null,
15421542
null,
15431543
"el tipo subyacente del tipo de enumeración debe ser un tipo entero",
@@ -2955,7 +2955,7 @@
29552955
"los especificadores de restricción del destructor deben cubrir la unión de los especificadores de restricción de todos los constructores",
29562956
"error",
29572957
"nostdlib requiere al menos un uso forzado",
2958-
"error-type",
2958+
"tipo de error",
29592959
null,
29602960
null,
29612961
null,

Extension/bin/messages/fr/messages.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"la dernière ligne du fichier se termine sans saut de ligne",
44
"la dernière ligne du fichier se termine par une barre oblique inverse",
55
"le fichier #include %sq s'inclut lui-même",
6-
"Mémoire insuffisante",
6+
"Plus de mémoire. Envisagez d’activer le moteur IntelliSense 64 bits et d’augmenter la limite de mémoire IntelliSense dans les paramètres.",
77
null,
88
"commentaire non fermé à la fin du fichier",
99
"jeton non reconnu",
@@ -1505,7 +1505,7 @@
15051505
"Erreur de ligne de commande",
15061506
"erreur interne",
15071507
"Erreur interne",
1508-
"-D",
1508+
null,
15091509
null,
15101510
"Limitation d'erreur atteinte.",
15111511
"Boucle d'erreur interne",
@@ -1524,7 +1524,7 @@
15241524
"langage intermédiaire (7)",
15251525
"langage intermédiaire (8)",
15261526
"langage intermédiaire (9)",
1527-
"PCH",
1527+
null,
15281528
null,
15291529
null,
15301530
null,
@@ -1537,7 +1537,7 @@
15371537
"caractère non valide pour le littéral char16_t",
15381538
null,
15391539
"convention d'appel inconnue %s, doit être l'une des suivantes :",
1540-
"%s",
1540+
null,
15411541
null,
15421542
null,
15431543
"le type sous-jacent du type enum doit être un type intégral",

Extension/bin/messages/it/messages.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"l'ultima riga del file termina senza un carattere di nuova riga",
44
"l'ultima riga del file termina con una barra rovesciata",
55
"il file #include %sq include se stesso",
6-
"memoria insufficiente",
6+
"Memoria insufficiente. Provare ad abilitare il motore IntelliSense a 64 bit e ad aumentare il limite di memoria IntelliSense nelle impostazioni.",
77
null,
88
"commento non chiuso alla fine del file",
99
"token non riconosciuto",
@@ -1505,7 +1505,7 @@
15051505
"Errore nella riga di comando",
15061506
"errore interno",
15071507
"Errore interno",
1508-
"-D",
1508+
null,
15091509
null,
15101510
"Limite di errore raggiunto.",
15111511
"Ciclo di errore interno",
@@ -1524,7 +1524,7 @@
15241524
"linguaggio intermedio (7)",
15251525
"linguaggio intermedio (8)",
15261526
"linguaggio intermedio (9)",
1527-
"PCH",
1527+
null,
15281528
null,
15291529
null,
15301530
null,
@@ -1537,7 +1537,7 @@
15371537
"carattere non valido per il valore letterale char16_t",
15381538
null,
15391539
"convenzione di chiamata %s non riconosciuta. Deve essere una delle seguenti:",
1540-
"%s",
1540+
null,
15411541
null,
15421542
null,
15431543
"il tipo sottostante del tipo enumerazione deve essere un tipo integrale",

0 commit comments

Comments
 (0)