Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge for 1.21.1 (pre-release) #12467

Merged
merged 12 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# C/C++ for Visual Studio Code Changelog

## Version 1.21.1: July 15, 2024
### Enhancements
* Add `see` and `sa` to the `C_Cpp.doxygen.sectionTags` setting. [#12384](https://github.com/microsoft/vscode-cpptools/issues/12384)
* Update the vcpkg header database. [PR #12430](https://github.com/microsoft/vscode-cpptools/pull/12430)
* Disable the pre-release prompt if the `extensions.ignoreRecommendations` setting is `true`. [#12438](https://github.com/microsoft/vscode-cpptools/issues/12438)
* Switch to an alternative workspace symbol search implementation (performance and results will be slightly different from previous versions).
* Various IntelliSense engine updates/fixes.

### Bug Fixes
* Fix a crash if the Ryzen 3000 doesn't have updated drivers. [#12201](https://github.com/microsoft/vscode-cpptools/issues/12201)
* Fix relative paths in `compile_commands.json` to be relative to the `compile_commands.json`'s directory. [#12290](https://github.com/microsoft/vscode-cpptools/issues/12290)
* Fix a tag parser performance regression. [#12292](https://github.com/microsoft/vscode-cpptools/issues/12292)
* Fix code analysis, find all references, and rename from getting the wrong configuration for non-open files on the first run when using a configuration provider. [#12313](https://github.com/microsoft/vscode-cpptools/issues/12313)
* Fix potential crashes. [#12354](https://github.com/microsoft/vscode-cpptools/issues/12354)
* Fix the language status not showing it's busy while the tag parser is initializing. [#12403](https://github.com/microsoft/vscode-cpptools/issues/12403)
* Fix the vcpkg code action not appearing for missing headers available via vcpkg. [#12413](https://github.com/microsoft/vscode-cpptools/issues/12413)
* Fix custom configurations sometimes not getting used. [PR #12427](https://github.com/microsoft/vscode-cpptools/pull/12427)
* Fix a code analysis error when using gcc 14. [#12428](https://github.com/microsoft/vscode-cpptools/issues/12428)
* Fix a cause of colorization, inactive regions, and inlay hints getting cleared when an update is pending.
* Fix a cause of semantic tokens transiently being placed in the wrong location.
* Fix a potential deadlock when configured using compile commands.

## Version 1.21.0: June 17, 2024
### Bug Fixes
* Stop logging file watch events for excluded files. [#11455](https://github.com/microsoft/vscode-cpptools/issues/11455)
Expand Down
Binary file modified Extension/VCPkgHeadersDatabase.zip
Binary file not shown.
3 changes: 2 additions & 1 deletion Extension/bin/messages/cs/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"pro aktuální jednotku překladu se nepovedlo vytvořit jednotku hlavičky",
"aktuální jednotka překladu používá jednu nebo více funkcí, které se v tuto chvíli nedají zapsat do jednotky hlavičky",
"explicit(bool) je funkcí C++20"
"explicit(bool) je funkcí C++20",
"musí být zadán název modulu pro mapování souboru modulu odkazující na soubor %sq"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"für die aktuelle Übersetzungseinheit konnte keine Headereinheit erstellt werden",
"Die aktuelle Übersetzungseinheit verwendet mindestens ein Feature, das derzeit nicht in eine Headereinheit geschrieben werden kann",
"\"explicit(bool)\" ist ein C++20-Feature"
"\"explicit(bool)\" ist ein C++20-Feature",
"Für die Moduldateizuordnung, die auf die Datei \"%sq\" verweist, muss ein Modulname angegeben werden."
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"no se pudo crear una unidad de encabezado para la unidad de traducción actual",
"la unidad de traducción actual usa una o varias características que no se pueden escribir actualmente en una unidad de encabezado",
"'explicit(bool)' es una característica de C++20"
"'explicit(bool)' es una característica de C++20",
"se debe especificar un nombre de módulo para la asignación de archivos de módulo que hace referencia al archivo %sq"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"impossible de créer une unité d’en-tête pour l’unité de traduction actuelle",
"l’unité de traduction actuelle utilise une ou plusieurs fonctionnalités qui ne peuvent actuellement pas être écrites dans une unité d’en-tête",
"'explicit(bool)' est une fonctionnalité C++20"
"'explicit(bool)' est une fonctionnalité C++20",
"un nom de module doit être spécifié pour la carte de fichiers de module référençant le fichier %sq"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/it/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"Non è possibile creare un'unità di intestazione per l'unità di conversione corrente",
"l'unità di conversione corrente utilizza una o più funzionalità che attualmente non possono essere scritte in un'unità di intestazione",
"'explicit(bool)' è una funzionalità di C++20"
"'explicit(bool)' è una funzionalità di C++20",
"è necessario specificare un nome modulo per la mappa dei file del modulo che fa riferimento al file %sq"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"現在の翻訳単位のヘッダー ユニットを作成できませんでした",
"現在の翻訳単位は、現在ヘッダー ユニットに書き込むことができない 1 つ以上の機能を使用します",
"'explicit(bool)' は C++20 機能です"
"'explicit(bool)' は C++20 機能です",
"ファイル %sq を参照するモジュール ファイル マップにモジュール名を指定する必要があります"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/ko/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"현재 변환 단위에 대한 헤더 단위를 만들 수 없습니다.",
"현재 변환 단위는 헤더 단위에 현재 쓸 수 없는 하나 이상의 기능을 사용합니다.",
"'explicit(bool)'는 C++20 기능입니다."
"'explicit(bool)'는 C++20 기능입니다.",
"%sq 파일을 참조하는 모듈 파일 맵에 대한 모듈 이름을 지정해야 합니다."
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/pl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"nie można utworzyć jednostki nagłówka dla bieżącej jednostki translacji",
"bieżąca jednostka translacji używa co najmniej jednej funkcji, których obecnie nie można zapisać w jednostce nagłówka",
"„explicit(bool)” jest funkcją języka C++20"
"„explicit(bool)” jest funkcją języka C++20",
"nazwa modułu musi być określona dla mapy pliku modułu odwołującej się do pliku %sq"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/pt-br/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"não foi possível criar uma unidade de cabeçalho para a unidade de tradução atual",
"a unidade de tradução atual usa um ou mais recursos que não podem ser gravados atualmente em uma unidade de cabeçalho",
"'explicit(bool)' é um recurso do C++20"
"'explicit(bool)' é um recurso do C++20",
"um nome de módulo deve ser especificado para o mapa do arquivo de módulo que faz referência ao arquivo %sq"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"не удалось создать единицу заголовка для текущей единицы трансляции",
"текущая единица трансляции использует одну или несколько функций, которые в данный момент невозможно записать в единицу заголовка",
"\"explicit(bool)\" — это функция C++20"
"\"explicit(bool)\" — это функция C++20",
"необходимо указать имя модуля для сопоставления файла модуля, ссылающегося на файл %sq"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/tr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"geçerli çeviri birimi için bir başlık birimi oluşturulamadı",
"mevcut çeviri birimi şu anda bir başlık birimine yazılamayan bir veya daha fazla özellik kullanıyorsa",
"'explicit(bool)' bir C++20 özelliğidir"
"'explicit(bool)' bir C++20 özelliğidir",
"%sq dosyasına başvuran modül dosyası eşlemesi için bir modül adı belirtilmelidir"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/zh-cn/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"无法为当前翻译单元创建标头单元",
"当前翻译单元使用当前无法写入标头单元的一个或多个功能",
"“explicit(bool)” 是 C++20 功能"
"“explicit(bool)” 是 C++20 功能",
"必须为引用文件 %sq 的模块文件映射指定模块名称"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/zh-tw/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,5 +3600,6 @@
"EDG IFC",
"無法為目前的編譯單位建立標頭單位",
"目前的編譯單位使用一或多個目前無法寫入標頭單位的功能",
"'explicit(bool)' 是 C++20 功能"
"'explicit(bool)' 是 C++20 功能",
"必須為參照檔案的模組檔案對應指定模組名稱 %sq"
]
1 change: 1 addition & 0 deletions Extension/i18n/chs/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "结果:",
"return_label": "返回:",
"returns_label": "返回:",
"sa_label": "另请参阅:",
"since_label": "开始日期:",
"template_parameters_label": "模板参数:",
"test_label": "测试:",
Expand Down
1 change: 1 addition & 0 deletions Extension/i18n/cht/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "結果:",
"return_label": "傳回:",
"returns_label": "傳回:",
"sa_label": "另請參閱:",
"since_label": "自:",
"template_parameters_label": "範本參數:",
"test_label": "測試:",
Expand Down
1 change: 1 addition & 0 deletions Extension/i18n/csy/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "Výsledek:",
"return_label": "Vrátit:",
"returns_label": "Vrací:",
"sa_label": "Další informace:",
"since_label": "Od:",
"template_parameters_label": "Parametry šablony:",
"test_label": "Test:",
Expand Down
1 change: 1 addition & 0 deletions Extension/i18n/deu/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "Ergebnis:",
"return_label": "Rückgabe:",
"returns_label": "Rückgabe:",
"sa_label": "Siehe auch:",
"since_label": "Seit:",
"template_parameters_label": "Vorlagenparameter:",
"test_label": "Test:",
Expand Down
1 change: 1 addition & 0 deletions Extension/i18n/esn/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "Resultado:",
"return_label": "Devolución:",
"returns_label": "Devuelve:",
"sa_label": "Vea también:",
"since_label": "Desde:",
"template_parameters_label": "Parámetros de plantilla:",
"test_label": "Prueba:",
Expand Down
1 change: 1 addition & 0 deletions Extension/i18n/fra/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "Résultat :",
"return_label": "Retour :",
"returns_label": "Retourne :",
"sa_label": "Afficher aussi :",
"since_label": "Depuis :",
"template_parameters_label": "Paramètres du modèle :",
"test_label": "Tester :",
Expand Down
1 change: 1 addition & 0 deletions Extension/i18n/ita/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "Risultati:",
"return_label": "Restituisci:",
"returns_label": "Restituisce:",
"sa_label": "Vedere anche:",
"since_label": "Da:",
"template_parameters_label": "Parametri del modello:",
"test_label": "Test:",
Expand Down
2 changes: 1 addition & 1 deletion Extension/i18n/jpn/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -449,4 +449,4 @@
"c_cpp.configuration.refactoring.includeHeader.always.description": "ヘッダー ファイルがソース ファイルに明示的に含まれていない場合は、常にヘッダー ファイルを含めます。",
"c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "ヘッダー ファイルがソース ファイルに明示的に含まれていない場合、または暗黙的にインクルードされていない場合にのみ、ヘッダー ファイルを含めます。",
"c_cpp.configuration.refactoring.includeHeader.never.description": "ヘッダー ファイルを含めることはありません。"
}
}
1 change: 1 addition & 0 deletions Extension/i18n/jpn/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "結果:",
"return_label": "戻り値:",
"returns_label": "戻り値:",
"sa_label": "関連項目:",
"since_label": "次の日時以降:",
"template_parameters_label": "テンプレート パラメーター:",
"test_label": "テスト:",
Expand Down
1 change: 1 addition & 0 deletions Extension/i18n/kor/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "결과:",
"return_label": "반환:",
"returns_label": "반환 값:",
"sa_label": "참고 항목:",
"since_label": "다음 이후:",
"template_parameters_label": "템플릿 매개 변수:",
"test_label": "테스트:",
Expand Down
1 change: 1 addition & 0 deletions Extension/i18n/plk/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "Wynik:",
"return_label": "Zwrot:",
"returns_label": "Zwraca:",
"sa_label": "Zobacz też:",
"since_label": "Od:",
"template_parameters_label": "Parametry szablonu:",
"test_label": "Testowanie:",
Expand Down
1 change: 1 addition & 0 deletions Extension/i18n/ptb/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "Resultado:",
"return_label": "Retornar:",
"returns_label": "Retorna:",
"sa_label": "Consulte também:",
"since_label": "Desde:",
"template_parameters_label": "Parâmetros do Modelo:",
"test_label": "Testar:",
Expand Down
1 change: 1 addition & 0 deletions Extension/i18n/rus/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "Результат:",
"return_label": "Возврат:",
"returns_label": "Возвращает:",
"sa_label": "См. также:",
"since_label": "С:",
"template_parameters_label": "Параметры шаблона:",
"test_label": "Тест:",
Expand Down
1 change: 1 addition & 0 deletions Extension/i18n/trk/src/nativeStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"result_label": "Sonuç:",
"return_label": "Dönüş:",
"returns_label": "Şunu döndürür:",
"sa_label": "Ayrıca bkz:",
"since_label": "Dan beri:",
"template_parameters_label": "Şablon Parametreleri:",
"test_label": "Test et:",
Expand Down
4 changes: 3 additions & 1 deletion Extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cpptools",
"displayName": "C/C++",
"description": "C/C++ IntelliSense, debugging, and code browsing.",
"version": "1.21.0-main",
"version": "1.21.1-main",
"publisher": "ms-vscode",
"icon": "LanguageCCPP_color_128x.png",
"readme": "README.md",
Expand Down Expand Up @@ -1577,6 +1577,8 @@
"result",
"returns",
"retval",
"sa",
"see",
"since",
"tparam",
"test",
Expand Down
10 changes: 5 additions & 5 deletions Extension/src/Debugger/configurationProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1162,16 +1162,16 @@ abstract class DefaultConfigurationProvider implements IConfigurationAssetProvid

class WindowsConfigurationProvider extends DefaultConfigurationProvider {
private executable: string = "a.exe";
private pipeProgram: string = "<" + localize("path.to.pipe.program", "full path to pipe program such as {0}", "plink.exe").replace(/"/g, '\\"') + ">";
private pipeProgram: string = "<" + localize("path.to.pipe.program", "full path to pipe program such as {0}", "plink.exe").replace(/"/g, '') + ">";
private MIMode: string = 'gdb';
private setupCommandsBlock: string = `"setupCommands": [
{
"description": "${localize("enable.pretty.printing", "Enable pretty-printing for {0}", "gdb").replace(/"/g, '\\"')}",
"description": "${localize("enable.pretty.printing", "Enable pretty-printing for {0}", "gdb").replace(/"/g, '')}",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "${localize("enable.intel.disassembly.flavor", "Set Disassembly Flavor to {0}", "Intel").replace(/"/g, '\\"')}",
"description": "${localize("enable.intel.disassembly.flavor", "Set Disassembly Flavor to {0}", "Intel").replace(/"/g, '')}",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
Expand Down Expand Up @@ -1205,12 +1205,12 @@ class LinuxConfigurationProvider extends DefaultConfigurationProvider {
private MIMode: string = 'gdb';
private setupCommandsBlock: string = `"setupCommands": [
{
"description": "${localize("enable.pretty.printing", "Enable pretty-printing for {0}", "gdb").replace(/"/g, '\\"')}",
"description": "${localize("enable.pretty.printing", "Enable pretty-printing for {0}", "gdb").replace(/"/g, '')}",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "${localize("enable.intel.disassembly.flavor", "Set Disassembly Flavor to {0}", "Intel").replace(/"/g, '\\"')}",
"description": "${localize("enable.intel.disassembly.flavor", "Set Disassembly Flavor to {0}", "Intel").replace(/"/g, '')}",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
Expand Down
Loading
Loading