From 4119b6c263e92a60aac62f1509df0e037d398957 Mon Sep 17 00:00:00 2001 From: Colen Garoutte-Carson <49173979+Colengms@users.noreply.github.com> Date: Mon, 9 Nov 2020 21:45:17 -0800 Subject: [PATCH 01/65] Add string for log message regarding compiler probeability (#6463) --- Extension/src/nativeStrings.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Extension/src/nativeStrings.json b/Extension/src/nativeStrings.json index 1903efda21..97219ce366 100644 --- a/Extension/src/nativeStrings.json +++ b/Extension/src/nativeStrings.json @@ -218,5 +218,7 @@ "detected_language_standard_version": "Detected language standard version: {0}", "unhandled_default_target_detected": "Unhandled default compiler target value detected: {0}", "unhandled_target_arg_detected": "Unhandled target argument value detected: {0}", - "memory_limit_shutting_down_intellisense": "Shutting down IntelliSense server: {0}. Memory usage is {1} MB and has exceeded the {2} MB limit." + "memory_limit_shutting_down_intellisense": "Shutting down IntelliSense server: {0}. Memory usage is {1} MB and has exceeded the {2} MB limit.", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } From ec66642c60faa07581a7034343626da0678b540f Mon Sep 17 00:00:00 2001 From: csigs Date: Tue, 10 Nov 2020 11:58:44 -0800 Subject: [PATCH 02/65] Localization - Translated Strings (#6487) --- Extension/i18n/chs/src/nativeStrings.i18n.json | 4 +++- Extension/i18n/cht/src/nativeStrings.i18n.json | 4 +++- Extension/i18n/csy/src/nativeStrings.i18n.json | 4 +++- Extension/i18n/deu/src/nativeStrings.i18n.json | 4 +++- Extension/i18n/esn/src/nativeStrings.i18n.json | 4 +++- Extension/i18n/fra/src/nativeStrings.i18n.json | 4 +++- Extension/i18n/ita/src/nativeStrings.i18n.json | 4 +++- Extension/i18n/jpn/src/nativeStrings.i18n.json | 4 +++- Extension/i18n/kor/src/nativeStrings.i18n.json | 4 +++- Extension/i18n/plk/src/nativeStrings.i18n.json | 4 +++- Extension/i18n/ptb/src/nativeStrings.i18n.json | 4 +++- Extension/i18n/rus/src/nativeStrings.i18n.json | 4 +++- Extension/i18n/trk/src/nativeStrings.i18n.json | 4 +++- 13 files changed, 39 insertions(+), 13 deletions(-) diff --git a/Extension/i18n/chs/src/nativeStrings.i18n.json b/Extension/i18n/chs/src/nativeStrings.i18n.json index 7981674908..66c6e5ad4a 100644 --- a/Extension/i18n/chs/src/nativeStrings.i18n.json +++ b/Extension/i18n/chs/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "检测到的语言标准版本: {0}", "unhandled_default_target_detected": "检测到未处理的默认编译器目标值: {0}", "unhandled_target_arg_detected": "检测到未处理的目标参数值: {0}", - "memory_limit_shutting_down_intellisense": "正在关闭 IntelliSense 服务器: {0}。内存使用量为 {1} MB,已超过 {2} MB 的限制。" + "memory_limit_shutting_down_intellisense": "正在关闭 IntelliSense 服务器: {0}。内存使用量为 {1} MB,已超过 {2} MB 的限制。", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/cht/src/nativeStrings.i18n.json b/Extension/i18n/cht/src/nativeStrings.i18n.json index b222bc8f3a..b100df2b7f 100644 --- a/Extension/i18n/cht/src/nativeStrings.i18n.json +++ b/Extension/i18n/cht/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "已偵測到語言標準版本: {0}", "unhandled_default_target_detected": "偵測到未處理的預設編譯器目標值: {0}", "unhandled_target_arg_detected": "偵測到未處理的目標引數值: {0}", - "memory_limit_shutting_down_intellisense": "IntelliSense 伺服器即將關機: {0}。記憶體使用量為 {1} MB,超過了 {2} MB 的限制。" + "memory_limit_shutting_down_intellisense": "IntelliSense 伺服器即將關機: {0}。記憶體使用量為 {1} MB,超過了 {2} MB 的限制。", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/csy/src/nativeStrings.i18n.json b/Extension/i18n/csy/src/nativeStrings.i18n.json index f9a3ca6c5e..434a3d0bdb 100644 --- a/Extension/i18n/csy/src/nativeStrings.i18n.json +++ b/Extension/i18n/csy/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "Zjištěná verze standardu jazyka: {0}", "unhandled_default_target_detected": "Zjistila se neošetřená výchozí hodnota cíle kompilátoru: {0}", "unhandled_target_arg_detected": "Zjistila se neošetřená hodnota argumentu target: {0}", - "memory_limit_shutting_down_intellisense": "Vypíná se server technologie IntelliSense: {0}. Využití paměti je {1} MB a překročilo limit {2} MB." + "memory_limit_shutting_down_intellisense": "Vypíná se server technologie IntelliSense: {0}. Využití paměti je {1} MB a překročilo limit {2} MB.", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/deu/src/nativeStrings.i18n.json b/Extension/i18n/deu/src/nativeStrings.i18n.json index ef6c3730c8..28fcdd36bf 100644 --- a/Extension/i18n/deu/src/nativeStrings.i18n.json +++ b/Extension/i18n/deu/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "Erkannte Sprachstandardversion: {0}", "unhandled_default_target_detected": "Unbehandelter Standardzielwert für Compiler erkannt: {0}", "unhandled_target_arg_detected": "Unbehandelter Zielargumentwert erkannt: {0}", - "memory_limit_shutting_down_intellisense": "IntelliSense-Server wird heruntergefahren: {0}. Die Arbeitsspeicherauslastung beträgt {1} MB und hat das Limit von {2} MB überschritten." + "memory_limit_shutting_down_intellisense": "IntelliSense-Server wird heruntergefahren: {0}. Die Arbeitsspeicherauslastung beträgt {1} MB und hat das Limit von {2} MB überschritten.", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/esn/src/nativeStrings.i18n.json b/Extension/i18n/esn/src/nativeStrings.i18n.json index b12a59e421..f4288bd7dc 100644 --- a/Extension/i18n/esn/src/nativeStrings.i18n.json +++ b/Extension/i18n/esn/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "Versión estándar del lenguaje detectada: {0}", "unhandled_default_target_detected": "Se detectó un valor de destino del compilador predeterminado no controlado: {0}", "unhandled_target_arg_detected": "Se detectó un valor del argumento de destino no controlado: {0}", - "memory_limit_shutting_down_intellisense": "Cerrando el servidor de IntelliSense: {0}. El uso de la memoria es de {1} MB y ha superado el límite de {2} MB." + "memory_limit_shutting_down_intellisense": "Cerrando el servidor de IntelliSense: {0}. El uso de la memoria es de {1} MB y ha superado el límite de {2} MB.", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/fra/src/nativeStrings.i18n.json b/Extension/i18n/fra/src/nativeStrings.i18n.json index b0232d294f..f67ac9ed95 100644 --- a/Extension/i18n/fra/src/nativeStrings.i18n.json +++ b/Extension/i18n/fra/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "Version de la norme de langage détectée : {0}", "unhandled_default_target_detected": "Détection d'une valeur cible par défaut du compilateur non prise en charge : {0}", "unhandled_target_arg_detected": "Détection d'une valeur d'argument cible non prise en charge : {0}", - "memory_limit_shutting_down_intellisense": "Arrêt du serveur IntelliSense : {0}. L'utilisation de la mémoire est de {1} Mo et a dépassé la limite fixée à {2} Mo." + "memory_limit_shutting_down_intellisense": "Arrêt du serveur IntelliSense : {0}. L'utilisation de la mémoire est de {1} Mo et a dépassé la limite fixée à {2} Mo.", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/ita/src/nativeStrings.i18n.json b/Extension/i18n/ita/src/nativeStrings.i18n.json index 96844f29d5..1cd3fb6908 100644 --- a/Extension/i18n/ita/src/nativeStrings.i18n.json +++ b/Extension/i18n/ita/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "Versione standard del linguaggio rilevata: {0}", "unhandled_default_target_detected": "È stato rilevato un valore di destinazione del compilatore predefinito non gestito: {0}", "unhandled_target_arg_detected": "È stato rilevato un valore dell'argomento di destinazione non gestito: {0}", - "memory_limit_shutting_down_intellisense": "Il server IntelliSense verrà arrestato: {0}. La memoria utilizzata è {1} MB e ha superato il limite di {2} MB." + "memory_limit_shutting_down_intellisense": "Il server IntelliSense verrà arrestato: {0}. La memoria utilizzata è {1} MB e ha superato il limite di {2} MB.", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/jpn/src/nativeStrings.i18n.json b/Extension/i18n/jpn/src/nativeStrings.i18n.json index faa5539aa2..e14f9c7c3e 100644 --- a/Extension/i18n/jpn/src/nativeStrings.i18n.json +++ b/Extension/i18n/jpn/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "検出された言語標準バージョン: {0}", "unhandled_default_target_detected": "ハンドルされていない既定のコンパイラ ターゲット値が検出されました: {0}", "unhandled_target_arg_detected": "ハンドルされていないターゲット引数値が検出されました: {0}", - "memory_limit_shutting_down_intellisense": "IntelliSense サーバーをシャットダウンしています: {0}。メモリ使用量は {1} MB で、{2} MB の制限を超えました。" + "memory_limit_shutting_down_intellisense": "IntelliSense サーバーをシャットダウンしています: {0}。メモリ使用量は {1} MB で、{2} MB の制限を超えました。", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/kor/src/nativeStrings.i18n.json b/Extension/i18n/kor/src/nativeStrings.i18n.json index 3e07644139..b70da44496 100644 --- a/Extension/i18n/kor/src/nativeStrings.i18n.json +++ b/Extension/i18n/kor/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "언어 표준 버전이 검색됨: {0}", "unhandled_default_target_detected": "처리되지 않은 기본 컴파일러 대상 값이 검색됨: {0}", "unhandled_target_arg_detected": "처리되지 않은 대상 인수 값이 검색됨: {0}", - "memory_limit_shutting_down_intellisense": "IntelliSense 서버 {0}을(를) 종료하는 중입니다. 메모리 사용량이 {1}MB이며 {2}MB 한도를 초과했습니다." + "memory_limit_shutting_down_intellisense": "IntelliSense 서버 {0}을(를) 종료하는 중입니다. 메모리 사용량이 {1}MB이며 {2}MB 한도를 초과했습니다.", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/plk/src/nativeStrings.i18n.json b/Extension/i18n/plk/src/nativeStrings.i18n.json index ed519ed26d..6a432a1825 100644 --- a/Extension/i18n/plk/src/nativeStrings.i18n.json +++ b/Extension/i18n/plk/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "Wykryta wersja standardowa języka: {0}", "unhandled_default_target_detected": "Wykryto nieobsługiwaną domyślną wartość docelową kompilatora: {0}", "unhandled_target_arg_detected": "Wykryto nieobsługiwaną docelową wartość argumentu: {0}", - "memory_limit_shutting_down_intellisense": "Zamykanie serwera funkcji IntelliSense: {0}. Użycie pamięci to {1} MB i przekroczyło limit wynoszący {2} MB." + "memory_limit_shutting_down_intellisense": "Zamykanie serwera funkcji IntelliSense: {0}. Użycie pamięci to {1} MB i przekroczyło limit wynoszący {2} MB.", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/ptb/src/nativeStrings.i18n.json b/Extension/i18n/ptb/src/nativeStrings.i18n.json index 2df57e19ce..fd9c98e673 100644 --- a/Extension/i18n/ptb/src/nativeStrings.i18n.json +++ b/Extension/i18n/ptb/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "Versão padrão da linguagem detectada: {0}", "unhandled_default_target_detected": "Foi detectado um valor de destino do compilador padrão não tratado: {0}", "unhandled_target_arg_detected": "Foi detectado um valor de argumento de destino não tratado: {0}", - "memory_limit_shutting_down_intellisense": "Desligando o servidor do IntelliSense: {0}. O uso de memória é {1} MB e excedeu o limite de {2} MB." + "memory_limit_shutting_down_intellisense": "Desligando o servidor do IntelliSense: {0}. O uso de memória é {1} MB e excedeu o limite de {2} MB.", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/rus/src/nativeStrings.i18n.json b/Extension/i18n/rus/src/nativeStrings.i18n.json index ff221dbaeb..5a08a59475 100644 --- a/Extension/i18n/rus/src/nativeStrings.i18n.json +++ b/Extension/i18n/rus/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "Обнаруженная версия стандарта языка: {0}", "unhandled_default_target_detected": "Обнаружено необработанное целевое значение компилятора по умолчанию: {0}", "unhandled_target_arg_detected": "Обнаружено необработанное значение целевого аргумента: {0}", - "memory_limit_shutting_down_intellisense": "Завершение работы сервера IntelliSense: {0}. Используемый объем памяти ({1} МБ) превысил ограничение ({2} МБ)." + "memory_limit_shutting_down_intellisense": "Завершение работы сервера IntelliSense: {0}. Используемый объем памяти ({1} МБ) превысил ограничение ({2} МБ).", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/trk/src/nativeStrings.i18n.json b/Extension/i18n/trk/src/nativeStrings.i18n.json index 133b362ae8..80e73713a8 100644 --- a/Extension/i18n/trk/src/nativeStrings.i18n.json +++ b/Extension/i18n/trk/src/nativeStrings.i18n.json @@ -204,5 +204,7 @@ "detected_language_standard_version": "Algılanan dil standart sürümü: {0}", "unhandled_default_target_detected": "İşlenmemiş varsayılan derleyici hedefi değeri saptandı: {0}", "unhandled_target_arg_detected": "İşlenmemiş hedef bağımsız değişken değeri algılandı: {0}", - "memory_limit_shutting_down_intellisense": "IntelliSense sunucusu kapatılıyor: {0}. Bellek kullanımı {1} MB olduğundan {2} MB sınırını aştı." + "memory_limit_shutting_down_intellisense": "IntelliSense sunucusu kapatılıyor: {0}. Bellek kullanımı {1} MB olduğundan {2} MB sınırını aştı.", + "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file From 7bcbea62e954adafcca4ad739be6785d1398fad8 Mon Sep 17 00:00:00 2001 From: Colen Garoutte-Carson <49173979+Colengms@users.noreply.github.com> Date: Tue, 10 Nov 2020 13:10:58 -0800 Subject: [PATCH 03/65] Replace uses of process.env.HOME with os.homedir() (#6479) --- Extension/src/LanguageServer/extension.ts | 5 +---- Extension/src/common.ts | 10 ++-------- Extension/test/unitTests/common.test.ts | 3 ++- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index 00dcbc16f0..322bd69dc6 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -1068,10 +1068,7 @@ function onShowRefCommand(arg?: TreeNode): void { function reportMacCrashes(): void { if (process.platform === "darwin") { prevCrashFile = ""; - const home: string | undefined = process.env.HOME; - if (!home) { - return; - } + const home: string = os.homedir(); const crashFolder: string = path.resolve(home, "Library/Logs/DiagnosticReports"); fs.stat(crashFolder, (err, stats) => { const crashObject: { [key: string]: string } = {}; diff --git a/Extension/src/common.ts b/Extension/src/common.ts index a957d65461..4de3b55e66 100644 --- a/Extension/src/common.ts +++ b/Extension/src/common.ts @@ -126,10 +126,7 @@ export function getVcpkgPathDescriptorFile(): string { } return path.join(pathPrefix, "vcpkg/vcpkg.path.txt"); } else { - const pathPrefix: string | undefined = process.env.HOME; - if (!pathPrefix) { - throw new Error("Unable to read process.env.HOME"); - } + const pathPrefix: string = os.homedir(); return path.join(pathPrefix, ".vcpkg/vcpkg.path.txt"); } } @@ -355,10 +352,7 @@ export function resolveVariables(input: string | undefined, additionalEnvironmen // Resolve '~' at the start of the path. regexp = () => /^\~/g; - ret = ret.replace(regexp(), (match: string, name: string) => { - const newValue: string | undefined = (process.platform === 'win32') ? process.env.USERPROFILE : process.env.HOME; - return newValue ? newValue : match; - }); + ret = ret.replace(regexp(), (match: string, name: string) => os.homedir()); return ret; } diff --git a/Extension/test/unitTests/common.test.ts b/Extension/test/unitTests/common.test.ts index 0d6cd8197e..e79318a7e2 100644 --- a/Extension/test/unitTests/common.test.ts +++ b/Extension/test/unitTests/common.test.ts @@ -3,12 +3,13 @@ * See 'LICENSE' in the project root for license information. * ------------------------------------------------------------------------------------------ */ import * as assert from "assert"; +import * as os from "os"; import { envDelimiter, resolveVariables, escapeForSquiggles } from "../../src/common"; suite("Common Utility validation", () => { suite("resolveVariables", () => { const success: string = "success"; - const home: string = process.env.HOME || process.env.USERPROFILE; + const home: string = os.homedir(); test("raw input", () => { const input: string = "test"; From 68078182bf1f13429bbb6b8da56b2d3162a2eebc Mon Sep 17 00:00:00 2001 From: Colen Garoutte-Carson <49173979+Colengms@users.noreply.github.com> Date: Tue, 10 Nov 2020 13:22:48 -0800 Subject: [PATCH 04/65] Command to generate .editorconfig file (#6415) --- Extension/package.json | 7 +- Extension/package.nls.json | 1 + .../src/LanguageServer/configurations.ts | 4 +- Extension/src/LanguageServer/extension.ts | 12 +- .../referencesTreeDataProvider.ts | 4 +- Extension/src/LanguageServer/settings.ts | 300 ++++++++++++++++-- Extension/src/commands.ts | 1 + Extension/src/main.ts | 1 + Extension/yarn.lock | 8 +- 9 files changed, 297 insertions(+), 41 deletions(-) diff --git a/Extension/package.json b/Extension/package.json index 4e355dd8e8..3d7a077711 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -1207,6 +1207,11 @@ "title": "%c_cpp.command.vcpkgOnlineHelpSuggested.title%", "category": "C/C++" }, + { + "command": "C_Cpp.GenerateEditorConfig", + "title": "%c_cpp.command.generateEditorConfig.title%", + "category": "C/C++" + }, { "command": "C_Cpp.referencesViewGroupByType", "category": "C/C++", @@ -2347,7 +2352,7 @@ "@types/plist": "^3.0.2", "@types/semver": "^7.1.0", "@types/tmp": "^0.1.0", - "@types/vscode": "1.44.0", + "@types/vscode": "1.49.0", "@types/webpack": "^4.39.0", "@types/which": "^1.3.2", "@types/yauzl": "^2.9.1", diff --git a/Extension/package.nls.json b/Extension/package.nls.json index c64e925756..60486fda1e 100644 --- a/Extension/package.nls.json +++ b/Extension/package.nls.json @@ -17,6 +17,7 @@ "c_cpp.command.rescanWorkspace.title": "Rescan Workspace", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Copy vcpkg install command to clipboard", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Visit the vcpkg help page", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "Configures the formatting engine", "c_cpp.configuration.formatting.clangFormat.description": "clang-format will be used to format code.", "c_cpp.configuration.formatting.vcFormat.description": "The Visual C++ formatting engine will be used to format code.", diff --git a/Extension/src/LanguageServer/configurations.ts b/Extension/src/LanguageServer/configurations.ts index 387790dd34..418489ec0e 100644 --- a/Extension/src/LanguageServer/configurations.ts +++ b/Extension/src/LanguageServer/configurations.ts @@ -246,7 +246,9 @@ export class CppProperties { } private onConfigurationsChanged(): void { - this.configurationsChanged.fire(this.Configurations); + if (this.Configurations) { + this.configurationsChanged.fire(this.Configurations); + } } private onSelectionChanged(): void { diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index 322bd69dc6..f7f3b64e82 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -14,7 +14,7 @@ import { TreeNode, NodeType } from './referencesModel'; import { UI, getUI } from './ui'; import { Client } from './client'; import { ClientCollection } from './clientCollection'; -import { CppSettings, OtherSettings } from './settings'; +import { CppSettings, generateEditorConfig, OtherSettings } from './settings'; import { PersistentWorkspaceState, PersistentState } from './persistentState'; import { getLanguageConfig } from './languageConfig'; import { getCustomConfigProviders } from './customProviders'; @@ -767,6 +767,7 @@ export function registerCommands(): void { disposables.push(vscode.commands.registerCommand('C_Cpp.referencesViewUngroupByType', onToggleRefGroupView)); disposables.push(vscode.commands.registerCommand('C_Cpp.VcpkgClipboardInstallSuggested', onVcpkgClipboardInstallSuggested)); disposables.push(vscode.commands.registerCommand('C_Cpp.VcpkgOnlineHelpSuggested', onVcpkgOnlineHelpSuggested)); + disposables.push(vscode.commands.registerCommand('C_Cpp.GenerateEditorConfig', onGenerateEditorConfig)); disposables.push(vscode.commands.registerCommand('cpptools.activeConfigName', onGetActiveConfigName)); disposables.push(vscode.commands.registerCommand('cpptools.activeConfigCustomVariable', onGetActiveConfigCustomVariable)); disposables.push(vscode.commands.registerCommand('cpptools.setActiveConfigName', onSetActiveConfigName)); @@ -890,6 +891,15 @@ function onEditConfiguration(): void { } } +function onGenerateEditorConfig(): void { + onActivationEvent(); + if (!isFolderOpen()) { + generateEditorConfig(); + } else { + selectClient().then(client => generateEditorConfig(client.RootUri)); + } +} + function onAddToIncludePath(path: string): void { if (!isFolderOpen()) { vscode.window.showInformationMessage(localize('add.includepath.open.first', 'Open a folder first to add to {0}', "includePath")); diff --git a/Extension/src/LanguageServer/referencesTreeDataProvider.ts b/Extension/src/LanguageServer/referencesTreeDataProvider.ts index 4bcb6985f4..2dd5b90463 100644 --- a/Extension/src/LanguageServer/referencesTreeDataProvider.ts +++ b/Extension/src/LanguageServer/referencesTreeDataProvider.ts @@ -13,8 +13,8 @@ const localize: nls.LocalizeFunc = nls.loadMessageBundle(); export class ReferencesTreeDataProvider implements vscode.TreeDataProvider { private referencesModel: ReferencesModel | undefined; - private readonly _onDidChangeTreeData = new vscode.EventEmitter(); - readonly onDidChangeTreeData: vscode.Event; + private readonly _onDidChangeTreeData = new vscode.EventEmitter(); + readonly onDidChangeTreeData: vscode.Event; constructor() { this.onDidChangeTreeData = this._onDidChangeTreeData.event; diff --git a/Extension/src/LanguageServer/settings.ts b/Extension/src/LanguageServer/settings.ts index e17fa42dcf..700fc958d0 100644 --- a/Extension/src/LanguageServer/settings.ts +++ b/Extension/src/LanguageServer/settings.ts @@ -74,7 +74,7 @@ export class CppSettings extends Settings { public get clangFormatPath(): string | undefined { let path: string | undefined | null = super.Section.get("clang_format_path"); if (!path) { - path = which.sync('clang-format', {nothrow: true}); + path = which.sync('clang-format', { nothrow: true }); if (!path) { return undefined; } else { @@ -157,7 +157,7 @@ export class CppSettings extends Settings { public get defaultLimitSymbolsToIncludedHeaders(): boolean | undefined { return super.Section.get("default.browse.limitSymbolsToIncludedHeaders"); } public get defaultSystemIncludePath(): string[] | undefined { return super.Section.get("default.systemIncludePath"); } public get defaultEnableConfigurationSquiggles(): boolean | undefined { return super.Section.get("default.enableConfigurationSquiggles"); } - public get defaultCustomConfigurationVariables(): { [key: string]: string } | undefined { return super.Section.get< { [key: string]: string } >("default.customConfigurationVariables"); } + public get defaultCustomConfigurationVariables(): { [key: string]: string } | undefined { return super.Section.get<{ [key: string]: string }>("default.customConfigurationVariables"); } public get useBacktickCommandSubstitution(): boolean | undefined { return super.Section.get("debugger.useBacktickCommandSubstitution"); } public get codeFolding(): boolean { return super.Section.get("codeFolding") === "Enabled"; } @@ -175,12 +175,16 @@ export class CppSettings extends Settings { return super.Section.get("vcFormat.indent.braces") === true; } - public get vcFormatIndentMultiLineRelativeTo(): string | undefined { - return super.Section.get("vcFormat.indent.multiLineRelativeTo"); + public get vcFormatIndentMultiLineRelativeTo(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.indent.multiLineRelativeTo")!; } - public get vcFormatIndentWithinParentheses(): string | undefined { - return super.Section.get("vcFormat.indent.withinParentheses"); + public get vcFormatIndentWithinParentheses(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.indent.withinParentheses")!; } public get vcFormatIndentPreserveWithinParentheses(): boolean { @@ -203,12 +207,16 @@ export class CppSettings extends Settings { return super.Section.get("vcFormat.indent.lambdaBracesWhenParameter") === true; } - public get vcFormatIndentGotoLables(): string | undefined { - return super.Section.get("vcFormat.indent.gotoLabels"); + public get vcFormatIndentGotoLables(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.indent.gotoLabels")!; } - public get vcFormatIndentPreprocessor(): string | undefined { - return super.Section.get("vcFormat.indent.preprocessor"); + public get vcFormatIndentPreprocessor(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.indent.preprocessor")!; } public get vcFormatIndentAccessSpecifiers(): boolean { @@ -223,24 +231,34 @@ export class CppSettings extends Settings { return super.Section.get("vcFormat.indent.preserveComments") === true; } - public get vcFormatNewlineBeforeOpenBraceNamespace(): string | undefined { - return super.Section.get("vcFormat.newLine.beforeOpenBrace.namespace"); + public get vcFormatNewlineBeforeOpenBraceNamespace(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.newLine.beforeOpenBrace.namespace")!; } - public get vcFormatNewlineBeforeOpenBraceType(): string | undefined { - return super.Section.get("vcFormat.newLine.beforeOpenBrace.type"); + public get vcFormatNewlineBeforeOpenBraceType(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.newLine.beforeOpenBrace.type")!; } - public get vcFormatNewlineBeforeOpenBraceFunction(): string | undefined { - return super.Section.get("vcFormat.newLine.beforeOpenBrace.function"); + public get vcFormatNewlineBeforeOpenBraceFunction(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.newLine.beforeOpenBrace.function")!; } - public get vcFormatNewlineBeforeOpenBraceBlock(): string | undefined { - return super.Section.get("vcFormat.newLine.beforeOpenBrace.block"); + public get vcFormatNewlineBeforeOpenBraceBlock(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.newLine.beforeOpenBrace.block")!; } - public get vcFormatNewlineBeforeOpenBraceLambda(): string | undefined { - return super.Section.get("vcFormat.newLine.beforeOpenBrace.lambda"); + public get vcFormatNewlineBeforeOpenBraceLambda(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.newLine.beforeOpenBrace.lambda")!; } public get vcFormatNewlineScopeBracesOnSeparateLines(): boolean { @@ -267,8 +285,10 @@ export class CppSettings extends Settings { return super.Section.get("vcFormat.newLine.beforeWhileInDoWhile") === true; } - public get vcFormatSpaceBeforeFunctionOpenParenthesis(): string | undefined { - return super.Section.get("vcFormat.space.beforeFunctionOpenParenthesis"); + public get vcFormatSpaceBeforeFunctionOpenParenthesis(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.space.beforeFunctionOpenParenthesis")!; } public get vcFormatSpaceWithinParameterListParentheses(): boolean { @@ -383,24 +403,34 @@ export class CppSettings extends Settings { return super.Section.get("vcFormat.space.removeAroundUnaryOperator") === true; } - public get vcFormatSpaceAroundBinaryOperator(): string | undefined { - return super.Section.get("vcFormat.space.aroundBinaryOperator"); + public get vcFormatSpaceAroundBinaryOperator(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.space.aroundBinaryOperator")!; } - public get vcFormatSpaceAroundAssignmentOperator(): string | undefined { - return super.Section.get("vcFormat.space.aroundAssignmentOperator"); + public get vcFormatSpaceAroundAssignmentOperator(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.space.aroundAssignmentOperator")!; } - public get vcFormatSpacePointerReferenceAlignment(): string | undefined { - return super.Section.get("vcFormat.space.pointerReferenceAlignment"); + public get vcFormatSpacePointerReferenceAlignment(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.space.pointerReferenceAlignment")!; } - public get vcFormatSpaceAroundTernaryOperator(): string | undefined { - return super.Section.get("vcFormat.space.aroundTernaryOperator"); + public get vcFormatSpaceAroundTernaryOperator(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.space.aroundTernaryOperator")!; } - public get vcFormatWrapPreserveBlocks(): string | undefined { - return super.Section.get("vcFormat.wrap.preserveBlocks"); + public get vcFormatWrapPreserveBlocks(): string { + // These strings have default values in package.json, so should never be undefined. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return super.Section.get("vcFormat.wrap.preserveBlocks")!; } public get dimInactiveRegions(): boolean { @@ -458,3 +488,209 @@ export class OtherSettings { public get customTextMateRules(): TextMateRule[] | undefined { return vscode.workspace.getConfiguration("editor.tokenColorCustomizations").get("textMateRules"); } public getCustomThemeSpecificTextMateRules(themeName: string): TextMateRule[] | undefined { return vscode.workspace.getConfiguration(`editor.tokenColorCustomizations.[${themeName}]`, this.resource).get("textMateRules"); } } + +function mapIndentationReferenceToEditorConfig(value: string | undefined): string { + if (value !== undefined) { + // Will never actually be undefined, as these settings have default values. + if (value === "statementBegin") { + return "statement_begin"; + } + if (value === "outermostParenthesis") { + return "outermost_parenthesis"; + } + } + return "innermost_parenthesis"; +} + +function mapIndentToEditorConfig(value: string | undefined): string { + if (value !== undefined) { + // Will never actually be undefined, as these settings have default values. + if (value === "leftmostColumn") { + return "leftmost_column"; + } + if (value === "oneLeft") { + return "one_left"; + } + } + return "none"; +} + +function mapNewOrSameLineToEditorConfig(value: string | undefined): string { + if (value !== undefined) { + // Will never actually be undefined, as these settings have default values. + if (value === "newLine") { + return "new_line"; + } + if (value === "sameLine") { + return "same_line"; + } + } + return "ignore"; +} + +function mapWrapToEditorConfig(value: string | undefined): string { + if (value !== undefined) { + // Will never actually be undefined, as these settings have default values. + if (value === "allOneLineScopes") { + return "all_one_line_scopes"; + } + if (value === "oneLiners") { + return "one_liners"; + } + } + return "never"; +} + +function populateEditorConfig(rootUri: vscode.Uri | undefined, document: vscode.TextDocument): void { + // Set up a map of setting names and values. Parse through the document line-by-line, looking for + // existing occurrences to replace. Replaced occurrences are removed from the map. If any remain when + // done, they are added as a new section at the end of the file. The file is opened with unsaved + // edits, so the user may edit or undo if we made a mistake. + const settings: CppSettings = new CppSettings(rootUri); + const settingMap: Map = new Map(); + settingMap.set("cpp_indent_braces", settings.vcFormatIndentBraces.toString()); + settingMap.set("cpp_indent_multi_line_relative_to", mapIndentationReferenceToEditorConfig(settings.vcFormatIndentMultiLineRelativeTo)); + settingMap.set("cpp_indent_within_parentheses", settings.vcFormatIndentWithinParentheses.toString()); + settingMap.set("cpp_indent_preserve_within_parentheses", settings.vcFormatIndentPreserveWithinParentheses.toString()); + settingMap.set("cpp_indent_case_labels", settings.vcFormatIndentCaseLabels.toString()); + settingMap.set("cpp_indent_case_contents", settings.vcFormatIndentCaseContents.toString()); + settingMap.set("cpp_indent_case_contents_when_block", settings.vcFormatIndentCaseContentsWhenBlock.toString()); + settingMap.set("cpp_indent_lambda_braces_when_parameter", settings.vcFormatIndentLambdaBracesWhenParameter.toString()); + settingMap.set("cpp_indent_goto_labels", mapIndentToEditorConfig(settings.vcFormatIndentGotoLables)); + settingMap.set("cpp_indent_preprocessor", mapIndentToEditorConfig(settings.vcFormatIndentPreprocessor)); + settingMap.set("cpp_indent_access_specifiers", settings.vcFormatIndentAccessSpecifiers.toString()); + settingMap.set("cpp_indent_namespace_contents", settings.vcFormatIndentNamespaceContents.toString()); + settingMap.set("cpp_indent_preserve_comments", settings.vcFormatIndentPreserveComments.toString()); + settingMap.set("cpp_new_line_before_open_brace_namespace", mapNewOrSameLineToEditorConfig(settings.vcFormatNewlineBeforeOpenBraceNamespace)); + settingMap.set("cpp_new_line_before_open_brace_type", mapNewOrSameLineToEditorConfig(settings.vcFormatNewlineBeforeOpenBraceType)); + settingMap.set("cpp_new_line_before_open_brace_function", mapNewOrSameLineToEditorConfig(settings.vcFormatNewlineBeforeOpenBraceFunction)); + settingMap.set("cpp_new_line_before_open_brace_block", mapNewOrSameLineToEditorConfig(settings.vcFormatNewlineBeforeOpenBraceBlock)); + settingMap.set("cpp_new_line_before_open_brace_lambda", mapNewOrSameLineToEditorConfig(settings.vcFormatNewlineBeforeOpenBraceLambda)); + settingMap.set("cpp_new_line_scope_braces_on_separate_lines", settings.vcFormatNewlineScopeBracesOnSeparateLines.toString()); + settingMap.set("cpp_new_line_close_brace_same_line_empty_type", settings.vcFormatNewlineCloseBraceSameLineEmptyType.toString()); + settingMap.set("cpp_new_line_close_brace_same_line_empty_function", settings.vcFormatNewlineCloseBraceSameLineEmptyFunction.toString()); + settingMap.set("cpp_new_line_before_catch", settings.vcFormatNewlineBeforeCatch.toString().toString()); + settingMap.set("cpp_new_line_before_else", settings.vcFormatNewlineBeforeElse.toString().toString()); + settingMap.set("cpp_new_line_before_while_in_do_while", settings.vcFormatNewlineBeforeWhileInDoWhile.toString()); + settingMap.set("cpp_space_before_function_open_parenthesis", settings.vcFormatSpaceBeforeFunctionOpenParenthesis.toString()); + settingMap.set("cpp_space_within_parameter_list_parentheses", settings.vcFormatSpaceWithinParameterListParentheses.toString()); + settingMap.set("cpp_space_between_empty_parameter_list_parentheses", settings.vcFormatSpaceBetweenEmptyParameterListParentheses.toString()); + settingMap.set("cpp_space_after_keywords_in_control_flow_statements", settings.vcFormatSpaceAfterKeywordsInControlFlowStatements.toString()); + settingMap.set("cpp_space_within_control_flow_statement_parentheses", settings.vcFormatSpaceWithinControlFlowStatementParentheses.toString()); + settingMap.set("cpp_space_before_lambda_open_parenthesis", settings.vcFormatSpaceBeforeLambdaOpenParenthesis.toString()); + settingMap.set("cpp_space_within_cast_parentheses", settings.vcFormatSpaceWithinCastParentheses.toString()); + settingMap.set("cpp_space_after_cast_close_parenthesis", settings.vcFormatSpaceAfterCastCloseParenthesis.toString()); + settingMap.set("cpp_space_within_expression_parentheses", settings.vcFormatSpaceWithinExpressionParentheses.toString()); + settingMap.set("cpp_space_before_block_open_brace", settings.vcFormatSpaceBeforeBlockOpenBrace.toString()); + settingMap.set("cpp_space_between_empty_braces", settings.vcFormatSpaceBetweenEmptyBraces.toString()); + settingMap.set("cpp_space_before_initializer_list_open_brace", settings.vcFormatSpaceBeforeInitializerListOpenBrace.toString()); + settingMap.set("cpp_space_within_initializer_list_braces", settings.vcFormatSpaceWithinInitializerListBraces.toString()); + settingMap.set("cpp_space_preserve_in_initializer_list", settings.vcFormatSpacePreserveInInitializerList.toString()); + settingMap.set("cpp_space_before_open_square_bracket", settings.vcFormatSpaceBeforeOpenSquareBracket.toString()); + settingMap.set("cpp_space_within_square_brackets", settings.vcFormatSpaceWithinSquareBrackets.toString()); + settingMap.set("cpp_space_before_empty_square_brackets", settings.vcFormatSpaceBeforeEmptySquareBrackets.toString()); + settingMap.set("cpp_space_between_empty_square_brackets", settings.vcFormatSpaceBetweenEmptySquareBrackets.toString()); + settingMap.set("cpp_space_group_square_brackets", settings.vcFormatSpaceGroupSquareBrackets.toString()); + settingMap.set("cpp_space_within_lambda_brackets", settings.vcFormatSpaceWithinLambdaBrackets.toString()); + settingMap.set("cpp_space_between_empty_lambda_brackets", settings.vcFormatSpaceBetweenEmptyLambdaBrackets.toString()); + settingMap.set("cpp_space_before_comma", settings.vcFormatSpaceBeforeComma.toString()); + settingMap.set("cpp_space_after_comma", settings.vcFormatSpaceAfterComma.toString()); + settingMap.set("cpp_space_remove_around_member_operators", settings.vcFormatSpaceRemoveAroundMemberOperators.toString()); + settingMap.set("cpp_space_before_inheritance_colon", settings.vcFormatSpaceBeforeInheritanceColon.toString()); + settingMap.set("cpp_space_before_constructor_colon", settings.vcFormatSpaceBeforeConstructorColon.toString()); + settingMap.set("cpp_space_remove_before_semicolon", settings.vcFormatSpaceRemoveBeforeSemicolon.toString()); + settingMap.set("cpp_space_after_semicolon", settings.vcFormatSpaceInsertAfterSemicolon.toString()); + settingMap.set("cpp_space_remove_around_unary_operator", settings.vcFormatSpaceRemoveAroundUnaryOperator.toString()); + settingMap.set("cpp_space_around_binary_operator", settings.vcFormatSpaceAroundBinaryOperator.toString()); + settingMap.set("cpp_space_around_assignment_operator", settings.vcFormatSpaceAroundAssignmentOperator.toString()); + settingMap.set("cpp_space_pointer_reference_alignment", settings.vcFormatSpacePointerReferenceAlignment.toString()); + settingMap.set("cpp_space_around_ternary_operator", settings.vcFormatSpaceAroundTernaryOperator.toString()); + settingMap.set("cpp_wrap_preserve_blocks", mapWrapToEditorConfig(settings.vcFormatWrapPreserveBlocks)); + + const edits: vscode.WorkspaceEdit = new vscode.WorkspaceEdit(); + let isInWildcardSection: boolean = false; + let trailingBlankLines: number = 0; + + // Cycle through lines using document.lineAt(), to avoid issues mapping edits back to lines. + for (let i: number = 0; i < document.lineCount; ++i) { + let textLine: vscode.TextLine = document.lineAt(i); + if (textLine.range.end.character === 0) { + trailingBlankLines++; + continue; + } + trailingBlankLines = 0; + // Keep track of whether we left off in a wildcard section, so we don't output a redundant one. + let text: string = textLine.text.trim(); + if (text.startsWith("[")) { + isInWildcardSection = text.startsWith("[*]"); + continue; + } + for (const setting of settingMap) { + if (text.startsWith(setting[0])) { + // The next character must be white space or '=', otherwise it's a partial match. + if (text.length > setting[0].length) { + const c: string = text[setting[0].length]; + if (c !== '=' && c.trim() !== "") { + continue; + } + } + edits.replace(document.uri, textLine.range, setting[0] + "=" + setting[1]); + // Because we're going to remove this setting from the map, + // scan ahead to update any other sections it may need to be updated in. + for (let j: number = i + 1; j < document.lineCount; ++j) { + textLine = document.lineAt(j); + text = textLine.text.trim(); + if (text.startsWith(setting[0])) { + // The next character must be white space or '=', otherwise it's a partial match. + if (text.length > setting[0].length) { + const c: string = text[setting[0].length]; + if (c !== '=' && c.trim() !== "") { + continue; + } + } + edits.replace(document.uri, textLine.range, setting[0] + "=" + setting[1]); + } + } + settingMap.delete(setting[0]); + break; + } + } + if (settingMap.size === 0) { + break; + } + } + + if (settingMap.size > 0) { + let remainingSettingsText: string = ""; + if (document.lineCount > 0) { + while (++trailingBlankLines < 2) { + remainingSettingsText += "\n"; + } + } + if (!isInWildcardSection) { + remainingSettingsText += "[*]\n"; + } + for (const setting of settingMap) { + remainingSettingsText += setting[0] + "=" + setting[1] + "\n"; + } + const lastPosition: vscode.Position = document.lineAt(document.lineCount - 1).range.end; + edits.insert(document.uri, lastPosition, remainingSettingsText); + } + vscode.workspace.applyEdit(edits).then(() => vscode.window.showTextDocument(document)); +} + +export function generateEditorConfig(rootUri?: vscode.Uri): void { + if (rootUri !== undefined) { + // If a folder is open and '.editorconfig' exists at the root, use that. + const uri: vscode.Uri = vscode.Uri.joinPath(rootUri, ".editorconfig"); + const edits: vscode.WorkspaceEdit = new vscode.WorkspaceEdit(); + edits.createFile(uri, { ignoreIfExists: true, overwrite: false }); + vscode.workspace.applyEdit(edits).then(() => { + vscode.workspace.openTextDocument(uri).then( + (document) => populateEditorConfig(rootUri, document), + () => vscode.workspace.openTextDocument().then((document) => populateEditorConfig(rootUri, document))); + }, () => vscode.workspace.openTextDocument().then((document) => populateEditorConfig(rootUri, document))); + } else { + vscode.workspace.openTextDocument().then((document) => populateEditorConfig(rootUri, document)); + } +} diff --git a/Extension/src/commands.ts b/Extension/src/commands.ts index 099a0f765f..7f55b1be57 100644 --- a/Extension/src/commands.ts +++ b/Extension/src/commands.ts @@ -33,6 +33,7 @@ class TemporaryCommandRegistrar { "C_Cpp.TakeSurvey", "C_Cpp.LogDiagnostics", "C_Cpp.RescanWorkspace", + "C_Cpp.GenerateEditorConfig", "C_Cpp.VcpkgClipboardInstallSuggested", "C_Cpp.VcpkgOnlineHelpSuggested" ]; diff --git a/Extension/src/main.ts b/Extension/src/main.ts index 9aa7164ac8..346d219ec4 100644 --- a/Extension/src/main.ts +++ b/Extension/src/main.ts @@ -461,6 +461,7 @@ function rewriteManifest(): Promise { "onCommand:C_Cpp.RescanWorkspace", "onCommand:C_Cpp.VcpkgClipboardInstallSuggested", "onCommand:C_Cpp.VcpkgClipboardOnlineHelpSuggested", + "onCommand:C_Cpp.GenerateEditorConfig", "onDebugInitialConfigurations", "onDebugResolve:cppdbg", "onDebugResolve:cppvsdbg", diff --git a/Extension/yarn.lock b/Extension/yarn.lock index 6a9101a887..5eab2fac9e 100644 --- a/Extension/yarn.lock +++ b/Extension/yarn.lock @@ -204,10 +204,10 @@ dependencies: source-map "^0.6.1" -"@types/vscode@1.44.0": - version "1.44.0" - resolved "https://registry.yarnpkg.com/@types/vscode/-/vscode-1.44.0.tgz#62ecfe3d0e38942fce556574da54ee1013c775b7" - integrity sha512-WJZtZlinE3meRdH+I7wTsIhpz/GLhqEQwmPGeh4s1irWLwMzCeTV8WZ+pgPTwrDXoafVUWwo1LiZ9HJVHFlJSQ== +"@types/vscode@1.49.0": + version "1.49.0" + resolved "https://registry.yarnpkg.com/@types/vscode/-/vscode-1.49.0.tgz#f3731d97d7e8b2697510eb26f6e6d04ee8c17352" + integrity sha512-wfNQmLmm1VdMBr6iuNdprWmC1YdrgZ9dQzadv+l2eSjJlElOdJw8OTm4RU4oGTBcfvG6RZI2jOcppkdSS18mZw== "@types/webpack-sources@*": version "0.1.6" From 1a718f3f0e0a827cdd5e7ddf56450419f1937ac7 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 10 Nov 2020 15:12:12 -0800 Subject: [PATCH 05/65] Fix fileDirname. (#6482) --- Extension/src/LanguageServer/cppBuildTaskProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/src/LanguageServer/cppBuildTaskProvider.ts b/Extension/src/LanguageServer/cppBuildTaskProvider.ts index f31c729b54..75d7d8a6cb 100644 --- a/Extension/src/LanguageServer/cppBuildTaskProvider.ts +++ b/Extension/src/LanguageServer/cppBuildTaskProvider.ts @@ -396,7 +396,7 @@ class CustomBuildTaskTerminal implements Pseudoterminal { const file: string = editor.document.fileName; return { "file": file, - "fileDirname": fileDir.uri.fsPath, + "fileDirname": path.parse(file).dir, "fileBasenameNoExtension": path.parse(file).name, "workspaceFolder": fileDir.uri.fsPath }; From 55421659dcce9c91e6ed166a1802f894015a368d Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 10 Nov 2020 17:15:28 -0800 Subject: [PATCH 06/65] Remove symbol_add_failed. (#6493) * Remove unused strings. --- Extension/src/nativeStrings.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Extension/src/nativeStrings.json b/Extension/src/nativeStrings.json index 97219ce366..00ae39b33a 100644 --- a/Extension/src/nativeStrings.json +++ b/Extension/src/nativeStrings.json @@ -13,7 +13,6 @@ "could_not_find_compile_commands": "\"{0}\" could not be found. 'includePath' from c_cpp_properties.json in folder '{1}' will be used instead.", "file_not_found_in_path": "\"{0}\" not found in \"{1}\". 'includePath' from c_cpp_properties.json in folder '{2}' will be used for this file instead.", "database_reset": "The IntelliSense database was successfully reset.", - "global_scope": "", "send_response_failed": "Failed to send response to client: {0}", "read_response_failed": "Failed to read response from server: {0}", "send_request_failed": "Failed to send request to server: {0}", @@ -32,7 +31,6 @@ "database_add_file_failed": "Unable to add file to database, error = {0}: {1}", "reset_timestamp_failed": "Failed to reset timestamp during abort, error = {0}: {1}", "update_timestamp_failed": "Unable to update timestamp, error = {0}: {1}", - "symbol_add_failed": "Unable to begin adding code symbols for file, error = {0}: {1}", "finalize_updates_failed": "Unable to finalize updates for file, error = {0}: {1}", "not_directory_with_mode": "{0} is not a directory (st_mode={1})", "retrieve_fs_info_failed": "Unable to retrieve file system information for {0}. error = {1}", @@ -222,3 +220,4 @@ "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." } + From c026a827c63879655476b2aec5d4c3641bafecd9 Mon Sep 17 00:00:00 2001 From: Colen Garoutte-Carson <49173979+Colengms@users.noreply.github.com> Date: Tue, 10 Nov 2020 18:57:09 -0800 Subject: [PATCH 07/65] Replace uses of 'probe' with 'query' (#6495) --- Extension/CHANGELOG.md | 4 ++-- Extension/src/nativeStrings.json | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 5971e3c929..6478a3ea18 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -17,7 +17,7 @@ * Tasks: Configure Task * Tasks: Run Build Task * C/C++: Build and debug active file. -* Add logging around compiler probing, and the "C/C++ Configuration Warnings" output channel. [#5259](https://github.com/microsoft/vscode-cpptools/issues/5259) +* Add logging around compiler querying, and the "C/C++ Configuration Warnings" output channel. [#5259](https://github.com/microsoft/vscode-cpptools/issues/5259) * Add compile commands info to Log Diagnostics. [#5761](https://github.com/microsoft/vscode-cpptools/issues/5761) * Add `intelliSenseUpdateDelay` setting. [#6142](https://github.com/microsoft/vscode-cpptools/issues/6142) * YuTengjing (@tjx666) [PR #6344](https://github.com/microsoft/vscode-cpptools/pull/6344) @@ -110,7 +110,7 @@ * Fix bug with cl.exe flags /FU and /FI not being processed. [#5819](https://github.com/microsoft/vscode-cpptools/issues/5819) * Fix `cStandard` being set to `c11` instead of `gnu18` with gcc. [#5834](https://github.com/microsoft/vscode-cpptools/issues/5834) * Fix Doxygen parameterHint comment to display for a parameter name that is followed by colon. [#5836](https://github.com/microsoft/vscode-cpptools/issues/5836) -* Fix compiler probing when relative paths are used in `compile_commands.json`. [#5848](https://github.com/microsoft/vscode-cpptools/issues/5848) +* Fix compiler querying when relative paths are used in `compile_commands.json`. [#5848](https://github.com/microsoft/vscode-cpptools/issues/5848) * Fix the compile commands compiler not being used if `C_Cpp.default.compilerPath` is set. [#5848](https://github.com/microsoft/vscode-cpptools/issues/5848) * Fix Doxygen comment to escape markdown characters. [#5904](https://github.com/microsoft/vscode-cpptools/issues/5904) * Remove keyword completion of C identifiers that are defined in headers and aren't keywords (e.g. `alignas`). [#6022](https://github.com/microsoft/vscode-cpptools/issues/6022) diff --git a/Extension/src/nativeStrings.json b/Extension/src/nativeStrings.json index 00ae39b33a..e1ed7ce46c 100644 --- a/Extension/src/nativeStrings.json +++ b/Extension/src/nativeStrings.json @@ -187,7 +187,7 @@ "deprecated_label": "Deprecated:", "exceptions_label": "Exceptions:", "template_parameters_label": "Template Parameters:", - "compiler_probe_command_line": "Compiler probe command line: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "Attempting to get defaults from C compiler in \"compilerPath\" property: '{0}'", "cpp_compiler_from_compiler_path": "Attempting to get defaults from C++ compiler in \"compilerPath\" property: '{0}'", "c_compiler_from_compile_commands": "Attempting to get defaults from C compiler in compile_commands.json file: '{0}'", @@ -198,26 +198,26 @@ "cpp_std_version_changed": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\".", "c_intellisense_mode_and_std_version_changed": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\".", "cpp_intellisense_mode_and_std_version_changed": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\".", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and probing compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and probing compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and probing compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and probing compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and probing compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and probing compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "Unable to resolve configuration with compilerPath \"{0}\". Using \"{1}\" instead.", "compiler_path_invalid": "Unable to resolve configuration with compilerPath: \"{0}\"", - "compiler_path_empty": "Skipping probe of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "MSVC intelliSenseMode specified. Configuring for compiler cl.exe.", "unable_to_configure_cl_exe": "Unable to configure for compiler cl.exe.", - "probing_compiler_default_target": "Probing compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "Compiler returned default target value: {0}", - "c_probing_compiler_default_standard": "Probing compiler for default C language standard using command line: {0}", - "cpp_probing_compiler_default_standard": "Probing compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "Detected language standard version: {0}", "unhandled_default_target_detected": "Unhandled default compiler target value detected: {0}", "unhandled_target_arg_detected": "Unhandled target argument value detected: {0}", "memory_limit_shutting_down_intellisense": "Shutting down IntelliSense server: {0}. Memory usage is {1} MB and has exceeded the {2} MB limit.", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } From f6d75776884ede4a56cac917d3233407c069bb29 Mon Sep 17 00:00:00 2001 From: csigs Date: Wed, 11 Nov 2020 12:54:47 -0800 Subject: [PATCH 08/65] Localization - Translated Strings (#6499) --- Extension/i18n/chs/package.i18n.json | 1 + .../i18n/chs/src/nativeStrings.i18n.json | 27 +++++++++---------- Extension/i18n/cht/package.i18n.json | 1 + .../i18n/cht/src/nativeStrings.i18n.json | 27 +++++++++---------- Extension/i18n/csy/package.i18n.json | 1 + .../i18n/csy/src/nativeStrings.i18n.json | 27 +++++++++---------- Extension/i18n/deu/package.i18n.json | 1 + .../i18n/deu/src/nativeStrings.i18n.json | 27 +++++++++---------- Extension/i18n/esn/package.i18n.json | 1 + .../i18n/esn/src/nativeStrings.i18n.json | 27 +++++++++---------- Extension/i18n/fra/package.i18n.json | 1 + .../i18n/fra/src/nativeStrings.i18n.json | 27 +++++++++---------- Extension/i18n/ita/package.i18n.json | 1 + .../i18n/ita/src/nativeStrings.i18n.json | 27 +++++++++---------- Extension/i18n/jpn/package.i18n.json | 1 + .../i18n/jpn/src/nativeStrings.i18n.json | 27 +++++++++---------- Extension/i18n/kor/package.i18n.json | 1 + .../i18n/kor/src/nativeStrings.i18n.json | 27 +++++++++---------- Extension/i18n/plk/package.i18n.json | 1 + .../i18n/plk/src/nativeStrings.i18n.json | 27 +++++++++---------- Extension/i18n/ptb/package.i18n.json | 1 + .../i18n/ptb/src/nativeStrings.i18n.json | 27 +++++++++---------- Extension/i18n/rus/package.i18n.json | 1 + .../i18n/rus/src/nativeStrings.i18n.json | 27 +++++++++---------- Extension/i18n/trk/package.i18n.json | 1 + .../i18n/trk/src/nativeStrings.i18n.json | 27 +++++++++---------- 26 files changed, 182 insertions(+), 182 deletions(-) diff --git a/Extension/i18n/chs/package.i18n.json b/Extension/i18n/chs/package.i18n.json index 70075a0888..91712247c1 100644 --- a/Extension/i18n/chs/package.i18n.json +++ b/Extension/i18n/chs/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "重新扫描工作区", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "将 vcpkg 安装命令复制到剪贴板", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "访问 vcpkg 帮助页", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "配置格式化引擎", "c_cpp.configuration.formatting.clangFormat.description": "将使用 clang-format 设置代码的格式。", "c_cpp.configuration.formatting.vcFormat.description": "将使用 Visual C++ 格式设置引擎来设置代码的格式。", diff --git a/Extension/i18n/chs/src/nativeStrings.i18n.json b/Extension/i18n/chs/src/nativeStrings.i18n.json index 66c6e5ad4a..1ccd223df9 100644 --- a/Extension/i18n/chs/src/nativeStrings.i18n.json +++ b/Extension/i18n/chs/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "无法将文件添加到数据库,错误 = {0}: {1}", "reset_timestamp_failed": "未能在中止期间重置时间戳,错误 = {0}: {1}", "update_timestamp_failed": "无法更新时间戳,错误 = {0}: {1}", - "symbol_add_failed": "无法开始添加文件的代码符号,错误 = {0}: {1}", "finalize_updates_failed": "无法完成文件的更新,错误 = {0}: {1}", "not_directory_with_mode": "{0} 不是目录(st_mode={1})", "retrieve_fs_info_failed": "无法检索 {0} 的文件系统信息。错误 = {1}", @@ -175,7 +174,7 @@ "deprecated_label": "已弃用:", "exceptions_label": "异常:", "template_parameters_label": "模板参数:", - "compiler_probe_command_line": "编译器探测命令行: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "正在尝试从 \"compilerPath\" 属性中的 C 编译器获取默认值:“{0}”", "cpp_compiler_from_compiler_path": "正在尝试从 \"compilerPath\" 属性中的 C++ 编译器获取默认值:“{0}”", "c_compiler_from_compile_commands": "正在尝试从 compile_commands.json 文件中的 C 编译器获取默认值:“{0}”", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "对于 C++ 源文件,cppStandard 已从“{0}”更改为“{1}”。", "c_intellisense_mode_and_std_version_changed": "对于 C 源文件,IntelliSenseMode 已从“{0}”更改为“{1}”,cStandard 已从“{2}”更改为“{3}”。", "cpp_intellisense_mode_and_std_version_changed": "对于 C++ 源文件,IntelliSenseMode 已从“{0}”更改为“{1}”,cppStandard 已从“{2}”更改为“{3}”。", - "c_intellisense_mode_changed_with_path": "对于 C 源文件,IntelliSenseMode 已根据编译器参数和探测 compilerPath 从“{0}”更改为“{1}”:“{2}”", - "cpp_intellisense_mode_changed_with_path": "对于 C++ 源文件,IntelliSenseMode 已根据编译器参数和探测 compilerPath 从“{0}”更改为“{1}”:“{2}”", - "c_std_version_changed_with_path": "对于 C 源文件,cStandard 已根据编译器参数和探测 compilerPath 从“{0}”更改为“{1}”:“{2}”", - "cpp_std_version_changed_with_path": "对于 C++ 源文件,cppStandard 已根据编译器参数和探测 compilerPath 从“{0}”更改为“{1}”:“{2}”", - "c_intellisense_mode_and_std_version_changed_with_path": "对于 C 源文件,IntelliSenseMode 已从“{0}”更改为“{1}”,cStandard 已根据编译器参数和探测 compilerPath 从“{2}”更改为“{3}”:“{4}”", - "cpp_intellisense_mode_and_std_version_changed_with_path": "对于 C++ 源文件,IntelliSenseMode 已从“{0}”更改为“{1}”,cppStandard 已根据编译器参数和探测 compilerPath 从“{2}”更改为“{3}”:“{4}”", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "无法使用 compilerPath“{0}”解析配置。 请改用“{1}”。", "compiler_path_invalid": "无法使用 compilerPath 解析配置:“{0}”", - "compiler_path_empty": "由于 compilerPath 明确为空,因此正在跳过对编译器的探测", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "已指定 MSVC intelliSenseMode。正在针对编译器 cl.exe 进行配置。", "unable_to_configure_cl_exe": "无法针对编译器 cl.exe 进行配置。", - "probing_compiler_default_target": "正在使用命令行探测编译器的目标:“{0}”{1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "编译器返回的默认目标值: {0}", - "c_probing_compiler_default_standard": "正在使用命令行探测默认 C 语言标准的编译器: {0}", - "cpp_probing_compiler_default_standard": "正在使用命令行探测默认 C++ 语言标准的编译器: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "检测到的语言标准版本: {0}", "unhandled_default_target_detected": "检测到未处理的默认编译器目标值: {0}", "unhandled_target_arg_detected": "检测到未处理的目标参数值: {0}", "memory_limit_shutting_down_intellisense": "正在关闭 IntelliSense 服务器: {0}。内存使用量为 {1} MB,已超过 {2} MB 的限制。", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/cht/package.i18n.json b/Extension/i18n/cht/package.i18n.json index cd920e73d9..d5cf67cc0b 100644 --- a/Extension/i18n/cht/package.i18n.json +++ b/Extension/i18n/cht/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "重新掃描工作區", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "將 vcpkg 安裝命令複製到剪貼簿", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "瀏覽 vcpkg 說明頁面", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "選擇格式設定引擎", "c_cpp.configuration.formatting.clangFormat.description": "將使用 clang-format 來格式化程式碼。", "c_cpp.configuration.formatting.vcFormat.description": "將使用 Visual C++ 格式化引擎來格式化程式碼。", diff --git a/Extension/i18n/cht/src/nativeStrings.i18n.json b/Extension/i18n/cht/src/nativeStrings.i18n.json index b100df2b7f..3f38f5b6eb 100644 --- a/Extension/i18n/cht/src/nativeStrings.i18n.json +++ b/Extension/i18n/cht/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "無法將檔案新增至資料庫,錯誤 = {0}: {1}", "reset_timestamp_failed": "無法在中止期間重設時間戳記,錯誤 = {0}: {1}", "update_timestamp_failed": "無法更新時間戳記,錯誤 = {0}: {1}", - "symbol_add_failed": "無法開始新增檔案的程式碼符號,錯誤 = {0}: {1}", "finalize_updates_failed": "無法完成檔案的更新,錯誤 = {0}: {1}", "not_directory_with_mode": "{0} 不是目錄 (st_mode={1})", "retrieve_fs_info_failed": "無法擷取 {0} 的檔案系統資訊。錯誤 = {1}", @@ -175,7 +174,7 @@ "deprecated_label": "已淘汰:", "exceptions_label": "例外狀況:", "template_parameters_label": "範本參數:", - "compiler_probe_command_line": "編譯器探查命令列: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "正在嘗試從 C 編譯器的 \"compilerPath\" 屬性中取得預設值: '{0}'", "cpp_compiler_from_compiler_path": "正在嘗試從 C++ 編譯器的 \"compilerPath\" 屬性中取得預設值: '{0}'", "c_compiler_from_compile_commands": "正在嘗試從 C 編譯器的 compile_commands.json 檔案中取得預設值: '{0}'", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "若為 C 原始程式檔,cppStandard 已從 \"{0}\" 變更為 \"{1}\"。", "c_intellisense_mode_and_std_version_changed": "若為 C 原始程式檔,IntelliSenseMode 已從 \"{0}\" 變更為 \"{1}\",且 cStandard 已從 \"{2}\" 變更為 \"{3}\"。", "cpp_intellisense_mode_and_std_version_changed": "若為 C++ 原始程式檔,IntelliSenseMode 已從 \"{0}\" 變更為 \"{1}\",且 cppStandard 已從 \"{2}\" 變更為 \"{3}\"。", - "c_intellisense_mode_changed_with_path": "若為 C 原始程式檔,依據編譯器引數與探查 compilerPath,IntelliSenseMode 已從 \"{0}\" 變更為 \"{1}\": \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "若為 C++ 原始程式檔,依據編譯器引數與探查 compilerPath,IntelliSenseMode 已從 \"{0}\" 變更為 \"{1}\": \"{2}\"", - "c_std_version_changed_with_path": "若為 C 原始程式檔,依據編譯器引數與探查 compilerPath,cStandard 已從 \"{0}\" 變更為 \"{1}\": \"{2}\"", - "cpp_std_version_changed_with_path": "若為 C++ 原始程式檔,依據編譯器引數與探查 compilerPath,cppStandard 已從 \"{0}\" 變更為 \"{1}\": \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "若為 C 原始程式檔,依據編譯器引數與探查 compilerPath,IntelliSenseMode 已從 \"{0}\" 變更為 \"{1}\",且 cStandard 已從 \"{2}\" 變更為 \"{3}\": \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "若為 C++ 原始程式檔,依據編譯器引數與探查 compilerPath,IntelliSenseMode 已從 \"{0}\" 變更為 \"{1}\",且 cppStandard 已從 \"{2}\" 變更為 \"{3}\": \"{4}\"", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "無法解析 compilerPath \"{0}\" 的設定。請改為使用 \"{1}\"。", "compiler_path_invalid": "無法解析 compilerPath 的設定: \"{0}\"", - "compiler_path_empty": "因已明確清空 compilerPath,所以略過探查編譯器", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "已指定 MSVC intelliSenseMode。正在進行編譯器 cl.exe 的設定。", "unable_to_configure_cl_exe": "無法進行編譯器 cl.exe 的設定。", - "probing_compiler_default_target": "使用命令列探查編譯器的預設目標: \"{0}\" {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "編譯器傳回了預設目標值: {0}", - "c_probing_compiler_default_standard": "使用命令列探查預設 C 語言標準的編譯器: {0}", - "cpp_probing_compiler_default_standard": "使用命令列探查預設 C++ 語言標準的編譯器: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "已偵測到語言標準版本: {0}", "unhandled_default_target_detected": "偵測到未處理的預設編譯器目標值: {0}", "unhandled_target_arg_detected": "偵測到未處理的目標引數值: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense 伺服器即將關機: {0}。記憶體使用量為 {1} MB,超過了 {2} MB 的限制。", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/csy/package.i18n.json b/Extension/i18n/csy/package.i18n.json index b0b3710c2b..1cea29c217 100644 --- a/Extension/i18n/csy/package.i18n.json +++ b/Extension/i18n/csy/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Znovu prohledat pracovní prostor", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Zkopírovat příkaz pro instalaci vcpkg do schránky", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Navštívit stránku nápovědy k vcpkg", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "Nakonfiguruje nástroj formátování textu.", "c_cpp.configuration.formatting.clangFormat.description": "K formátování kódu se použije clang-format.", "c_cpp.configuration.formatting.vcFormat.description": "K formátování kódu se použije nástroj formátování textu Visual C++.", diff --git a/Extension/i18n/csy/src/nativeStrings.i18n.json b/Extension/i18n/csy/src/nativeStrings.i18n.json index 434a3d0bdb..0c19a0015a 100644 --- a/Extension/i18n/csy/src/nativeStrings.i18n.json +++ b/Extension/i18n/csy/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "Nepovedlo se přidat soubor do databáze, chyba = {0}: {1}", "reset_timestamp_failed": "Nepovedlo se resetovat časové razítko během přerušení, chyba = {0}: {1}", "update_timestamp_failed": "Nepovedlo se aktualizovat časové razítko, chyba = {0}: {1}", - "symbol_add_failed": "Nepovedlo se začít přidávat symboly kódu pro soubor, chyba = {0}: {1}", "finalize_updates_failed": "Nepovedlo se dokončit aktualizace pro soubor, chyba = {0}: {1}", "not_directory_with_mode": "{0} není adresář (st_mode={1}).", "retrieve_fs_info_failed": "Nepovedlo se získat informace o souborovém systému pro {0}. Chyba = {1}", @@ -175,7 +174,7 @@ "deprecated_label": "Zastaralé:", "exceptions_label": "Výjimky:", "template_parameters_label": "Parametry šablony:", - "compiler_probe_command_line": "Příkazový řádek sondy kompilátoru: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "Probíhá pokus o získání výchozích hodnot z kompilátoru jazyka C ve vlastnosti compilerPath: {0}", "cpp_compiler_from_compiler_path": "Probíhá pokus o získání výchozích hodnot z kompilátoru jazyka C++ ve vlastnosti compilerPath: {0}", "c_compiler_from_compile_commands": "Probíhá pokus o získání výchozích hodnot z kompilátoru jazyka C v souboru compile_commands.json: {0}", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "Pro zdrojové soubory jazyka C++ se cppStandard změnil z {0} na {1}.", "c_intellisense_mode_and_std_version_changed": "Pro zdrojové soubory jazyka C se režim IntelliSenseMode změnil z {0} na {1} a cStandard se změnil z {2} na {3}.", "cpp_intellisense_mode_and_std_version_changed": "Pro zdrojové soubory jazyka C++ se režim IntelliSenseMode změnil z {0} na {1} a cppStandard se změnil z {2} na {3}.", - "c_intellisense_mode_changed_with_path": "Pro zdrojové soubory jazyka C se režim IntelliSenseMode změnil z {0} na {1}, a to na základě argumentů kompilátoru a dotazu na vlastnost compilerPath: {2}", - "cpp_intellisense_mode_changed_with_path": "Pro zdrojové soubory jazyka C++ se režim IntelliSenseMode změnil z {0} na {1}, a to na základě argumentů kompilátoru a dotazu na vlastnost compilerPath: {2}", - "c_std_version_changed_with_path": "Pro zdrojové soubory jazyka C se cStandard změnil z {0} na {1}, a to na základě argumentů kompilátoru a dotazu na vlastnost compilerPath: {2}", - "cpp_std_version_changed_with_path": "Pro zdrojové soubory jazyka C++ se cppStandard změnil z {0} na {1}, a to na základě argumentů kompilátoru a dotazu na vlastnost compilerPath: {2}", - "c_intellisense_mode_and_std_version_changed_with_path": "Pro zdrojové soubory jazyka C se režim IntelliSenseMode změnil z {0} na {1} a cStandard se změnil z {2} na {3}, a to na základě argumentů kompilátoru a dotazu na vlastnost compilerPath: {4}", - "cpp_intellisense_mode_and_std_version_changed_with_path": "Pro zdrojové soubory jazyka C++ se režim IntelliSenseMode změnil z {0} na {1} a cppStandard se změnil z {2} na {3}, a to na základě argumentů kompilátoru a dotazu na vlastnost compilerPath: {4}", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "Nepovedlo se přeložit konfiguraci s vlastností compilerPath {0}. Místo toho se použije {1}.", "compiler_path_invalid": "Nepovedlo se přeložit konfiguraci s vlastností compilerPath: {0}", - "compiler_path_empty": "Vynechává se dotaz na kompilátor kvůli explicitně prázdné vlastnosti compilerPath.", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "Je zadaný režim intelliSenseMode MSVC. Probíhá konfigurace pro kompilátor cl.exe.", "unable_to_configure_cl_exe": "Konfigurace pro kompilátor cl.exe nebyla úspěšná.", - "probing_compiler_default_target": "Probíhá dotazování na výchozí cíl kompilátoru pomocí příkazového řádku: {0} {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "Kompilátor vrátil výchozí hodnotu cíle: {0}", - "c_probing_compiler_default_standard": "Probíhá dotazování kompilátoru na výchozí standard jazyka C pomocí příkazového řádku: {0}", - "cpp_probing_compiler_default_standard": "Probíhá dotazování kompilátoru na výchozí standard jazyka C++ pomocí příkazového řádku: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "Zjištěná verze standardu jazyka: {0}", "unhandled_default_target_detected": "Zjistila se neošetřená výchozí hodnota cíle kompilátoru: {0}", "unhandled_target_arg_detected": "Zjistila se neošetřená hodnota argumentu target: {0}", "memory_limit_shutting_down_intellisense": "Vypíná se server technologie IntelliSense: {0}. Využití paměti je {1} MB a překročilo limit {2} MB.", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/deu/package.i18n.json b/Extension/i18n/deu/package.i18n.json index 0de2c34269..7816c2ac6d 100644 --- a/Extension/i18n/deu/package.i18n.json +++ b/Extension/i18n/deu/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Arbeitsbereich erneut überprüfen", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "vcpkg-Installationsbefehl in Zwischenablage kopieren", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "vcpkg-Hilfeseite aufrufen", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "Konfiguriert das Formatierungsmodul.", "c_cpp.configuration.formatting.clangFormat.description": "Zum Formatieren von Code wird \"clang-format\" verwendet.", "c_cpp.configuration.formatting.vcFormat.description": "Das Visual C++-Formatierungsmodul wird zum Formatieren von Code verwendet.", diff --git a/Extension/i18n/deu/src/nativeStrings.i18n.json b/Extension/i18n/deu/src/nativeStrings.i18n.json index 28fcdd36bf..5c3247e6a7 100644 --- a/Extension/i18n/deu/src/nativeStrings.i18n.json +++ b/Extension/i18n/deu/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "Die Datei kann nicht zur Datenbank hinzugefügt werden, Fehler = {0}: {1}", "reset_timestamp_failed": "Fehler beim Zurücksetzen des Zeitstempels beim Abbruch, Fehler = {0}: {1}", "update_timestamp_failed": "Zeitstempel kann nicht aktualisiert werden, Fehler = {0}: {1}", - "symbol_add_failed": "Das Hinzufügen von Codesymbolen für die Datei kann nicht gestartet werden, Fehler = {0}: {1}", "finalize_updates_failed": "Die Updates für die Datei können nicht finalisiert werden, Fehler = {0}: {1}", "not_directory_with_mode": "\"{0}\" ist kein Verzeichnis (st_mode={1}).", "retrieve_fs_info_failed": "Dateisysteminformationen für \"{0}\" können nicht abgerufen werden. Fehler = {1}", @@ -175,7 +174,7 @@ "deprecated_label": "Veraltet:", "exceptions_label": "Ausnahmen:", "template_parameters_label": "Vorlagenparameter:", - "compiler_probe_command_line": "Befehlszeile des Compilertests: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "Es wird versucht, Standardwerte vom C-Compiler in der Eigenschaft \"compilerPath\" abzurufen: {0}", "cpp_compiler_from_compiler_path": "Es wird versucht, Standardwerte vom C++-Compiler in der Eigenschaft \"compilerPath\" abzurufen: {0}", "c_compiler_from_compile_commands": "Es wird versucht, Standardwerte vom C-Compiler in der Datei \"compile_commands.json\" abzurufen: {0}", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "Für C++-Quelldateien wurde \"cppStandard\" von \"{0}\" in \"{1}\" geändert.", "c_intellisense_mode_and_std_version_changed": "Für C-Quelldateien wurde \"IntelliSenseMode\" von \"{0}\" in \"{1}\" und \"cStandard\" von \"{2}\" in \"{3}\" geändert.", "cpp_intellisense_mode_and_std_version_changed": "Für C++-Quelldateien wurde \"IntelliSenseMode\" von \"{0}\" in \"{1}\" und \"cppStandard\" von \"{2}\" in \"{3}\" geändert.", - "c_intellisense_mode_changed_with_path": "Für C-Quelldateien wurde \"IntelliSenseMode\" basierend auf Compilerargumenten und \"compilerPath\" von \"{0}\" in \"{1}\" geändert: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "Für C++-Quelldateien wurde \"IntelliSenseMode\" basierend auf Compilerargumenten und \"compilerPath\" von \"{0}\" in \"{1}\" geändert: \"{2}\"", - "c_std_version_changed_with_path": "Für C-Quelldateien wurde \"cStandard\" basierend auf Compilerargumenten und \"compilerPath\" von \"{0}\" in \"{1}\" geändert: \"{2}\"", - "cpp_std_version_changed_with_path": "Für C++-Quelldateien wurde \"cppStandard\" basierend auf Compilerargumenten und \"compilerPath\" von \"{0}\" in \"{1}\" geändert: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "Für C-Quelldateien wurde basierend auf Compilerargumenten und \"compilerPath\" der IntelliSenseMode-Wert von \"{0}\" in \"{1}\" und \"cStandard\" von \"{2}\" in \"{3}\" geändert: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "Für C++-Quelldateien wurde basierend auf Compilerargumenten und \"compilerPath\" der IntelliSenseMode-Wert von \"{0}\" in \"{1}\" und \"cppStandard\" von \"{2}\" in \"{3}\" geändert: \"{4}\"", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "Die Konfiguration mit compilerPath \"{0}\" kann nicht aufgelöst werden. Stattdessen wird \"{1}\" verwendet.", "compiler_path_invalid": "Die Konfiguration mit compilerPath \"{0}\" kann nicht aufgelöst werden.", - "compiler_path_empty": "Der Compilertest wird aufgrund eines explizit leeren compilerPath-Werts übersprungen.", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "Es wurde der MSVC-IntelliSenseMode angegeben. Der Compiler (cl.exe) wird konfiguriert.", "unable_to_configure_cl_exe": "Der Compiler (cl.exe) kann nicht konfiguriert werden.", - "probing_compiler_default_target": "Das Standardziel des Compilers wird über die Befehlszeile getestet: \"{0}\" {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "Der Compiler hat den Standardzielwert zurückgegeben: {0}", - "c_probing_compiler_default_standard": "Der Compiler für den Standard-C-Sprachstandard wird über die Befehlszeile getestet: {0}", - "cpp_probing_compiler_default_standard": "Der Compiler für den Standard-C++-Sprachstandard wird über die Befehlszeile getestet: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "Erkannte Sprachstandardversion: {0}", "unhandled_default_target_detected": "Unbehandelter Standardzielwert für Compiler erkannt: {0}", "unhandled_target_arg_detected": "Unbehandelter Zielargumentwert erkannt: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense-Server wird heruntergefahren: {0}. Die Arbeitsspeicherauslastung beträgt {1} MB und hat das Limit von {2} MB überschritten.", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/esn/package.i18n.json b/Extension/i18n/esn/package.i18n.json index d7871df59c..4048a8ec8c 100644 --- a/Extension/i18n/esn/package.i18n.json +++ b/Extension/i18n/esn/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Volver a examinar el área de trabajo", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Copiar el comando vcpkg install en el Portapapeles", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Visitar la página de ayuda de vcpkg", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "Configura el motor de formato", "c_cpp.configuration.formatting.clangFormat.description": "El archivo clang-format se usará para formatear el código.", "c_cpp.configuration.formatting.vcFormat.description": "El motor de formato de Visual C++ se usará para formatear el código.", diff --git a/Extension/i18n/esn/src/nativeStrings.i18n.json b/Extension/i18n/esn/src/nativeStrings.i18n.json index f4288bd7dc..a553335b23 100644 --- a/Extension/i18n/esn/src/nativeStrings.i18n.json +++ b/Extension/i18n/esn/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "No se puede agregar el archivo a la base de datos. Error = {0}: {1}", "reset_timestamp_failed": "No se pudo restablecer la marca de tiempo durante la anulación. Error = {0}: {1}", "update_timestamp_failed": "No se puede actualizar la marca de tiempo. Error = {0}: {1}", - "symbol_add_failed": "No se puede empezar a agregar símbolos de código para el archivo. Error = {0}: {1}", "finalize_updates_failed": "No se pueden finalizar las actualizaciones del archivo. Error = {0}: {1}", "not_directory_with_mode": "{0} no es un directorio (st_mode={1})", "retrieve_fs_info_failed": "No se puede recuperar la información del sistema de archivos para {0}. Error = {1}", @@ -175,7 +174,7 @@ "deprecated_label": "En desuso:", "exceptions_label": "Excepciones:", "template_parameters_label": "Parámetros de plantilla:", - "compiler_probe_command_line": "Línea de comandos de sondeo del compilador: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "Intentando obtener los valores predeterminados del compilador de C en la propiedad \"compilerPath\": \"{0}\"", "cpp_compiler_from_compiler_path": "Intentando obtener los valores predeterminados del compilador de C++ en la propiedad \"compilerPath\": \"{0}\"", "c_compiler_from_compile_commands": "Intentando obtener los valores predeterminados del compilador de C en el archivo compile_commands.json: \"{0}\"", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "Para los archivos de código fuente de C++, cppStandard se ha cambiado de \"{0}\" a \"{1}\".", "c_intellisense_mode_and_std_version_changed": "Para los archivos de código fuente de C, IntelliSenseMode se ha cambiado de \"{0}\" a \"{1}\" y cStandard de \"{2}\" a \"{3}\".", "cpp_intellisense_mode_and_std_version_changed": "Para los archivos de código fuente de C++, IntelliSenseMode se ha cambiado de \"{0}\" a \"{1}\" y cppStandard de \"{2}\" a \"{3}\".", - "c_intellisense_mode_changed_with_path": "Para los archivos de código fuente de C, IntelliSenseMode se ha cambiado de \"{0}\" a \"{1}\" en función de los argumentos del compilador y el sondeo de compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "Para los archivos de código fuente de C++, IntelliSenseMode se ha cambiado de \"{0}\" a \"{1}\" en función de los argumentos del compilador y el sondeo de compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "Para los archivos de código fuente de C, cStandard se ha cambiado de \"{0}\" a \"{1}\" en función de los argumentos del compilador y el sondeo de compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "Para los archivos de código fuente de C++, cppStandard se ha cambiado de \"{0}\" a \"{1}\" en función de los argumentos del compilador y el sondeo de compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "Para los archivos de código fuente de C, IntelliSenseMode se ha cambiado de \"{0}\" a \"{1}\" y cStandard de \"{2}\" a \"{3}\", en función de los argumentos del compilador y el sondeo de compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "Para los archivos de código fuente de C++, IntelliSenseMode se ha cambiado de \"{0}\" a \"{1}\" y cppStandard de \"{2}\" a \"{3}\", en función de los argumentos del compilador y el sondeo de compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "No se puede resolver la configuración con compilerPath \"{0}\". Se usará \"{1}\".", "compiler_path_invalid": "No se puede resolver la configuración con compilerPath: \"{0}\"", - "compiler_path_empty": "Omitiendo el sondeo del compilador debido a que la ruta compilerPath está explícitamente vacía.", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "IntelliSenseMode MSVC especificado. Configurando para el compilador cl.exe.", "unable_to_configure_cl_exe": "No se puede configurar para el compilador cl.exe.", - "probing_compiler_default_target": "Sondeo del destino predeterminado del compilador mediante la línea de comandos: \"{0}\" {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "El compilador devolvió el valor de destino predeterminado: {0}", - "c_probing_compiler_default_standard": "Sondeo del compilador para el estándar de lenguaje C predeterminado con la línea de comandos: {0}", - "cpp_probing_compiler_default_standard": "Sondeo del compilador para el estándar de lenguaje C++ predeterminado con la línea de comandos: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "Versión estándar del lenguaje detectada: {0}", "unhandled_default_target_detected": "Se detectó un valor de destino del compilador predeterminado no controlado: {0}", "unhandled_target_arg_detected": "Se detectó un valor del argumento de destino no controlado: {0}", "memory_limit_shutting_down_intellisense": "Cerrando el servidor de IntelliSense: {0}. El uso de la memoria es de {1} MB y ha superado el límite de {2} MB.", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/fra/package.i18n.json b/Extension/i18n/fra/package.i18n.json index 89b47b5b6f..54e9c491cd 100644 --- a/Extension/i18n/fra/package.i18n.json +++ b/Extension/i18n/fra/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Réanalyser l'espace de travail", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Copier la commande vcpkg install dans le Presse-papiers", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Visiter la page d'aide de vcpkg", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "Configure le moteur de mise en forme", "c_cpp.configuration.formatting.clangFormat.description": "clang-format est utilisé pour la mise en forme du code.", "c_cpp.configuration.formatting.vcFormat.description": "Le moteur de mise en forme de Visual C++ est utilisé pour la mise en forme du code.", diff --git a/Extension/i18n/fra/src/nativeStrings.i18n.json b/Extension/i18n/fra/src/nativeStrings.i18n.json index f67ac9ed95..324f773ffa 100644 --- a/Extension/i18n/fra/src/nativeStrings.i18n.json +++ b/Extension/i18n/fra/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "Impossible d'ajouter le fichier à la base de données, erreur = {0} : {1}", "reset_timestamp_failed": "La réinitialisation de l'horodatage a échoué pendant l'abandon, erreur = {0} : {1}", "update_timestamp_failed": "Impossible de mettre à jour l'horodatage, erreur = {0} : {1}", - "symbol_add_failed": "Impossible de commencer à ajouter des symboles de code pour le fichier, erreur = {0} : {1}", "finalize_updates_failed": "Impossible de finaliser les mises à jour du fichier, erreur = {0} : {1}", "not_directory_with_mode": "{0} n'est pas un répertoire (st_mode={1})", "retrieve_fs_info_failed": "Impossible de récupérer les informations du système de fichiers pour {0}. Erreur = {1}", @@ -175,7 +174,7 @@ "deprecated_label": "Déprécié :", "exceptions_label": "Exceptions :", "template_parameters_label": "Paramètres du modèle :", - "compiler_probe_command_line": "Ligne de commande de la sonde du compilateur : {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "Tentative d'obtention des valeurs par défaut du compilateur C dans la propriété \"compilerPath\" : '{0}'", "cpp_compiler_from_compiler_path": "Tentative d'obtention des valeurs par défaut du compilateur C++ dans la propriété \"compilerPath\" : '{0}'", "c_compiler_from_compile_commands": "Tentative d'obtention des valeurs par défaut du compilateur C dans le fichier compile_commands.json : '{0}'", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "Pour les fichiers sources C++, cppStandard est passé de \"{0}\" à \"{1}\".", "c_intellisense_mode_and_std_version_changed": "Pour les fichiers sources C, IntelliSenseMode est passé de \"{0}\" à \"{1}\" et cStandard est passé de \"{2}\" à \"{3}\".", "cpp_intellisense_mode_and_std_version_changed": "Pour les fichiers sources C++, IntelliSenseMode est passé de \"{0}\" à \"{1}\" et cppStandard est passé de \"{2}\" à \"{3}\".", - "c_intellisense_mode_changed_with_path": "Pour les fichiers sources C, IntelliSenseMode est passé de \"{0}\" à \"{1}\" en fonction des arguments du compilateur et du sondage de compilerPath : \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "Pour les fichiers sources C++, IntelliSenseMode est passé de \"{0}\" à \"{1}\" en fonction des arguments du compilateur et du sondage de compilerPath : \"{2}\"", - "c_std_version_changed_with_path": "Pour les fichiers sources C, cStandard est passé de \"{0}\" à \"{1}\" en fonction des arguments du compilateur et du sondage de compilerPath : \"{2}\"", - "cpp_std_version_changed_with_path": "Pour les fichiers sources C++, cppStandard est passé de \"{0}\" à \"{1}\" en fonction des arguments du compilateur et du sondage de compilerPath : \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "Pour les fichiers sources C, IntelliSenseMode est passé de \"{0}\" à \"{1}\" et cStandard est passé de \"{2}\" à \"{3}\" en fonction des arguments du compilateur et du sondage de compilerPath : \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "Pour les fichiers sources C++, IntelliSenseMode est passé de \"{0}\" à \"{1}\" et cppStandard est passé de \"{2}\" à \"{3}\" en fonction des arguments du compilateur et du sondage de compilerPath : \"{4}\"", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "Impossible de résoudre la configuration avec le compilerPath \"{0}\". Utilisation de \"{1}\" à la place.", "compiler_path_invalid": "Impossible de résoudre la configuration avec le compilerPath \"{0}\"", - "compiler_path_empty": "Sondage du compilateur ignoré en raison d'un compilerPath explicitement vide", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "Paramètre MSVC intelliSenseMode spécifié. Configuration pour le compilateur cl.exe.", "unable_to_configure_cl_exe": "Impossible d'effectuer la configuration pour le compilateur cl.exe.", - "probing_compiler_default_target": "Sondage de la cible par défaut du compilateur via la ligne de commande : \"{0}\" {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "Le compilateur a retourné la valeur cible par défaut : {0}", - "c_probing_compiler_default_standard": "Sondage du compilateur pour déterminer la norme de langage C par défaut via la ligne de commande : {0}", - "cpp_probing_compiler_default_standard": "Sondage du compilateur pour déterminer la norme de langage C++ par défaut via la ligne de commande : {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "Version de la norme de langage détectée : {0}", "unhandled_default_target_detected": "Détection d'une valeur cible par défaut du compilateur non prise en charge : {0}", "unhandled_target_arg_detected": "Détection d'une valeur d'argument cible non prise en charge : {0}", "memory_limit_shutting_down_intellisense": "Arrêt du serveur IntelliSense : {0}. L'utilisation de la mémoire est de {1} Mo et a dépassé la limite fixée à {2} Mo.", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/ita/package.i18n.json b/Extension/i18n/ita/package.i18n.json index c50fa31579..b9c8b203af 100644 --- a/Extension/i18n/ita/package.i18n.json +++ b/Extension/i18n/ita/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Ripeti analisi dell'area di lavoro", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Copia il comando di installazione di vcpkg negli Appunti", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Visitare la pagina della Guida di vcpkg", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "Configura il motore di formattazione", "c_cpp.configuration.formatting.clangFormat.description": "Per formattare il codice, verrà usato clang-format.", "c_cpp.configuration.formatting.vcFormat.description": "Per formattare il codice, verrà usato il motore di formattazione Visual C++.", diff --git a/Extension/i18n/ita/src/nativeStrings.i18n.json b/Extension/i18n/ita/src/nativeStrings.i18n.json index 1cd3fb6908..86f6d4d70f 100644 --- a/Extension/i18n/ita/src/nativeStrings.i18n.json +++ b/Extension/i18n/ita/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "Non è possibile aggiungere il file al database. Errore = {0}: {1}", "reset_timestamp_failed": "Non è stato possibile reimpostare il timestamp durante l'interruzione. Errore = {0}: {1}", "update_timestamp_failed": "Non è possibile aggiornare il timestamp. Errore = {0}: {1}", - "symbol_add_failed": "Non è possibile iniziare ad aggiungere simboli di codice per il file. Errore = {0}: {1}", "finalize_updates_failed": "Non è possibile finalizzare gli aggiornamenti per il file. Errore = {0}: {1}", "not_directory_with_mode": "{0} non è una directory (st_mode={1})", "retrieve_fs_info_failed": "Non è possibile recuperare le informazioni del file system per {0}. Errore = {1}", @@ -175,7 +174,7 @@ "deprecated_label": "Deprecato:", "exceptions_label": "Eccezioni:", "template_parameters_label": "Parametri del modello:", - "compiler_probe_command_line": "Riga di comando del probe del compilatore: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "Tentativo di recuperare le impostazioni predefinite dal compilatore C nella proprietà \"compilerPath\": '{0}'", "cpp_compiler_from_compiler_path": "Tentativo di recuperare le impostazioni predefinite dal compilatore C++ nella proprietà \"compilerPath\": '{0}'", "c_compiler_from_compile_commands": "Tentativo di recuperare le impostazioni predefinite dal compilatore C nel file compile_commands.json: '{0}'", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "Per il file di origine C++, il valore di cppStandard è stato modificato da \"{0}\" a \"{1}\".", "c_intellisense_mode_and_std_version_changed": "Per i file di origine C, il valore di IntelliSenseMode è stato modificato da \"{0}\" a \"{1}\" e quello di cStandard è stato modificato da \"{2}\" a \"{3}\".", "cpp_intellisense_mode_and_std_version_changed": "Per i file di origine C++, il valore di IntelliSenseMode è stato modificato da \"{0}\" a \"{1}\" e quello di cppStandard è stato modificato da \"{2}\" a \"{3}\".", - "c_intellisense_mode_changed_with_path": "Per i file di origine C, il valore di IntelliSenseMode è stato modificato da \"{0}\" a \"{1}\" in base agli argomenti del compilatore e all'esecuzione del probe su compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "Per i file di origine C++, il valore di IntelliSenseMode è stato modificato da \"{0}\" a \"{1}\" in base agli argomenti del compilatore e all'esecuzione del probe su compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "Per i file di origine C, il valore di cStandard è stato modificato da \"{0}\" a \"{1}\" in base agli argomenti del compilatore e all'esecuzione del probe su compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "Per i file di origine C++, il valore di cppStandard è stato modificato da \"{0}\" a \"{1}\" in base agli argomenti del compilatore e all'esecuzione del probe su compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "Per i file di origine C, il valore di IntelliSenseMode è stato modificato da \"{0}\" a \"{1}\" e quello di cStandard è stato modificato da \"{2}\" a \"{3}\" in base agli argomenti del compilatore e all'esecuzione del probe su compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "Per i file di origine C++, il valore di IntelliSenseMode è stato modificato da \"{0}\" a \"{1}\" e quello di cppStandard è stato modificato da \"{2}\" a \"{3}\" in base agli argomenti del compilatore e all'esecuzione del probe su compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "Non è possibile risolvere la configurazione con compilerPath \"{0}\". In alternativa, verrà usato \"{1}\".", "compiler_path_invalid": "Non è possibile risolvere la configurazione con compilerPath: \"{0}\"", - "compiler_path_empty": "Il probe del compilatore verrà ignorato perché compilerPath è esplicitamente vuoto", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "È stato specificato intelliSenseMode MSVC. Verrà eseguita la configurazione per il compilatore cl.exe.", "unable_to_configure_cl_exe": "Non è possibile eseguire la configurazione per il compilatore cl.exe.", - "probing_compiler_default_target": "Esecuzione del probe sulla destinazione predefinita del compilatore con la riga di comando: \"{0}\" {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "Il compilatore ha restituito il valore di destinazione predefinito: {0}", - "c_probing_compiler_default_standard": "Esecuzione del probe sul compilatore per lo standard del linguaggio C predefinito con la riga di comando: {0}", - "cpp_probing_compiler_default_standard": "Esecuzione del probe sul compilatore per lo standard del linguaggio C++ predefinito con la riga di comando: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "Versione standard del linguaggio rilevata: {0}", "unhandled_default_target_detected": "È stato rilevato un valore di destinazione del compilatore predefinito non gestito: {0}", "unhandled_target_arg_detected": "È stato rilevato un valore dell'argomento di destinazione non gestito: {0}", "memory_limit_shutting_down_intellisense": "Il server IntelliSense verrà arrestato: {0}. La memoria utilizzata è {1} MB e ha superato il limite di {2} MB.", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/jpn/package.i18n.json b/Extension/i18n/jpn/package.i18n.json index 2296c5d73d..eb2ae7319c 100644 --- a/Extension/i18n/jpn/package.i18n.json +++ b/Extension/i18n/jpn/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "ワークスペースの再スキャン", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "vcpkg インストール コマンドをクリップボードにコピーする", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "vcpkg のヘルプ ページへのアクセス", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "書式設定エンジンを構成します", "c_cpp.configuration.formatting.clangFormat.description": "clang-format を使用してコードがフォーマットされます。", "c_cpp.configuration.formatting.vcFormat.description": "コードの書式設定に Visual C++ の書式設定エンジンが使用されます。", diff --git a/Extension/i18n/jpn/src/nativeStrings.i18n.json b/Extension/i18n/jpn/src/nativeStrings.i18n.json index e14f9c7c3e..90e90bff5c 100644 --- a/Extension/i18n/jpn/src/nativeStrings.i18n.json +++ b/Extension/i18n/jpn/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "ファイルをデータベースに追加できません。エラー = {0}: {1}", "reset_timestamp_failed": "中止でタイムスタンプをリセットできませんでした。エラー = {0}: {1}", "update_timestamp_failed": "タイムスタンプを更新できません。エラー = {0}: {1}", - "symbol_add_failed": "ファイルのコード シンボルの追加を開始できません。エラー = {0}: {1}", "finalize_updates_failed": "ファイルの更新を完了できません。エラー = {0}: {1}", "not_directory_with_mode": "{0} はディレクトリではありません (st_mode ={1})", "retrieve_fs_info_failed": "{0} のファイル システム情報を取得できません。エラー = {1}", @@ -175,7 +174,7 @@ "deprecated_label": "非推奨:", "exceptions_label": "例外:", "template_parameters_label": "テンプレート パラメーター:", - "compiler_probe_command_line": "コンパイラ プローブ コマンド ライン: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "\"compilerPath\" プロパティの C コンパイラから既定値を取得しようとしています: '{0}'", "cpp_compiler_from_compiler_path": "\"compilerPath\" プロパティの C++ コンパイラから既定値を取得しようとしています: '{0}'", "c_compiler_from_compile_commands": "compile_commands.json ファイルの C コンパイラから既定値を取得しようとしています: '{0}'", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "C++ ソース ファイルで、cppStandard が \"{0}\" から \"{1}\" に変更されました。", "c_intellisense_mode_and_std_version_changed": "C ソース ファイルで、IntelliSenseMode が \"{0}\" から \"{1}\" に変更され、cStandard が \"{2}\" から \"{3}\" に変更されました。", "cpp_intellisense_mode_and_std_version_changed": "C++ ソースファイルで、IntelliSenseMode が \"{0}\" から \"{1}\" に変更され、cppStandard が \"{2}\" から \"{3}\" に変更されました。", - "c_intellisense_mode_changed_with_path": "C ソース ファイルで、コンパイラの引数とプローブ compilerPath に基づいて、IntelliSenseMode が \"{0}\" から \"{1}\" に変更されました: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "C++ ソース ファイルで、コンパイラの引数と compilerPath \"{2}\" のプローブに基づいて、IntelliSenseMode が \"{0}\" から \"{1}\" に変更されました", - "c_std_version_changed_with_path": "C ソース ファイルで、コンパイラの引数と compilerPath \"{2}\" のプローブに基づいて、cStandard が \"{0}\" から \"{1}\" に変更されました", - "cpp_std_version_changed_with_path": "C++ ソース ファイルで、コンパイラの引数とプローブ compilerPath に基づいて、cppStandard が \"{0}\" から \"{1}\" に変更されました: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "C ソース ファイルで、コンパイラの引数とプローブ compilerPath に基づいて、IntelliSenseMode が \"{0}\" から \"{1}\" に変更され、cStandard が \"{2}\" から \"{3}\" に変更されました: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "C++ ソース ファイルで、コンパイラの引数と compilerPath \"{4}\" のプローブに基づいて、IntelliSenseMode が \"{0}\" から \"{1}\" に変更され、cppStandard が \"{2}\" から \"{3}\" に変更されました", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "compilerPath \"{0}\" を使用して構成を解決できません。代わりに \"{1}\" を使用しています。", "compiler_path_invalid": "compilerPath を使用して構成を解決できません: \"{0}\"", - "compiler_path_empty": "compilerPath が明示的に空になっているため、コンパイラのプローブをスキップしています", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "MSVC intelliSenseMode が指定されました。コンパイラ cl.exe 用に構成しています。", "unable_to_configure_cl_exe": "コンパイラ cl.exe 用に構成できません。", - "probing_compiler_default_target": "コマンド ラインを使用してコンパイラの既定のターゲットをプローブしています: \"{0}\" {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "コンパイラによって既定のターゲット値が返されました: {0}", - "c_probing_compiler_default_standard": "コマンド ラインを使用して既定の C 言語標準用にコンパイラをプローブしています: {0}", - "cpp_probing_compiler_default_standard": "コマンド ラインを使用して既定の C++ 言語標準用にコンパイラをプローブしています: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "検出された言語標準バージョン: {0}", "unhandled_default_target_detected": "ハンドルされていない既定のコンパイラ ターゲット値が検出されました: {0}", "unhandled_target_arg_detected": "ハンドルされていないターゲット引数値が検出されました: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense サーバーをシャットダウンしています: {0}。メモリ使用量は {1} MB で、{2} MB の制限を超えました。", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/kor/package.i18n.json b/Extension/i18n/kor/package.i18n.json index a79ce8b7c6..234775675e 100644 --- a/Extension/i18n/kor/package.i18n.json +++ b/Extension/i18n/kor/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "작업 영역 다시 검사", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "vcpkg install 명령을 클립보드에 복사", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "vcpkg 도움말 페이지 방문", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "서식 엔진을 구성합니다.", "c_cpp.configuration.formatting.clangFormat.description": "코드 서식을 지정하는 데 clang-format이 사용됩니다.", "c_cpp.configuration.formatting.vcFormat.description": "코드 서식을 지정하는 데 Visual C++ 서식 엔진이 사용됩니다.", diff --git a/Extension/i18n/kor/src/nativeStrings.i18n.json b/Extension/i18n/kor/src/nativeStrings.i18n.json index b70da44496..c789717a63 100644 --- a/Extension/i18n/kor/src/nativeStrings.i18n.json +++ b/Extension/i18n/kor/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "데이터베이스에 파일을 추가할 수 없습니다. 오류 = {0}: {1}", "reset_timestamp_failed": "중단하는 동안 타임스탬프를 다시 설정하지 못했습니다. 오류 = {0}: {1}", "update_timestamp_failed": "타임스탬프를 업데이트할 수 없습니다. 오류 = {0}: {1}", - "symbol_add_failed": "파일의 코드 기호 추가를 시작할 수 없습니다. 오류 = {0}: {1}", "finalize_updates_failed": "파일 업데이트를 완료할 수 없습니다. 오류 = {0}: {1}", "not_directory_with_mode": "{0}은(는) 디렉터리가 아닙니다(st_mode={1}).", "retrieve_fs_info_failed": "{0}의 파일 시스템 정보를 검색할 수 없습니다. 오류 = {1}", @@ -175,7 +174,7 @@ "deprecated_label": "사용되지 않음:", "exceptions_label": "예외:", "template_parameters_label": "템플릿 매개 변수:", - "compiler_probe_command_line": "컴파일러 프로브 명령줄: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "\"compilerPath\" 속성의 C 컴파일러에서 기본값을 가져오려고 합니다. '{0}'", "cpp_compiler_from_compiler_path": "\"compilerPath\" 속성의 C++ 컴파일러에서 기본값을 가져오려고 합니다. '{0}'", "c_compiler_from_compile_commands": "compile_commands.json 파일의 C 컴파일러에서 기본값을 가져오려고 합니다. '{0}'", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "C++ 소스 파일에서는 cppStandard가 \"{0}\"에서 \"{1}\"(으)로 변경되었습니다.", "c_intellisense_mode_and_std_version_changed": "C 소스 파일에서는 IntelliSenseMode가 \"{0}\"에서 \"{1}\"(으)로 변경되고 cStandard가 \"{2}\"에서 \"{3}\"(으)로 변경되었습니다.", "cpp_intellisense_mode_and_std_version_changed": "C++ 소스 파일에서는 IntelliSenseMode가 \"{0}\"에서 \"{1}\"(으)로 변경되고 cppStandard가 \"{2}\"에서 \"{3}\"(으)로 변경되었습니다.", - "c_intellisense_mode_changed_with_path": "C 소스 파일에서는 IntelliSenseMode가 컴파일러 인수 및 프로빙 compilerPath(\"{2}\")에 따라 \"{0}\"에서 \"{1}\"(으)로 변경되었습니다.", - "cpp_intellisense_mode_changed_with_path": "C++ 소스 파일에서는 IntelliSenseMode가 컴파일러 인수 및 프로빙 compilerPath(\"{2}\")에 따라 \"{0}\"에서 \"{1}\"(으)로 변경되었습니다.", - "c_std_version_changed_with_path": "C 소스 파일에서는 cStandard가 컴파일러 인수 및 프로빙 compilerPath(\"{2}\")에 따라 \"{0}\"에서 \"{1}\"(으)로 변경되었습니다.", - "cpp_std_version_changed_with_path": "C++ 소스 파일에서는 cppStandard가 컴파일러 인수 및 프로빙 compilerPath(\"{2}\")에 따라 \"{0}\"에서 \"{1}\"(으)로 변경되었습니다.", - "c_intellisense_mode_and_std_version_changed_with_path": "C 소스 파일에서는 컴파일러 인수 및 프로빙 compilerPath(\"{4}\")에 따라 IntelliSenseMode가 \"{0}\"에서 \"{1}\"(으)로 변경되고 cStandard가 \"{2}\"에서 \"{3}\"(으)로 변경되었습니다.", - "cpp_intellisense_mode_and_std_version_changed_with_path": "C++ 소스 파일에서는 컴파일러 인수 및 프로빙 compilerPath(\"{4}\")에 따라 IntelliSenseMode가 \"{0}\"에서 \"{1}\"(으)로 변경되고 cppStandard가 \"{2}\"에서 \"{3}\"(으)로 변경되었습니다.", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "CompilerPath가 \"{0}\"인 구성을 확인할 수 없습니다. \"{1}\"을(를) 대신 사용하세요.", "compiler_path_invalid": "CompilerPath가 \"{0}\"인 구성을 확인할 수 없습니다.", - "compiler_path_empty": "명시적으로 빈 compilerPath로 인해 컴파일러 검색을 건너뜁니다.", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "MSVC intelliSenseMode를 지정했습니다. 컴파일러 cl.exe에 대해 구성합니다.", "unable_to_configure_cl_exe": "컴파일러 cl.exe를 구성할 수 없습니다.", - "probing_compiler_default_target": "명령줄을 사용하여 컴파일러의 기본 대상을 검색하는 중: \"{0}\" {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "컴파일러가 기본 대상 값을 반환함: {0}", - "c_probing_compiler_default_standard": "명령줄을 사용하여 기본 C 언어 표준에 대한 컴파일러를 검색하는 중: {0}", - "cpp_probing_compiler_default_standard": "명령줄을 사용하여 기본 C++ 언어 표준에 대한 컴파일러를 검색하는 중: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "언어 표준 버전이 검색됨: {0}", "unhandled_default_target_detected": "처리되지 않은 기본 컴파일러 대상 값이 검색됨: {0}", "unhandled_target_arg_detected": "처리되지 않은 대상 인수 값이 검색됨: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense 서버 {0}을(를) 종료하는 중입니다. 메모리 사용량이 {1}MB이며 {2}MB 한도를 초과했습니다.", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/plk/package.i18n.json b/Extension/i18n/plk/package.i18n.json index 3fbcfe5999..96f6f623e8 100644 --- a/Extension/i18n/plk/package.i18n.json +++ b/Extension/i18n/plk/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Ponowne skanowanie obszaru roboczego", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Kopiowanie polecenia instalowania menedżera vcpkg do schowka", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Odwiedź stronę pomocy menedżera vcpkg", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "Konfiguruje aparat formatowania", "c_cpp.configuration.formatting.clangFormat.description": "Do formatowania kodu będzie używane narzędzie clang-format.", "c_cpp.configuration.formatting.vcFormat.description": "Do formatowania kodu będzie używany aparat formatowania języka Visual C++.", diff --git a/Extension/i18n/plk/src/nativeStrings.i18n.json b/Extension/i18n/plk/src/nativeStrings.i18n.json index 6a432a1825..5479849ac9 100644 --- a/Extension/i18n/plk/src/nativeStrings.i18n.json +++ b/Extension/i18n/plk/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "Nie można dodać pliku do bazy danych, błąd = {0}: {1}", "reset_timestamp_failed": "Nie można zresetować znacznika czasu podczas przerywania, błąd = {0}: {1}", "update_timestamp_failed": "Nie można zaktualizować znacznika czasu, błąd = {0}: {1}", - "symbol_add_failed": "Nie można rozpocząć dodawania symboli kodu do pliku, błąd = {0}: {1}", "finalize_updates_failed": "Nie można sfinalizować aktualizacji dla pliku, błąd = {0}: {1}", "not_directory_with_mode": "Element {0} nie jest katalogiem (st_mode={1})", "retrieve_fs_info_failed": "Nie można pobrać informacji systemu plików dla: {0}. Błąd = {1}", @@ -175,7 +174,7 @@ "deprecated_label": "Przestarzałe:", "exceptions_label": "Wyjątki:", "template_parameters_label": "Parametry szablonu:", - "compiler_probe_command_line": "Wiersz polecenia sondy kompilatora: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "Próba pobrania wartości domyślnych z kompilatora języka C we właściwości „compilerPath”: „{0}”", "cpp_compiler_from_compiler_path": "Próba pobrania wartości domyślnych z kompilatora języka C++ we właściwości „compilerPath”: „{0}”", "c_compiler_from_compile_commands": "Próba pobrania wartości domyślnych z kompilatora języka C w pliku compile_commands.json: „{0}”", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "W przypadku plików źródłowych w języku C++ wartość właściwości cppStandard została zmieniona z „{0}” na „{1}”.", "c_intellisense_mode_and_std_version_changed": "W przypadku plików źródłowych w języku C wartość właściwości IntelliSenseMode została zmieniona z „{0}” na „{1}”, a wartość właściwości cStandard — z „{2}” na „{3}”.", "cpp_intellisense_mode_and_std_version_changed": "W przypadku plików źródłowych w języku C++ wartość właściwości IntelliSenseMode została zmieniona z „{0}” na „{1}”, a wartość właściwości cppStandard — z „{2}” na „{3}”.", - "c_intellisense_mode_changed_with_path": "W przypadku plików źródłowych w języku C wartość właściwości IntelliSenseMode została zmieniona z „{0}” na „{1}” na podstawie argumentów kompilatora i właściwości compilerPath sondowania: „{2}”", - "cpp_intellisense_mode_changed_with_path": "W przypadku plików źródłowych w języku C++ wartość właściwości IntelliSenseMode została zmieniona z „{0}” na „{1}” na podstawie argumentów kompilatora i właściwości compilerPath sondowania: „{2}”", - "c_std_version_changed_with_path": "W przypadku plików źródłowych w języku C wartość właściwości cStandard została zmieniona z „{0}” na „{1}” na podstawie argumentów kompilatora i właściwości compilerPath sondowania: „{2}”", - "cpp_std_version_changed_with_path": "W przypadku plików źródłowych w języku C++ wartość właściwości cppStandard została zmieniona z „{0}” na „{1}” na podstawie argumentów kompilatora i właściwości compilerPath sondowania: „{2}”", - "c_intellisense_mode_and_std_version_changed_with_path": "W przypadku plików źródłowych w języku C wartość właściwości IntelliSenseMode została zmieniona z „{0}” na „{1}”, a wartość właściwości cStandard została zmieniona z „{2}” na „{3}” na podstawie argumentów kompilatora i właściwości compilerPath sondowania: „{4}”", - "cpp_intellisense_mode_and_std_version_changed_with_path": "W przypadku plików źródłowych w języku C++ wartość właściwości IntelliSenseMode została zmieniona z „{0}” na „{1}”, a wartość właściwości cppStandard została zmieniona z „{2}” na „{3}” na podstawie argumentów kompilatora i właściwości compilerPath sondowania: „{4}”", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "Nie można rozpoznać konfiguracji za pomocą właściwości compilerPath „{0}”. Zamiast tego zostanie użyta wartość „{1}”.", "compiler_path_invalid": "Nie można rozpoznać konfiguracji za pomocą właściwości compilerPath „{0}”.", - "compiler_path_empty": "Pomijanie sondowania kompilatora z powodu jawnie pustej właściwości compilerPath", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "Określono wartość MSVC dla właściwości intelliSenseMode. Konfigurowanie pod kątem kompilatora cl.exe.", "unable_to_configure_cl_exe": "Nie można skonfigurować pod kątem kompilatora cl.exe.", - "probing_compiler_default_target": "Sondowanie domyślnego elementu docelowego kompilatora przy użyciu wiersza polecenia: „{0}” {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "Kompilator zwrócił domyślną wartość docelową: {0}", - "c_probing_compiler_default_standard": "Sondowanie kompilatora domyślnego standardu języka C przy użyciu wiersza polecenia: {0}", - "cpp_probing_compiler_default_standard": "Sondowanie kompilatora domyślnego standardu języka C++ przy użyciu wiersza polecenia: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "Wykryta wersja standardowa języka: {0}", "unhandled_default_target_detected": "Wykryto nieobsługiwaną domyślną wartość docelową kompilatora: {0}", "unhandled_target_arg_detected": "Wykryto nieobsługiwaną docelową wartość argumentu: {0}", "memory_limit_shutting_down_intellisense": "Zamykanie serwera funkcji IntelliSense: {0}. Użycie pamięci to {1} MB i przekroczyło limit wynoszący {2} MB.", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/ptb/package.i18n.json b/Extension/i18n/ptb/package.i18n.json index 132612353f..173f12eeb3 100644 --- a/Extension/i18n/ptb/package.i18n.json +++ b/Extension/i18n/ptb/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Examinar Novamente o Workspace", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Copiar o comando de instalação vcpkg para a área de transferência", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Visite a página de ajuda do vcpkg", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "Configura o mecanismo de formatação", "c_cpp.configuration.formatting.clangFormat.description": "O clang-format será usado para formatar o código.", "c_cpp.configuration.formatting.vcFormat.description": "O mecanismo de formatação Visual C++ será usado para formatar o código.", diff --git a/Extension/i18n/ptb/src/nativeStrings.i18n.json b/Extension/i18n/ptb/src/nativeStrings.i18n.json index fd9c98e673..1b7cc8f0bd 100644 --- a/Extension/i18n/ptb/src/nativeStrings.i18n.json +++ b/Extension/i18n/ptb/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "Não é possível adicionar o arquivo ao banco de dados. Erro = {0}: {1}", "reset_timestamp_failed": "Falha ao redefinir o carimbo de data/hora durante a anulação, erro = {0}: {1}", "update_timestamp_failed": "Não é possível atualizar o carimbo de data/hora. Erro = {0}: {1}", - "symbol_add_failed": "Não é possível começar a adicionar símbolos de código para o arquivo. Erro = {0}: {1}", "finalize_updates_failed": "Não é possível finalizar as atualizações para o arquivo. Erro = {0}: {1}", "not_directory_with_mode": "{0} não é um diretório (st_mode ={1})", "retrieve_fs_info_failed": "Não é possível recuperar as informações do sistema de arquivos para {0}. erro = {1}", @@ -175,7 +174,7 @@ "deprecated_label": "Preterido:", "exceptions_label": "Exceções:", "template_parameters_label": "Parâmetros do Modelo:", - "compiler_probe_command_line": "Linha de comando de investigação do compilador: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "Tentando obter padrões do compilador C na propriedade \"compilerPath\": '{0}'", "cpp_compiler_from_compiler_path": "Tentando obter padrões do compilador C++ na propriedade \"compilerPath\": '{0}'", "c_compiler_from_compile_commands": "Tentando obter padrões do compilador C no arquivo compile_commands.json: '{0}'", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "Para arquivos de origem C++, o cppStandard foi alterado de \"{0}\" para \"{1}\".", "c_intellisense_mode_and_std_version_changed": "Para arquivos de origem C, o IntelliSenseMode foi alterado de \"{0}\" para \"{1}\" e o cStandard foi alterado de \"{2}\" para \"{3}\".", "cpp_intellisense_mode_and_std_version_changed": "Para arquivos de origem C++, o IntelliSenseMode foi alterado de \"{0}\" para \"{1}\" e o cppStandard foi alterado de \"{2}\" para \"{3}\".", - "c_intellisense_mode_changed_with_path": "Para arquivos de origem C, o IntelliSenseMode foi alterado de \"{0}\" para \"{1}\" com base nos argumentos do compilador e na investigação compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "Para arquivos de origem C++, o IntelliSenseMode foi alterado de \"{0}\" para \"{1}\" com base nos argumentos do compilador e na investigação compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "Para arquivos de origem C, o cStandard foi alterado de \"{0}\" para \"{1}\" com base nos argumentos do compilador e na investigação compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "Para arquivos de origem C++, o cppStandard foi alterado de \"{0}\" para \"{1}\" com base nos argumentos do compilador e na investigação do compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "Para arquivos de origem C, o IntelliSenseMode foi alterado de \"{0}\" para \"{1}\" e o cStandard foi alterado de \"{2}\" para \"{3}\" com base nos argumentos do compilador e na investigação compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "Para arquivos de origem C++, o IntelliSenseMode foi alterado de \"{0}\" para \"{1}\" e o cppStandard foi alterado de \"{2}\" para \"{3}\" com base nos argumentos do compilador e na investigação compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "Não é possível resolver a configuração com compilerPath \"{0}\". Em vez disso, use \"{1}\".", "compiler_path_invalid": "Não é possível resolver a configuração com compilerPath: \"{0}\"", - "compiler_path_empty": "Ignorando a investigação do compilador devido a um compilerPath explicitamente vazio", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "O intelliSenseMode do MSVC foi especificado. Configurando para cl.exe do compilador.", "unable_to_configure_cl_exe": "Não é possível configurar o compilador cl.exe.", - "probing_compiler_default_target": "Investigando o destino padrão do compilador usando a linha de comando: \"{0}\" {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "O compilador retornou o valor de destino padrão: {0}", - "c_probing_compiler_default_standard": "Investigando o compilador para obter o padrão de linguagem C padrão usando a linha de comando: {0}", - "cpp_probing_compiler_default_standard": "Investigando o compilador para obter o padrão de linguagem C++ padrão usando a linha de comando: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "Versão padrão da linguagem detectada: {0}", "unhandled_default_target_detected": "Foi detectado um valor de destino do compilador padrão não tratado: {0}", "unhandled_target_arg_detected": "Foi detectado um valor de argumento de destino não tratado: {0}", "memory_limit_shutting_down_intellisense": "Desligando o servidor do IntelliSense: {0}. O uso de memória é {1} MB e excedeu o limite de {2} MB.", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/rus/package.i18n.json b/Extension/i18n/rus/package.i18n.json index e324b993bd..e7fcf640f3 100644 --- a/Extension/i18n/rus/package.i18n.json +++ b/Extension/i18n/rus/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Повторное сканирование рабочей области", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Копировать команду vcpkg install в буфер обмена", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Посетите страницу справки по vcpkg", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "Настраивает подсистему форматирования.", "c_cpp.configuration.formatting.clangFormat.description": "Для форматирования кода будет использоваться clang-format.", "c_cpp.configuration.formatting.vcFormat.description": "Для форматирования кода будет использоваться подсистема форматирования Visual C++.", diff --git a/Extension/i18n/rus/src/nativeStrings.i18n.json b/Extension/i18n/rus/src/nativeStrings.i18n.json index 5a08a59475..102bddc863 100644 --- a/Extension/i18n/rus/src/nativeStrings.i18n.json +++ b/Extension/i18n/rus/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "Не удалось добавить файл в базу данных, ошибка — {0}: {1}", "reset_timestamp_failed": "Не удалось сбросить метку времени во время прерывания, ошибка — {0}: {1}", "update_timestamp_failed": "Не удалось обновить метку времени, ошибка — {0}: {1}", - "symbol_add_failed": "Не удалось начать добавление символов кода для файла, ошибка — {0}: {1}", "finalize_updates_failed": "Не удалось финализировать обновления для файла, ошибка — {0}: {1}", "not_directory_with_mode": "{0} не является каталогом (st_mode={1})", "retrieve_fs_info_failed": "Невозможно получить данные файловой системы для {0}. Ошибка: {1}", @@ -175,7 +174,7 @@ "deprecated_label": "Нерекомендуемый:", "exceptions_label": "Исключения:", "template_parameters_label": "Параметры шаблона:", - "compiler_probe_command_line": "Командная строка проверки компилятора: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "Попытка получить значения по умолчанию из компилятора C в свойстве \"compilerPath\": \"{0}\"", "cpp_compiler_from_compiler_path": "Попытка получить значения по умолчанию из компилятора C++ в свойстве \"compilerPath\": \"{0}\"", "c_compiler_from_compile_commands": "Попытка получить значения по умолчанию из компилятора C в файле compile_commands.json: \"{0}\"", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "Для исходных файлов C++ cppStandard был изменен с \"{0}\" на \"{1}\".", "c_intellisense_mode_and_std_version_changed": "Для исходных файлов C IntelliSenseMode был изменен с \"{0}\" на \"{1}\", а cStandard — с \"{2}\" на \"{3}\".", "cpp_intellisense_mode_and_std_version_changed": "Для исходных файлов C++ IntelliSenseMode был изменен с \"{0}\" на \"{1}\", а cppStandard — с \"{2}\" на \"{3}\".", - "c_intellisense_mode_changed_with_path": "Для исходных файлов C IntelliSenseMode был изменен с \"{0}\" на \"{1}\" на основе аргументов компилятора и compilerPath проверки: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "Для исходных файлов C++ IntelliSenseMode был изменен с \"{0}\" на \"{1}\" на основе аргументов компилятора и compilerPath проверки: \"{2}\"", - "c_std_version_changed_with_path": "Для исходных файлов C cStandard был изменен с \"{0}\" на \"{1}\" на основе аргументов компилятора и compilerPath проверки: \"{2}\"", - "cpp_std_version_changed_with_path": "Для исходных файлов C++ cppStandard был изменен с \"{0}\" на \"{1}\" на основе аргументов компилятора и compilerPath проверки: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "Для исходных файлов C IntelliSenseMode был изменен с \"{0}\" на \"{1}\", а cStandard — с \"{2}\" на \"{3}\" на основе аргументов компилятора и compilerPath проверки: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "Для исходных файлов C++ IntelliSenseMode был изменен с \"{0}\" на \"{1}\", а cppStandard — с \"{2}\" на \"{3}\" на основе аргументов компилятора и compilerPath проверки: \"{4}\"", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "Не удалось разрешить конфигурацию с compilerPath \"{0}\". Вместо этого используется \"{1}\".", "compiler_path_invalid": "Не удалось разрешить конфигурацию с compilerPath: \"{0}\"", - "compiler_path_empty": "Выполняется пропуск пробы компилятора из-за явным образом пустого compilerPath", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "Указан intelliSenseMode MSVC. Выполняется настройка для cl.exe компилятора.", "unable_to_configure_cl_exe": "Не удалось выполнить настройку для cl.exe компилятора.", - "probing_compiler_default_target": "Проверка целевого объекта по умолчанию для компилятора с помощью командной строки: \"{0}\" {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "Компилятор возвратил целевое значение по умолчанию: {0}", - "c_probing_compiler_default_standard": "Проверка компилятора для стандарта языка C по умолчанию с помощью командной строки: {0}", - "cpp_probing_compiler_default_standard": "Проверка компилятора для стандарта языка C++ по умолчанию с помощью командной строки: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "Обнаруженная версия стандарта языка: {0}", "unhandled_default_target_detected": "Обнаружено необработанное целевое значение компилятора по умолчанию: {0}", "unhandled_target_arg_detected": "Обнаружено необработанное значение целевого аргумента: {0}", "memory_limit_shutting_down_intellisense": "Завершение работы сервера IntelliSense: {0}. Используемый объем памяти ({1} МБ) превысил ограничение ({2} МБ).", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file diff --git a/Extension/i18n/trk/package.i18n.json b/Extension/i18n/trk/package.i18n.json index 85248b45a8..1e5966c238 100644 --- a/Extension/i18n/trk/package.i18n.json +++ b/Extension/i18n/trk/package.i18n.json @@ -22,6 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Çalışma Alanını Yeniden Tara", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "vcpkg yükleme komutunu panoya kopyalayın", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "vcpkg yardım sayfasını ziyaret edin", + "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", "c_cpp.configuration.formatting.description": "Biçimlendirme altyapısını yapılandırır", "c_cpp.configuration.formatting.clangFormat.description": "Kodu biçimlendirmek için clang-format kullanılacak.", "c_cpp.configuration.formatting.vcFormat.description": "Kodu biçimlendirmek için Visual C++ biçimlendirme altyapısı kullanılacak.", diff --git a/Extension/i18n/trk/src/nativeStrings.i18n.json b/Extension/i18n/trk/src/nativeStrings.i18n.json index 80e73713a8..2fde2ceb5c 100644 --- a/Extension/i18n/trk/src/nativeStrings.i18n.json +++ b/Extension/i18n/trk/src/nativeStrings.i18n.json @@ -36,7 +36,6 @@ "database_add_file_failed": "Dosya veritabanına eklenemiyor, hata = {0}: {1}", "reset_timestamp_failed": "Durdurma sırasında zaman damgası sıfırlanamadı, hata = {0}: {1}", "update_timestamp_failed": "Zaman damgası güncelleştirilemiyor, hata = {0}: {1}", - "symbol_add_failed": "Dosya için kod sembolleri ekleme işlemine başlanamıyor, hata = {0}: {1}", "finalize_updates_failed": "Dosya için güncelleştirmeler sonuçlandırılamıyor, hata = {0}: {1}", "not_directory_with_mode": "{0} bir dizin değil (st_mode={1})", "retrieve_fs_info_failed": "{0} için dosya sistemi bilgileri alınamıyor. hata = {1}", @@ -175,7 +174,7 @@ "deprecated_label": "Kullanım dışı:", "exceptions_label": "Özel durumlar:", "template_parameters_label": "Şablon Parametreleri:", - "compiler_probe_command_line": "Derleyici yoklaması komut satırı: {0}", + "compiler_query_command_line": "Compiler query command line: {0}", "c_compiler_from_compiler_path": "\"compilerPath\" özelliğindeki C derleyicisinden varsayılan değerler alınmaya çalışılıyor: '{0}'", "cpp_compiler_from_compiler_path": "\"compilerPath\" özelliğindeki C++ derleyicisinden varsayılan değerler alınmaya çalışılıyor: '{0}'", "c_compiler_from_compile_commands": "compile_commands.json dosyasındaki C derleyicisinden varsayılan değerler alınmaya çalışılıyor: '{0}'", @@ -186,25 +185,25 @@ "cpp_std_version_changed": "C++ kaynak dosyaları için \"{0}\" olan cppStandard \"{1}\" olarak değiştirildi.", "c_intellisense_mode_and_std_version_changed": "C kaynak dosyaları için \"{0}\" olan IntelliSenseMode, \"{1}\" olarak ve \"{2}\" olan cStandard, \"{3}\" olarak değiştirildi.", "cpp_intellisense_mode_and_std_version_changed": "C++ kaynak dosyaları için \"{0}\" olan IntelliSenseMode, \"{1}\" olarak ve \"{2}\" olan cppStandard, \"{3}\" olarak değiştirildi.", - "c_intellisense_mode_changed_with_path": "C kaynak dosyaları için derleyici bağımsız değişkenlerine ve yoklama compilerPath'ine (\"{2}\") göre \"{0}\" olan IntelliSenseMode, \"{1}\" olarak değiştirildi", - "cpp_intellisense_mode_changed_with_path": "C++ kaynak dosyaları için derleyici bağımsız değişkenlerine ve yoklama compilerPath'ine (\"{2}\") göre \"{0}\" olan IntelliSenseMode, \"{1}\" olarak değiştirildi", - "c_std_version_changed_with_path": "C kaynak dosyaları için derleyici bağımsız değişkenlerine ve yoklama compilerPath'ine (\"{2}\") göre \"{0}\" olan cStandard, \"{1}\" olarak değiştirildi", - "cpp_std_version_changed_with_path": "C++ kaynak dosyaları için derleyici bağımsız değişkenlerine ve yoklama compilerPath'ine (\"{2}\") göre \"{0}\" olan cppStandard, \"{1}\" olarak değiştirildi", - "c_intellisense_mode_and_std_version_changed_with_path": "C kaynak dosyaları için derleyici bağımsız değişkenlerine ve yoklama compilerPath'ine (\"{4}\") göre \"{0}\" olan IntelliSenseMode, \"{1}\" olarak ve \"{2}\" olan cStandard, \"{3}\" olarak değiştirildi", - "cpp_intellisense_mode_and_std_version_changed_with_path": "C++ kaynak dosyaları için derleyici bağımsız değişkenlerine ve yoklama compilerPath'ine (\"{4}\") göre \"{0}\" olan IntelliSenseMode, \"{1}\" olarak ve \"{2}\" olan cppStandard, \"{3}\" olarak değiştirildi", + "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", "compiler_path_changed": "\"{0}\" compilerPath ile yapılandırma çözümlenemiyor. Bunun yerine \"{1}\" kullanılıyor.", "compiler_path_invalid": "\"{0}\" compilerPath ile yapılandırma çözümlenemiyor", - "compiler_path_empty": "Açıkça boş olan compilerPath nedeniyle derleyici yoklaması atlanıyor", + "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", "msvc_intellisense_specified": "MSVC intelliSenseMode belirtildi. Derleyici cl.exe dosyası için yapılandırılıyor.", "unable_to_configure_cl_exe": "Derleyici cl.exe dosyası için yapılandırılamıyor.", - "probing_compiler_default_target": "\"{0}\" komut satırı kullanılarak derleyicinin varsayılan hedefi yoklanıyor: {1}", + "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", "compiler_default_target": "Derleyici, varsayılan hedef değeri ({0}) döndürdü", - "c_probing_compiler_default_standard": "Komut satırı kullanılarak varsayılan C dili standardı için derleyici yoklanıyor: {0}", - "cpp_probing_compiler_default_standard": "Komut satırı kullanılarak varsayılan C++ dili standardı için derleyici yoklanıyor: {0}", + "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", + "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", "detected_language_standard_version": "Algılanan dil standart sürümü: {0}", "unhandled_default_target_detected": "İşlenmemiş varsayılan derleyici hedefi değeri saptandı: {0}", "unhandled_target_arg_detected": "İşlenmemiş hedef bağımsız değişken değeri algılandı: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense sunucusu kapatılıyor: {0}. Bellek kullanımı {1} MB olduğundan {2} MB sınırını aştı.", - "failed_to_probe_for_standard_version": "Failed to probe compilerPath \"{0}\" for default standard versions. Probing is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler probe returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." } \ No newline at end of file From b4e2a8457f0d5a5a5c8222dc750d0d3fef8c12a4 Mon Sep 17 00:00:00 2001 From: Colen Garoutte-Carson <49173979+Colengms@users.noreply.github.com> Date: Fri, 13 Nov 2020 14:29:02 -0800 Subject: [PATCH 09/65] Automatically fall back to config provider (#6504) --- Extension/src/LanguageServer/client.ts | 1 + .../src/LanguageServer/configurations.ts | 40 +++++++++++++++---- 2 files changed, 33 insertions(+), 8 deletions(-) diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 3378de2e4b..361867f9e5 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -1432,6 +1432,7 @@ export class DefaultClient implements Client { if (!rootFolder) { return; // There is no c_cpp_properties.json to edit because there is no folder open. } + this.configuration.handleConfigurationChange(); const selectedProvider: string | undefined = this.configuration.CurrentConfigurationProvider; if (!selectedProvider) { const ask: PersistentFolderState = new PersistentFolderState("Client.registerProvider", true, rootFolder); diff --git a/Extension/src/LanguageServer/configurations.ts b/Extension/src/LanguageServer/configurations.ts index 418489ec0e..28a0b6d836 100644 --- a/Extension/src/LanguageServer/configurations.ts +++ b/Extension/src/LanguageServer/configurations.ts @@ -12,7 +12,7 @@ import * as telemetry from '../telemetry'; import { PersistentFolderState } from './persistentState'; import { CppSettings, OtherSettings } from './settings'; import { ABTestSettings, getABTestSettings } from '../abTesting'; -import { getCustomConfigProviders } from './customProviders'; +import { CustomConfigurationProviderCollection, getCustomConfigProviders } from './customProviders'; import { SettingsPanel } from './settingsPanel'; import * as os from 'os'; import escapeStringRegExp = require('escape-string-regexp'); @@ -708,6 +708,27 @@ export class CppProperties { configuration.browse.limitSymbolsToIncludedHeaders = this.updateConfigurationStringOrBoolean(configuration.browse.limitSymbolsToIncludedHeaders, settings.defaultLimitSymbolsToIncludedHeaders, env); configuration.browse.databaseFilename = this.updateConfigurationString(configuration.browse.databaseFilename, settings.defaultDatabaseFilename, env); + + // If there is no c_cpp_properties.json, there are no relevant C_Cpp.default.* settings set, + // and there is only 1 registered custom config provider, default to using that provider. + const providers: CustomConfigurationProviderCollection = getCustomConfigProviders(); + if (providers.size === 1 + && !this.propertiesFile + && !settings.defaultCompilerPath + && settings.defaultCompilerPath !== "" + && !settings.defaultIncludePath + && !settings.defaultDefines + && !settings.defaultMacFrameworkPath + && settings.defaultWindowsSdkVersion === "" + && !settings.defaultForcedInclude + && settings.defaultCompileCommands === "" + && !settings.defaultCompilerArgs + && settings.defaultCStandard === "" + && settings.defaultCppStandard === "" + && settings.defaultIntelliSenseMode === "" + && settings.defaultConfigurationProvider === "") { + providers.forEach(provider => { configuration.configurationProvider = provider.extensionId; }); + } } this.updateCompileCommandsFileWatchers(); @@ -898,7 +919,7 @@ export class CppProperties { } } - private handleConfigurationChange(): void { + public handleConfigurationChange(): void { if (this.propertiesFile === undefined) { return; // Occurs when propertiesFile hasn't been checked yet. } @@ -941,18 +962,21 @@ export class CppProperties { } const fullPathToFile: string = path.join(this.configFolder, "c_cpp_properties.json"); + // Since the properties files does not exist, there will be exactly 1 configuration. + // If we have decided to use a custom config provider, propagate that to the new config. + const settings: CppSettings = new CppSettings(this.rootUri); + let providerId: string | undefined = settings.defaultConfigurationProvider; if (this.configurationJson) { + if (!providerId) { + providerId = this.configurationJson.configurations[0].configurationProvider; + } this.resetToDefaultSettings(true); } this.applyDefaultIncludePathsAndFrameworks(); - const settings: CppSettings = new CppSettings(this.rootUri); - if (settings.defaultConfigurationProvider) { + if (providerId) { if (this.configurationJson) { - this.configurationJson.configurations.forEach(config => { - config.configurationProvider = settings.defaultConfigurationProvider ? settings.defaultConfigurationProvider : undefined; - }); + this.configurationJson.configurations[0].configurationProvider = providerId; } - settings.update("default.configurationProvider", undefined); // delete the setting } await util.writeFileText(fullPathToFile, jsonc.stringify(this.configurationJson, null, 4)); From 0c32d707ab55fe7a32c85da88699792ab0ec82f6 Mon Sep 17 00:00:00 2001 From: csigs Date: Mon, 16 Nov 2020 12:44:47 -0800 Subject: [PATCH 10/65] Localization - Translated Strings (#6523) Co-authored-by: azure-pipelines[bot] --- Extension/i18n/csy/package.i18n.json | 2 +- .../i18n/csy/src/nativeStrings.i18n.json | 26 +++++++++---------- Extension/i18n/plk/package.i18n.json | 2 +- .../i18n/plk/src/nativeStrings.i18n.json | 26 +++++++++---------- .../i18n/rus/src/nativeStrings.i18n.json | 2 +- .../i18n/trk/src/nativeStrings.i18n.json | 2 +- 6 files changed, 30 insertions(+), 30 deletions(-) diff --git a/Extension/i18n/csy/package.i18n.json b/Extension/i18n/csy/package.i18n.json index 1cea29c217..7091dfd598 100644 --- a/Extension/i18n/csy/package.i18n.json +++ b/Extension/i18n/csy/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Znovu prohledat pracovní prostor", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Zkopírovat příkaz pro instalaci vcpkg do schránky", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Navštívit stránku nápovědy k vcpkg", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "Vygenerovat obsah EditorConfig z nastavení formátu VC", "c_cpp.configuration.formatting.description": "Nakonfiguruje nástroj formátování textu.", "c_cpp.configuration.formatting.clangFormat.description": "K formátování kódu se použije clang-format.", "c_cpp.configuration.formatting.vcFormat.description": "K formátování kódu se použije nástroj formátování textu Visual C++.", diff --git a/Extension/i18n/csy/src/nativeStrings.i18n.json b/Extension/i18n/csy/src/nativeStrings.i18n.json index 0c19a0015a..4c7209ee96 100644 --- a/Extension/i18n/csy/src/nativeStrings.i18n.json +++ b/Extension/i18n/csy/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "Zastaralé:", "exceptions_label": "Výjimky:", "template_parameters_label": "Parametry šablony:", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "Příkazový řádek sondy kompilátoru: {0}", "c_compiler_from_compiler_path": "Probíhá pokus o získání výchozích hodnot z kompilátoru jazyka C ve vlastnosti compilerPath: {0}", "cpp_compiler_from_compiler_path": "Probíhá pokus o získání výchozích hodnot z kompilátoru jazyka C++ ve vlastnosti compilerPath: {0}", "c_compiler_from_compile_commands": "Probíhá pokus o získání výchozích hodnot z kompilátoru jazyka C v souboru compile_commands.json: {0}", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "Pro zdrojové soubory jazyka C++ se cppStandard změnil z {0} na {1}.", "c_intellisense_mode_and_std_version_changed": "Pro zdrojové soubory jazyka C se režim IntelliSenseMode změnil z {0} na {1} a cStandard se změnil z {2} na {3}.", "cpp_intellisense_mode_and_std_version_changed": "Pro zdrojové soubory jazyka C++ se režim IntelliSenseMode změnil z {0} na {1} a cppStandard se změnil z {2} na {3}.", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "Pro zdrojové soubory jazyka C se režim IntelliSenseMode změnil z {0} na {1}, a to na základě argumentů kompilátoru a dotazu na vlastnost compilerPath: {2}", + "cpp_intellisense_mode_changed_with_path": "Pro zdrojové soubory jazyka C++ se režim IntelliSenseMode změnil z {0} na {1}, a to na základě argumentů kompilátoru a dotazu na vlastnost compilerPath: {2}", + "c_std_version_changed_with_path": "Pro zdrojové soubory jazyka C se cStandard změnil z {0} na {1}, a to na základě argumentů kompilátoru a dotazu na vlastnost compilerPath: {2}", + "cpp_std_version_changed_with_path": "Pro zdrojové soubory jazyka C++ se cppStandard změnil z {0} na {1}, a to na základě argumentů kompilátoru a dotazu na vlastnost compilerPath: {2}", + "c_intellisense_mode_and_std_version_changed_with_path": "Pro zdrojové soubory jazyka C se režim IntelliSenseMode změnil z {0} na {1} a cStandard se změnil z {2} na {3}, a to na základě argumentů kompilátoru a dotazu na vlastnost compilerPath: {4}", + "cpp_intellisense_mode_and_std_version_changed_with_path": "Pro zdrojové soubory jazyka C++ se režim IntelliSenseMode změnil z {0} na {1} a cppStandard se změnil z {2} na {3}, a to na základě argumentů kompilátoru a dotazu na vlastnost compilerPath: {4}", "compiler_path_changed": "Nepovedlo se přeložit konfiguraci s vlastností compilerPath {0}. Místo toho se použije {1}.", "compiler_path_invalid": "Nepovedlo se přeložit konfiguraci s vlastností compilerPath: {0}", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "Vynechává se dotaz na kompilátor kvůli explicitně prázdné vlastnosti compilerPath.", "msvc_intellisense_specified": "Je zadaný režim intelliSenseMode MSVC. Probíhá konfigurace pro kompilátor cl.exe.", "unable_to_configure_cl_exe": "Konfigurace pro kompilátor cl.exe nebyla úspěšná.", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "Probíhá dotazování na výchozí cíl kompilátoru pomocí příkazového řádku: {0} {1}", "compiler_default_target": "Kompilátor vrátil výchozí hodnotu cíle: {0}", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "Probíhá dotazování kompilátoru na výchozí standard jazyka C pomocí příkazového řádku: {0}", + "cpp_querying_compiler_default_standard": "Probíhá dotazování kompilátoru na výchozí standard jazyka C++ pomocí příkazového řádku: {0}", "detected_language_standard_version": "Zjištěná verze standardu jazyka: {0}", "unhandled_default_target_detected": "Zjistila se neošetřená výchozí hodnota cíle kompilátoru: {0}", "unhandled_target_arg_detected": "Zjistila se neošetřená hodnota argumentu target: {0}", "memory_limit_shutting_down_intellisense": "Vypíná se server technologie IntelliSense: {0}. Využití paměti je {1} MB a překročilo limit {2} MB.", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Nepovedlo se dotázat kompilátor na cestě {0} na výchozí standardní verze. Dotazování je pro tento kompilátor zakázané.", + "unrecognized_language_standard_version": "Dotaz na kompilátor vrátil nerozpoznanou standardní verzi jazyka. Místo ní se použije nejnovější podporovaná verze." } \ No newline at end of file diff --git a/Extension/i18n/plk/package.i18n.json b/Extension/i18n/plk/package.i18n.json index 96f6f623e8..ff29e676ba 100644 --- a/Extension/i18n/plk/package.i18n.json +++ b/Extension/i18n/plk/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Ponowne skanowanie obszaru roboczego", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Kopiowanie polecenia instalowania menedżera vcpkg do schowka", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Odwiedź stronę pomocy menedżera vcpkg", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "Generuj zawartość pliku EditorConfig z ustawień formatu VC", "c_cpp.configuration.formatting.description": "Konfiguruje aparat formatowania", "c_cpp.configuration.formatting.clangFormat.description": "Do formatowania kodu będzie używane narzędzie clang-format.", "c_cpp.configuration.formatting.vcFormat.description": "Do formatowania kodu będzie używany aparat formatowania języka Visual C++.", diff --git a/Extension/i18n/plk/src/nativeStrings.i18n.json b/Extension/i18n/plk/src/nativeStrings.i18n.json index 5479849ac9..d69f61d91b 100644 --- a/Extension/i18n/plk/src/nativeStrings.i18n.json +++ b/Extension/i18n/plk/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "Przestarzałe:", "exceptions_label": "Wyjątki:", "template_parameters_label": "Parametry szablonu:", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "Wiersz polecenia zapytania kompilatora: {0}", "c_compiler_from_compiler_path": "Próba pobrania wartości domyślnych z kompilatora języka C we właściwości „compilerPath”: „{0}”", "cpp_compiler_from_compiler_path": "Próba pobrania wartości domyślnych z kompilatora języka C++ we właściwości „compilerPath”: „{0}”", "c_compiler_from_compile_commands": "Próba pobrania wartości domyślnych z kompilatora języka C w pliku compile_commands.json: „{0}”", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "W przypadku plików źródłowych w języku C++ wartość właściwości cppStandard została zmieniona z „{0}” na „{1}”.", "c_intellisense_mode_and_std_version_changed": "W przypadku plików źródłowych w języku C wartość właściwości IntelliSenseMode została zmieniona z „{0}” na „{1}”, a wartość właściwości cStandard — z „{2}” na „{3}”.", "cpp_intellisense_mode_and_std_version_changed": "W przypadku plików źródłowych w języku C++ wartość właściwości IntelliSenseMode została zmieniona z „{0}” na „{1}”, a wartość właściwości cppStandard — z „{2}” na „{3}”.", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "W przypadku plików źródłowych w języku C wartość właściwości IntelliSenseMode została zmieniona z „{0}” na „{1}” na podstawie argumentów kompilatora i wykonywania zapytań dotyczących właściwości compilerPath: „{2}”", + "cpp_intellisense_mode_changed_with_path": "W przypadku plików źródłowych w języku C++ wartość właściwości IntelliSenseMode została zmieniona z „{0}” na „{1}” na podstawie argumentów kompilatora i wykonywania zapytań dotyczących właściwości compilerPath: „{2}”", + "c_std_version_changed_with_path": "W przypadku plików źródłowych w języku C wartość właściwości cStandard została zmieniona z „{0}” na „{1}” na podstawie argumentów kompilatora i wykonywania zapytań dotyczących właściwości compilerPath: „{2}”", + "cpp_std_version_changed_with_path": "W przypadku plików źródłowych w języku C++ wartość właściwości cppStandard została zmieniona z „{0}” na „{1}” na podstawie argumentów kompilatora i wykonywania zapytań dotyczących właściwości compilerPath: „{2}”", + "c_intellisense_mode_and_std_version_changed_with_path": "W przypadku plików źródłowych w języku C wartość właściwości IntelliSenseMode została zmieniona z „{0}” na „{1}”, a wartość właściwości cStandard została zmieniona z „{2}” na „{3}” na podstawie argumentów kompilatora i wykonywania zapytań dotyczących właściwości compilerPath: „{4}”", + "cpp_intellisense_mode_and_std_version_changed_with_path": "W przypadku plików źródłowych w języku C++ wartość właściwości IntelliSenseMode została zmieniona z „{0}” na „{1}”, a wartość właściwości cppStandard została zmieniona z „{2}” na „{3}” na podstawie argumentów kompilatora i wykonywania zapytań dotyczących właściwości compilerPath: „{4}”", "compiler_path_changed": "Nie można rozpoznać konfiguracji za pomocą właściwości compilerPath „{0}”. Zamiast tego zostanie użyta wartość „{1}”.", "compiler_path_invalid": "Nie można rozpoznać konfiguracji za pomocą właściwości compilerPath „{0}”.", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "Pomijanie wykonywania zapytań kompilatora z powodu jawnie pustej właściwości compilerPath", "msvc_intellisense_specified": "Określono wartość MSVC dla właściwości intelliSenseMode. Konfigurowanie pod kątem kompilatora cl.exe.", "unable_to_configure_cl_exe": "Nie można skonfigurować pod kątem kompilatora cl.exe.", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "Wykonywanie zapytań dotyczących domyślnego elementu docelowego kompilatora przy użyciu wiersza polecenia: „{0}” {1}", "compiler_default_target": "Kompilator zwrócił domyślną wartość docelową: {0}", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "Wykonywanie zapytań dotyczących kompilatora domyślnego standardu języka C przy użyciu wiersza polecenia: {0}", + "cpp_querying_compiler_default_standard": "Wykonywanie zapytań dotyczących kompilatora domyślnego standardu języka C++ przy użyciu wiersza polecenia: {0}", "detected_language_standard_version": "Wykryta wersja standardowa języka: {0}", "unhandled_default_target_detected": "Wykryto nieobsługiwaną domyślną wartość docelową kompilatora: {0}", "unhandled_target_arg_detected": "Wykryto nieobsługiwaną docelową wartość argumentu: {0}", "memory_limit_shutting_down_intellisense": "Zamykanie serwera funkcji IntelliSense: {0}. Użycie pamięci to {1} MB i przekroczyło limit wynoszący {2} MB.", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Nie można wykonać zapytań dotyczących kompilatora w ścieżce „{0}” dla domyślnych wersji standardowych. Wykonywanie zapytań dotyczących kompilatora jest wyłączone dla tego kompilatora.", + "unrecognized_language_standard_version": "Zapytanie kompilatora zwróciło nierozpoznaną wersję standardu języka. Zamiast tego zostanie użyta najnowsza obsługiwana wersja." } \ No newline at end of file diff --git a/Extension/i18n/rus/src/nativeStrings.i18n.json b/Extension/i18n/rus/src/nativeStrings.i18n.json index 102bddc863..1b13604565 100644 --- a/Extension/i18n/rus/src/nativeStrings.i18n.json +++ b/Extension/i18n/rus/src/nativeStrings.i18n.json @@ -205,5 +205,5 @@ "unhandled_target_arg_detected": "Обнаружено необработанное значение целевого аргумента: {0}", "memory_limit_shutting_down_intellisense": "Завершение работы сервера IntelliSense: {0}. Используемый объем памяти ({1} МБ) превысил ограничение ({2} МБ).", "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "unrecognized_language_standard_version": "Проба компилятора возвратила нераспознанную версию стандарта языка. Вместо этого будет использоваться последняя поддерживаемая версия." } \ No newline at end of file diff --git a/Extension/i18n/trk/src/nativeStrings.i18n.json b/Extension/i18n/trk/src/nativeStrings.i18n.json index 2fde2ceb5c..e6d63abeb7 100644 --- a/Extension/i18n/trk/src/nativeStrings.i18n.json +++ b/Extension/i18n/trk/src/nativeStrings.i18n.json @@ -205,5 +205,5 @@ "unhandled_target_arg_detected": "İşlenmemiş hedef bağımsız değişken değeri algılandı: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense sunucusu kapatılıyor: {0}. Bellek kullanımı {1} MB olduğundan {2} MB sınırını aştı.", "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "unrecognized_language_standard_version": "Derleyici yoklaması, tanınmayan bir dil standardı sürümü döndürdü. Bunun yerine desteklenen en güncel sürüm kullanılacak." } \ No newline at end of file From 12c653fa7b1e61f9e9177262d915ecbe2c175e81 Mon Sep 17 00:00:00 2001 From: Colen Garoutte-Carson <49173979+Colengms@users.noreply.github.com> Date: Mon, 16 Nov 2020 14:34:24 -0800 Subject: [PATCH 11/65] Do not prompt Web-based Codespaces users to join Insiders (#6513) --- Extension/src/LanguageServer/extension.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index f7f3b64e82..75c7d843ef 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -608,6 +608,10 @@ async function suggestInsidersChannel(): Promise { if (!suggestInsiders.Value) { return; } + if (vscode.env.uiKind === vscode.UIKind.Web) { + // Do not prompt users of Web-based Codespaces to join Insiders. + return; + } let buildInfo: BuildInfo | undefined; try { buildInfo = await getTargetBuildInfo("Insiders", false); From 3194b10e623b42d96df6b45a002434946d4f81d5 Mon Sep 17 00:00:00 2001 From: csigs Date: Tue, 17 Nov 2020 11:39:46 -0800 Subject: [PATCH 12/65] Localization - Translated Strings (#6533) Co-authored-by: azure-pipelines[bot] --- Extension/i18n/chs/package.i18n.json | 2 +- .../i18n/chs/src/nativeStrings.i18n.json | 26 +++++++++---------- Extension/i18n/cht/package.i18n.json | 2 +- .../i18n/cht/src/nativeStrings.i18n.json | 26 +++++++++---------- Extension/i18n/deu/package.i18n.json | 2 +- .../i18n/deu/src/nativeStrings.i18n.json | 26 +++++++++---------- Extension/i18n/esn/package.i18n.json | 2 +- .../i18n/esn/src/nativeStrings.i18n.json | 26 +++++++++---------- Extension/i18n/fra/package.i18n.json | 2 +- .../i18n/fra/src/nativeStrings.i18n.json | 26 +++++++++---------- Extension/i18n/ita/package.i18n.json | 2 +- .../i18n/ita/src/nativeStrings.i18n.json | 26 +++++++++---------- Extension/i18n/jpn/package.i18n.json | 2 +- .../i18n/jpn/src/nativeStrings.i18n.json | 26 +++++++++---------- Extension/i18n/kor/package.i18n.json | 2 +- .../i18n/kor/src/nativeStrings.i18n.json | 26 +++++++++---------- Extension/i18n/ptb/package.i18n.json | 2 +- .../i18n/ptb/src/nativeStrings.i18n.json | 26 +++++++++---------- Extension/i18n/rus/package.i18n.json | 2 +- .../i18n/rus/src/nativeStrings.i18n.json | 24 ++++++++--------- Extension/i18n/trk/package.i18n.json | 2 +- .../i18n/trk/src/nativeStrings.i18n.json | 26 +++++++++---------- 22 files changed, 153 insertions(+), 153 deletions(-) diff --git a/Extension/i18n/chs/package.i18n.json b/Extension/i18n/chs/package.i18n.json index 91712247c1..6e1245de6e 100644 --- a/Extension/i18n/chs/package.i18n.json +++ b/Extension/i18n/chs/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "重新扫描工作区", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "将 vcpkg 安装命令复制到剪贴板", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "访问 vcpkg 帮助页", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "从 VC 格式设置生成 EditorConfig 内容", "c_cpp.configuration.formatting.description": "配置格式化引擎", "c_cpp.configuration.formatting.clangFormat.description": "将使用 clang-format 设置代码的格式。", "c_cpp.configuration.formatting.vcFormat.description": "将使用 Visual C++ 格式设置引擎来设置代码的格式。", diff --git a/Extension/i18n/chs/src/nativeStrings.i18n.json b/Extension/i18n/chs/src/nativeStrings.i18n.json index 1ccd223df9..897d664f6c 100644 --- a/Extension/i18n/chs/src/nativeStrings.i18n.json +++ b/Extension/i18n/chs/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "已弃用:", "exceptions_label": "异常:", "template_parameters_label": "模板参数:", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "编译器查询命令行: {0}", "c_compiler_from_compiler_path": "正在尝试从 \"compilerPath\" 属性中的 C 编译器获取默认值:“{0}”", "cpp_compiler_from_compiler_path": "正在尝试从 \"compilerPath\" 属性中的 C++ 编译器获取默认值:“{0}”", "c_compiler_from_compile_commands": "正在尝试从 compile_commands.json 文件中的 C 编译器获取默认值:“{0}”", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "对于 C++ 源文件,cppStandard 已从“{0}”更改为“{1}”。", "c_intellisense_mode_and_std_version_changed": "对于 C 源文件,IntelliSenseMode 已从“{0}”更改为“{1}”,cStandard 已从“{2}”更改为“{3}”。", "cpp_intellisense_mode_and_std_version_changed": "对于 C++ 源文件,IntelliSenseMode 已从“{0}”更改为“{1}”,cppStandard 已从“{2}”更改为“{3}”。", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "对于 C 源文件,IntelliSenseMode 已根据编译器参数和查询 compilerPath 从“{0}”更改为“{1}”:“{2}”", + "cpp_intellisense_mode_changed_with_path": "对于 C++ 源文件,IntelliSenseMode 已根据编译器参数和查询 compilerPath 从“{0}”更改为“{1}”:“{2}”", + "c_std_version_changed_with_path": "对于 C 源文件,cStandard 已根据编译器参数和查询 compilerPath 从“{0}”更改为“{1}”:“{2}”", + "cpp_std_version_changed_with_path": "对于 C++ 源文件,cppStandard 已根据编译器参数和查询 compilerPath 从“{0}”更改为“{1}”:“{2}”", + "c_intellisense_mode_and_std_version_changed_with_path": "对于 C 源文件,IntelliSenseMode 已从“{0}”更改为“{1}”,cStandard 已根据编译器参数和查询 compilerPath 从“{2}”更改为“{3}”:“{4}”", + "cpp_intellisense_mode_and_std_version_changed_with_path": "对于 C++ 源文件,IntelliSenseMode 已从“{0}”更改为“{1}”,cppStandard 已根据编译器参数和查询 compilerPath 从“{2}”更改为“{3}”:“{4}”", "compiler_path_changed": "无法使用 compilerPath“{0}”解析配置。 请改用“{1}”。", "compiler_path_invalid": "无法使用 compilerPath 解析配置:“{0}”", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "由于 compilerPath 明确为空,因此正在跳过对编译器的查询", "msvc_intellisense_specified": "已指定 MSVC intelliSenseMode。正在针对编译器 cl.exe 进行配置。", "unable_to_configure_cl_exe": "无法针对编译器 cl.exe 进行配置。", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "正在使用命令行查询编译器的目标:“{0}”{1}", "compiler_default_target": "编译器返回的默认目标值: {0}", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "正在使用命令行查询默认 C 语言标准的编译器: {0}", + "cpp_querying_compiler_default_standard": "正在使用命令行查询默认 C++ 语言标准的编译器: {0}", "detected_language_standard_version": "检测到的语言标准版本: {0}", "unhandled_default_target_detected": "检测到未处理的默认编译器目标值: {0}", "unhandled_target_arg_detected": "检测到未处理的目标参数值: {0}", "memory_limit_shutting_down_intellisense": "正在关闭 IntelliSense 服务器: {0}。内存使用量为 {1} MB,已超过 {2} MB 的限制。", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "未能在路径 \"{0}\" 处查询编译器以获得默认标准版本。已对此编译器禁用编译器查询。", + "unrecognized_language_standard_version": "编译器查询返回了无法识别的语言标准版本。将改用受支持的最新版本。" } \ No newline at end of file diff --git a/Extension/i18n/cht/package.i18n.json b/Extension/i18n/cht/package.i18n.json index d5cf67cc0b..472dabf0f9 100644 --- a/Extension/i18n/cht/package.i18n.json +++ b/Extension/i18n/cht/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "重新掃描工作區", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "將 vcpkg 安裝命令複製到剪貼簿", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "瀏覽 vcpkg 說明頁面", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "從 VC 格式設定產生 EditorConfig 內容", "c_cpp.configuration.formatting.description": "選擇格式設定引擎", "c_cpp.configuration.formatting.clangFormat.description": "將使用 clang-format 來格式化程式碼。", "c_cpp.configuration.formatting.vcFormat.description": "將使用 Visual C++ 格式化引擎來格式化程式碼。", diff --git a/Extension/i18n/cht/src/nativeStrings.i18n.json b/Extension/i18n/cht/src/nativeStrings.i18n.json index 3f38f5b6eb..1b0a8f3d3e 100644 --- a/Extension/i18n/cht/src/nativeStrings.i18n.json +++ b/Extension/i18n/cht/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "已淘汰:", "exceptions_label": "例外狀況:", "template_parameters_label": "範本參數:", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "編譯器查詢命令列: {0}", "c_compiler_from_compiler_path": "正在嘗試從 C 編譯器的 \"compilerPath\" 屬性中取得預設值: '{0}'", "cpp_compiler_from_compiler_path": "正在嘗試從 C++ 編譯器的 \"compilerPath\" 屬性中取得預設值: '{0}'", "c_compiler_from_compile_commands": "正在嘗試從 C 編譯器的 compile_commands.json 檔案中取得預設值: '{0}'", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "若為 C 原始程式檔,cppStandard 已從 \"{0}\" 變更為 \"{1}\"。", "c_intellisense_mode_and_std_version_changed": "若為 C 原始程式檔,IntelliSenseMode 已從 \"{0}\" 變更為 \"{1}\",且 cStandard 已從 \"{2}\" 變更為 \"{3}\"。", "cpp_intellisense_mode_and_std_version_changed": "若為 C++ 原始程式檔,IntelliSenseMode 已從 \"{0}\" 變更為 \"{1}\",且 cppStandard 已從 \"{2}\" 變更為 \"{3}\"。", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "針對 C 來源檔案,依據編譯器引數與查詢 compilerPath: \"{2}\",IntelliSenseMode 已從 \"{0}\" 變更為 \"{1}\"", + "cpp_intellisense_mode_changed_with_path": "針對 C++ 來源檔案,依據編譯器引數與查詢 compilerPath: \"{2}\",IntelliSenseMode 已從 \"{0}\" 變更為 \"{1}\"", + "c_std_version_changed_with_path": "針對 C 來源檔案,依據編譯器引數與查詢 compilerPath: \"{2}\",cStandard 已從 \"{0}\" 變更為 \"{1}\"", + "cpp_std_version_changed_with_path": "針對 C++ 來源檔案,依據編譯器引數與查詢 compilerPath: \"{2}\",cppStandard 已從 \"{0}\" 變更為 \"{1}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "針對 C 來源檔案,依據編譯器引數與查詢 compilerPath: \"{4}\",IntelliSenseMode 已從 \"{0}\" 變更為 \"{1}\",且 cStandard 已從 \"{2}\" 變更為 \"{3}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "針對 C++ 來源檔案,依據編譯器引數與查詢 compilerPath: \"{4}\",IntelliSenseMode 已從 \"{0}\" 變更為 \"{1}\",且 cppStandard 已從 \"{2}\" 變更為 \"{3}\"", "compiler_path_changed": "無法解析 compilerPath \"{0}\" 的設定。請改為使用 \"{1}\"。", "compiler_path_invalid": "無法解析 compilerPath 的設定: \"{0}\"", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "因為明確的空白 compilerPath,所以跳過編譯器的查詢", "msvc_intellisense_specified": "已指定 MSVC intelliSenseMode。正在進行編譯器 cl.exe 的設定。", "unable_to_configure_cl_exe": "無法進行編譯器 cl.exe 的設定。", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "使用命令列查詢編譯器的預設目標: \"{0}\" {1}", "compiler_default_target": "編譯器傳回了預設目標值: {0}", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "使用命令列查詢預設 C 語言標準的編譯器: {0}", + "cpp_querying_compiler_default_standard": "使用命令列查詢預設 C++ 語言標準的編譯器: {0}", "detected_language_standard_version": "已偵測到語言標準版本: {0}", "unhandled_default_target_detected": "偵測到未處理的預設編譯器目標值: {0}", "unhandled_target_arg_detected": "偵測到未處理的目標引數值: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense 伺服器即將關機: {0}。記憶體使用量為 {1} MB,超過了 {2} MB 的限制。", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "無法查詢位於路徑 \"{0}\" 的編譯器預設標準版本。已停用此編譯器的編譯器查詢。", + "unrecognized_language_standard_version": "編譯器查詢傳回無法辨識的語言標準版本。將改用支援的最新版本。" } \ No newline at end of file diff --git a/Extension/i18n/deu/package.i18n.json b/Extension/i18n/deu/package.i18n.json index 7816c2ac6d..b651111ae3 100644 --- a/Extension/i18n/deu/package.i18n.json +++ b/Extension/i18n/deu/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Arbeitsbereich erneut überprüfen", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "vcpkg-Installationsbefehl in Zwischenablage kopieren", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "vcpkg-Hilfeseite aufrufen", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "EditorConfig-Inhalte aus VC-Formateinstellungen generieren", "c_cpp.configuration.formatting.description": "Konfiguriert das Formatierungsmodul.", "c_cpp.configuration.formatting.clangFormat.description": "Zum Formatieren von Code wird \"clang-format\" verwendet.", "c_cpp.configuration.formatting.vcFormat.description": "Das Visual C++-Formatierungsmodul wird zum Formatieren von Code verwendet.", diff --git a/Extension/i18n/deu/src/nativeStrings.i18n.json b/Extension/i18n/deu/src/nativeStrings.i18n.json index 5c3247e6a7..e62b9dcee0 100644 --- a/Extension/i18n/deu/src/nativeStrings.i18n.json +++ b/Extension/i18n/deu/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "Veraltet:", "exceptions_label": "Ausnahmen:", "template_parameters_label": "Vorlagenparameter:", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "Befehlszeile der Compilerabfrage: {0}", "c_compiler_from_compiler_path": "Es wird versucht, Standardwerte vom C-Compiler in der Eigenschaft \"compilerPath\" abzurufen: {0}", "cpp_compiler_from_compiler_path": "Es wird versucht, Standardwerte vom C++-Compiler in der Eigenschaft \"compilerPath\" abzurufen: {0}", "c_compiler_from_compile_commands": "Es wird versucht, Standardwerte vom C-Compiler in der Datei \"compile_commands.json\" abzurufen: {0}", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "Für C++-Quelldateien wurde \"cppStandard\" von \"{0}\" in \"{1}\" geändert.", "c_intellisense_mode_and_std_version_changed": "Für C-Quelldateien wurde \"IntelliSenseMode\" von \"{0}\" in \"{1}\" und \"cStandard\" von \"{2}\" in \"{3}\" geändert.", "cpp_intellisense_mode_and_std_version_changed": "Für C++-Quelldateien wurde \"IntelliSenseMode\" von \"{0}\" in \"{1}\" und \"cppStandard\" von \"{2}\" in \"{3}\" geändert.", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "Für C-Quelldateien wurde \"IntelliSenseMode\" basierend auf Compilerargumenten und Abfrage von compilerPath \"{2}\" von \"{0}\" in \"{1}\" geändert.", + "cpp_intellisense_mode_changed_with_path": "Für C++-Quelldateien wurde \"IntelliSenseMode\" basierend auf Compilerargumenten und Abfrage von compilerPath \"{2}\" von \"{0}\" in \"{1}\" geändert.", + "c_std_version_changed_with_path": "Für C-Quelldateien wurde der cStandard basierend auf Compilerargumenten und Abfrage von compilerPath \"{2}\" von \"{0}\" in \"{1}\" geändert.", + "cpp_std_version_changed_with_path": "Für C++-Quelldateien wurde der cppStandard basierend auf Compilerargumenten und Abfrage von compilerPath \"{2}\" von \"{0}\" in \"{1}\" geändert.", + "c_intellisense_mode_and_std_version_changed_with_path": "Für C-Quelldateien wurde basierend auf Compilerargumenten und Abfrage von compilerPath \"{4}\" der IntelliSenseMode-Wert von \"{0}\" in \"{1}\" und cStandard von \"{2}\" in \"{3}\" geändert.", + "cpp_intellisense_mode_and_std_version_changed_with_path": "Für C++-Quelldateien wurde basierend auf Compilerargumenten und Abfrage von compilerPath \"{4}\" der IntelliSenseMode-Wert von \"{0}\" in \"{1}\" und cppStandard von \"{2}\" in \"{3}\" geändert.", "compiler_path_changed": "Die Konfiguration mit compilerPath \"{0}\" kann nicht aufgelöst werden. Stattdessen wird \"{1}\" verwendet.", "compiler_path_invalid": "Die Konfiguration mit compilerPath \"{0}\" kann nicht aufgelöst werden.", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "Die Compilerabfrage wird aufgrund eines explizit leeren compilerPath-Werts übersprungen.", "msvc_intellisense_specified": "Es wurde der MSVC-IntelliSenseMode angegeben. Der Compiler (cl.exe) wird konfiguriert.", "unable_to_configure_cl_exe": "Der Compiler (cl.exe) kann nicht konfiguriert werden.", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "Das Standardziel des Compilers wird über die Befehlszeile abgefragt: \"{0}\" {1}", "compiler_default_target": "Der Compiler hat den Standardzielwert zurückgegeben: {0}", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "Der Compiler für den Standard-C-Sprachstandard wird über die Befehlszeile abgefragt: {0}", + "cpp_querying_compiler_default_standard": "Der Compiler für den Standard-C++-Sprachstandard wird über die Befehlszeile abgefragt: {0}", "detected_language_standard_version": "Erkannte Sprachstandardversion: {0}", "unhandled_default_target_detected": "Unbehandelter Standardzielwert für Compiler erkannt: {0}", "unhandled_target_arg_detected": "Unbehandelter Zielargumentwert erkannt: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense-Server wird heruntergefahren: {0}. Die Arbeitsspeicherauslastung beträgt {1} MB und hat das Limit von {2} MB überschritten.", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Der Compiler im Pfad \"{0}\" konnte nicht nach standardmäßigen Standardversionen abgefragt werden. Die Compilerabfrage ist für diesen Compiler deaktiviert.", + "unrecognized_language_standard_version": "Die Compilerabfrage hat eine unbekannte Sprachstandardversion zurückgegeben. Stattdessen wird die neueste unterstützte Version verwendet." } \ No newline at end of file diff --git a/Extension/i18n/esn/package.i18n.json b/Extension/i18n/esn/package.i18n.json index 4048a8ec8c..2f64f786f3 100644 --- a/Extension/i18n/esn/package.i18n.json +++ b/Extension/i18n/esn/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Volver a examinar el área de trabajo", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Copiar el comando vcpkg install en el Portapapeles", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Visitar la página de ayuda de vcpkg", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "Generar contenido de EditorConfig a partir de la configuración de formato de VC", "c_cpp.configuration.formatting.description": "Configura el motor de formato", "c_cpp.configuration.formatting.clangFormat.description": "El archivo clang-format se usará para formatear el código.", "c_cpp.configuration.formatting.vcFormat.description": "El motor de formato de Visual C++ se usará para formatear el código.", diff --git a/Extension/i18n/esn/src/nativeStrings.i18n.json b/Extension/i18n/esn/src/nativeStrings.i18n.json index a553335b23..88e51fc7ce 100644 --- a/Extension/i18n/esn/src/nativeStrings.i18n.json +++ b/Extension/i18n/esn/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "En desuso:", "exceptions_label": "Excepciones:", "template_parameters_label": "Parámetros de plantilla:", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "Línea de comandos de consulta del compilador: {0}", "c_compiler_from_compiler_path": "Intentando obtener los valores predeterminados del compilador de C en la propiedad \"compilerPath\": \"{0}\"", "cpp_compiler_from_compiler_path": "Intentando obtener los valores predeterminados del compilador de C++ en la propiedad \"compilerPath\": \"{0}\"", "c_compiler_from_compile_commands": "Intentando obtener los valores predeterminados del compilador de C en el archivo compile_commands.json: \"{0}\"", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "Para los archivos de código fuente de C++, cppStandard se ha cambiado de \"{0}\" a \"{1}\".", "c_intellisense_mode_and_std_version_changed": "Para los archivos de código fuente de C, IntelliSenseMode se ha cambiado de \"{0}\" a \"{1}\" y cStandard de \"{2}\" a \"{3}\".", "cpp_intellisense_mode_and_std_version_changed": "Para los archivos de código fuente de C++, IntelliSenseMode se ha cambiado de \"{0}\" a \"{1}\" y cppStandard de \"{2}\" a \"{3}\".", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "Para los archivos de código fuente de C, IntelliSenseMode se ha cambiado de \"{0}\" a \"{1}\" en función de los argumentos del compilador y de la consulta de compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "Para los archivos de código fuente de C++, IntelliSenseMode se ha cambiado de \"{0}\" a \"{1}\" en función de los argumentos del compilador y de la consulta de compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "Para los archivos de código fuente de C, cStandard se ha cambiado de \"{0}\" a \"{1}\" en función de los argumentos del compilador y de la consulta de compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "Para los archivos de código fuente de C++, cppStandard se ha cambiado de \"{0}\" a \"{1}\" en función de los argumentos del compilador y de la consulta de compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "Para los archivos de código fuente de C, IntelliSenseMode se ha cambiado de \"{0}\" a \"{1}\" y cStandard de \"{2}\" a \"{3}\", en función de los argumentos del compilador y de la consulta de compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "Para los archivos de código fuente de C++, IntelliSenseMode se ha cambiado de \"{0}\" a \"{1}\" y cppStandard de \"{2}\" a \"{3}\", en función de los argumentos del compilador y de la consulta de compilerPath: \"{4}\"", "compiler_path_changed": "No se puede resolver la configuración con compilerPath \"{0}\". Se usará \"{1}\".", "compiler_path_invalid": "No se puede resolver la configuración con compilerPath: \"{0}\"", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "Omitiendo la consulta del compilador debido a que la ruta compilerPath está explícitamente vacía.", "msvc_intellisense_specified": "IntelliSenseMode MSVC especificado. Configurando para el compilador cl.exe.", "unable_to_configure_cl_exe": "No se puede configurar para el compilador cl.exe.", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "Consulta del destino predeterminado del compilador mediante la línea de comandos: \"{0}\" {1}", "compiler_default_target": "El compilador devolvió el valor de destino predeterminado: {0}", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "Consulta del compilador para el estándar de lenguaje C predeterminado con la línea de comandos: {0}", + "cpp_querying_compiler_default_standard": "Consulta del compilador para el estándar de lenguaje C++ predeterminado con la línea de comandos: {0}", "detected_language_standard_version": "Versión estándar del lenguaje detectada: {0}", "unhandled_default_target_detected": "Se detectó un valor de destino del compilador predeterminado no controlado: {0}", "unhandled_target_arg_detected": "Se detectó un valor del argumento de destino no controlado: {0}", "memory_limit_shutting_down_intellisense": "Cerrando el servidor de IntelliSense: {0}. El uso de la memoria es de {1} MB y ha superado el límite de {2} MB.", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "No se pudo consultar el compilador en la ruta de acceso \"{0}\" para las versiones estándar predeterminadas. La consulta del compilador está deshabilitada para este.", + "unrecognized_language_standard_version": "La consulta del compilador devolvió una versión estándar del lenguaje no reconocida. En su lugar se usará la última versión admitida." } \ No newline at end of file diff --git a/Extension/i18n/fra/package.i18n.json b/Extension/i18n/fra/package.i18n.json index 54e9c491cd..93e9a589f9 100644 --- a/Extension/i18n/fra/package.i18n.json +++ b/Extension/i18n/fra/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Réanalyser l'espace de travail", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Copier la commande vcpkg install dans le Presse-papiers", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Visiter la page d'aide de vcpkg", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "Générer le contenu d'EditorConfig à partir des paramètres de format VC", "c_cpp.configuration.formatting.description": "Configure le moteur de mise en forme", "c_cpp.configuration.formatting.clangFormat.description": "clang-format est utilisé pour la mise en forme du code.", "c_cpp.configuration.formatting.vcFormat.description": "Le moteur de mise en forme de Visual C++ est utilisé pour la mise en forme du code.", diff --git a/Extension/i18n/fra/src/nativeStrings.i18n.json b/Extension/i18n/fra/src/nativeStrings.i18n.json index 324f773ffa..0328e51122 100644 --- a/Extension/i18n/fra/src/nativeStrings.i18n.json +++ b/Extension/i18n/fra/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "Déprécié :", "exceptions_label": "Exceptions :", "template_parameters_label": "Paramètres du modèle :", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "Ligne de commande d'interrogation du compilateur : {0}", "c_compiler_from_compiler_path": "Tentative d'obtention des valeurs par défaut du compilateur C dans la propriété \"compilerPath\" : '{0}'", "cpp_compiler_from_compiler_path": "Tentative d'obtention des valeurs par défaut du compilateur C++ dans la propriété \"compilerPath\" : '{0}'", "c_compiler_from_compile_commands": "Tentative d'obtention des valeurs par défaut du compilateur C dans le fichier compile_commands.json : '{0}'", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "Pour les fichiers sources C++, cppStandard est passé de \"{0}\" à \"{1}\".", "c_intellisense_mode_and_std_version_changed": "Pour les fichiers sources C, IntelliSenseMode est passé de \"{0}\" à \"{1}\" et cStandard est passé de \"{2}\" à \"{3}\".", "cpp_intellisense_mode_and_std_version_changed": "Pour les fichiers sources C++, IntelliSenseMode est passé de \"{0}\" à \"{1}\" et cppStandard est passé de \"{2}\" à \"{3}\".", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "Pour les fichiers sources C, IntelliSenseMode est passé de \"{0}\" à \"{1}\" en fonction des arguments du compilateur et de l'interrogation de compilerPath : \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "Pour les fichiers sources C++, IntelliSenseMode est passé de \"{0}\" à \"{1}\" en fonction des arguments du compilateur et de l'interrogation de compilerPath : \"{2}\"", + "c_std_version_changed_with_path": "Pour les fichiers sources C, cStandard est passé de \"{0}\" à \"{1}\" en fonction des arguments du compilateur et de l'interrogation de compilerPath : \"{2}\"", + "cpp_std_version_changed_with_path": "Pour les fichiers sources C++, cppStandard est passé de \"{0}\" à \"{1}\" en fonction des arguments du compilateur et de l'interrogation de compilerPath : \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "Pour les fichiers sources C, IntelliSenseMode est passé de \"{0}\" à \"{1}\" et cStandard est passé de \"{2}\" à \"{3}\" en fonction des arguments du compilateur et de l'interrogation de compilerPath : \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "Pour les fichiers sources C++, IntelliSenseMode est passé de \"{0}\" à \"{1}\" et cppStandard est passé de \"{2}\" à \"{3}\" en fonction des arguments du compilateur et de l'interrogation de compilerPath : \"{4}\"", "compiler_path_changed": "Impossible de résoudre la configuration avec le compilerPath \"{0}\". Utilisation de \"{1}\" à la place.", "compiler_path_invalid": "Impossible de résoudre la configuration avec le compilerPath \"{0}\"", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "Interrogation du compilateur ignorée en raison d'un compilerPath explicitement vide", "msvc_intellisense_specified": "Paramètre MSVC intelliSenseMode spécifié. Configuration pour le compilateur cl.exe.", "unable_to_configure_cl_exe": "Impossible d'effectuer la configuration pour le compilateur cl.exe.", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "Interrogation de la cible par défaut du compilateur via la ligne de commande : \"{0}\" {1}", "compiler_default_target": "Le compilateur a retourné la valeur cible par défaut : {0}", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "Interrogation du compilateur pour déterminer la norme de langage C par défaut via la ligne de commande : {0}", + "cpp_querying_compiler_default_standard": "Interrogation du compilateur pour déterminer la norme de langage C++ par défaut via la ligne de commande : {0}", "detected_language_standard_version": "Version de la norme de langage détectée : {0}", "unhandled_default_target_detected": "Détection d'une valeur cible par défaut du compilateur non prise en charge : {0}", "unhandled_target_arg_detected": "Détection d'une valeur d'argument cible non prise en charge : {0}", "memory_limit_shutting_down_intellisense": "Arrêt du serveur IntelliSense : {0}. L'utilisation de la mémoire est de {1} Mo et a dépassé la limite fixée à {2} Mo.", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Échec de l'interrogation du compilateur sur le chemin \"{0}\" pour les versions normalisées par défaut. L'interrogation du compilateur est désactivée pour ce compilateur.", + "unrecognized_language_standard_version": "L'interrogation du compilateur a retourné une version de norme de langage non reconnue. La toute dernière version prise en charge va être utilisée à la place." } \ No newline at end of file diff --git a/Extension/i18n/ita/package.i18n.json b/Extension/i18n/ita/package.i18n.json index b9c8b203af..f1de29e0fa 100644 --- a/Extension/i18n/ita/package.i18n.json +++ b/Extension/i18n/ita/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Ripeti analisi dell'area di lavoro", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Copia il comando di installazione di vcpkg negli Appunti", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Visitare la pagina della Guida di vcpkg", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "Genera il contenuto di EditorConfig dalle impostazioni di Formato VC", "c_cpp.configuration.formatting.description": "Configura il motore di formattazione", "c_cpp.configuration.formatting.clangFormat.description": "Per formattare il codice, verrà usato clang-format.", "c_cpp.configuration.formatting.vcFormat.description": "Per formattare il codice, verrà usato il motore di formattazione Visual C++.", diff --git a/Extension/i18n/ita/src/nativeStrings.i18n.json b/Extension/i18n/ita/src/nativeStrings.i18n.json index 86f6d4d70f..67fb8eb25f 100644 --- a/Extension/i18n/ita/src/nativeStrings.i18n.json +++ b/Extension/i18n/ita/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "Deprecato:", "exceptions_label": "Eccezioni:", "template_parameters_label": "Parametri del modello:", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "Riga di comando della query del compilatore: {0}", "c_compiler_from_compiler_path": "Tentativo di recuperare le impostazioni predefinite dal compilatore C nella proprietà \"compilerPath\": '{0}'", "cpp_compiler_from_compiler_path": "Tentativo di recuperare le impostazioni predefinite dal compilatore C++ nella proprietà \"compilerPath\": '{0}'", "c_compiler_from_compile_commands": "Tentativo di recuperare le impostazioni predefinite dal compilatore C nel file compile_commands.json: '{0}'", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "Per il file di origine C++, il valore di cppStandard è stato modificato da \"{0}\" a \"{1}\".", "c_intellisense_mode_and_std_version_changed": "Per i file di origine C, il valore di IntelliSenseMode è stato modificato da \"{0}\" a \"{1}\" e quello di cStandard è stato modificato da \"{2}\" a \"{3}\".", "cpp_intellisense_mode_and_std_version_changed": "Per i file di origine C++, il valore di IntelliSenseMode è stato modificato da \"{0}\" a \"{1}\" e quello di cppStandard è stato modificato da \"{2}\" a \"{3}\".", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "Per i file di origine C, il valore di IntelliSenseMode è stato modificato da \"{0}\" a \"{1}\" in base agli argomenti del compilatore e all'esecuzione di query su compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "Per i file di origine C++, il valore di IntelliSenseMode è stato modificato da \"{0}\" a \"{1}\" in base agli argomenti del compilatore e all'esecuzione di query su compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "Per i file di origine C, il valore di cStandard è stato modificato da \"{0}\" a \"{1}\" in base agli argomenti del compilatore e all'esecuzione di query su compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "Per i file di origine C++, il valore di cppStandard è stato modificato da \"{0}\" a \"{1}\" in base agli argomenti del compilatore e all'esecuzione di query su compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "Per i file di origine C, il valore di IntelliSenseMode è stato modificato da \"{0}\" a \"{1}\" e quello di cStandard è stato modificato da \"{2}\" a \"{3}\" in base agli argomenti del compilatore e all'esecuzione di query su compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "Per i file di origine C++, il valore di IntelliSenseMode è stato modificato da \"{0}\" a \"{1}\" e quello di cppStandard è stato modificato da \"{2}\" a \"{3}\" in base agli argomenti del compilatore e all'esecuzione di query su compilerPath: \"{4}\"", "compiler_path_changed": "Non è possibile risolvere la configurazione con compilerPath \"{0}\". In alternativa, verrà usato \"{1}\".", "compiler_path_invalid": "Non è possibile risolvere la configurazione con compilerPath: \"{0}\"", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "La query del compilatore verrà ignorata perché compilerPath è esplicitamente vuoto", "msvc_intellisense_specified": "È stato specificato intelliSenseMode MSVC. Verrà eseguita la configurazione per il compilatore cl.exe.", "unable_to_configure_cl_exe": "Non è possibile eseguire la configurazione per il compilatore cl.exe.", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "Esecuzione di query sulla destinazione predefinita del compilatore con la riga di comando: \"{0}\" {1}", "compiler_default_target": "Il compilatore ha restituito il valore di destinazione predefinito: {0}", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "Esecuzione di query sul compilatore per lo standard del linguaggio C predefinito con la riga di comando: {0}", + "cpp_querying_compiler_default_standard": "Esecuzione di query sul compilatore per lo standard del linguaggio C++ predefinito con la riga di comando: {0}", "detected_language_standard_version": "Versione standard del linguaggio rilevata: {0}", "unhandled_default_target_detected": "È stato rilevato un valore di destinazione del compilatore predefinito non gestito: {0}", "unhandled_target_arg_detected": "È stato rilevato un valore dell'argomento di destinazione non gestito: {0}", "memory_limit_shutting_down_intellisense": "Il server IntelliSense verrà arrestato: {0}. La memoria utilizzata è {1} MB e ha superato il limite di {2} MB.", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Non è stato possibile eseguire una query sul compilatore nel percorso \"{0}\" per le versioni standard predefinite. L'esecuzione di query del compilatore è disabilitata per questo compilatore.", + "unrecognized_language_standard_version": "La query del compilatore ha restituito una versione standard del linguaggio non riconosciuta. In alternativa, verrà usata la versione più recente supportata." } \ No newline at end of file diff --git a/Extension/i18n/jpn/package.i18n.json b/Extension/i18n/jpn/package.i18n.json index eb2ae7319c..398f7007d9 100644 --- a/Extension/i18n/jpn/package.i18n.json +++ b/Extension/i18n/jpn/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "ワークスペースの再スキャン", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "vcpkg インストール コマンドをクリップボードにコピーする", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "vcpkg のヘルプ ページへのアクセス", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "VC 形式の設定からの EditorConfig コンテンツの生成", "c_cpp.configuration.formatting.description": "書式設定エンジンを構成します", "c_cpp.configuration.formatting.clangFormat.description": "clang-format を使用してコードがフォーマットされます。", "c_cpp.configuration.formatting.vcFormat.description": "コードの書式設定に Visual C++ の書式設定エンジンが使用されます。", diff --git a/Extension/i18n/jpn/src/nativeStrings.i18n.json b/Extension/i18n/jpn/src/nativeStrings.i18n.json index 90e90bff5c..a91d99917a 100644 --- a/Extension/i18n/jpn/src/nativeStrings.i18n.json +++ b/Extension/i18n/jpn/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "非推奨:", "exceptions_label": "例外:", "template_parameters_label": "テンプレート パラメーター:", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "コンパイラ クエリ コマンド ライン: {0}", "c_compiler_from_compiler_path": "\"compilerPath\" プロパティの C コンパイラから既定値を取得しようとしています: '{0}'", "cpp_compiler_from_compiler_path": "\"compilerPath\" プロパティの C++ コンパイラから既定値を取得しようとしています: '{0}'", "c_compiler_from_compile_commands": "compile_commands.json ファイルの C コンパイラから既定値を取得しようとしています: '{0}'", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "C++ ソース ファイルで、cppStandard が \"{0}\" から \"{1}\" に変更されました。", "c_intellisense_mode_and_std_version_changed": "C ソース ファイルで、IntelliSenseMode が \"{0}\" から \"{1}\" に変更され、cStandard が \"{2}\" から \"{3}\" に変更されました。", "cpp_intellisense_mode_and_std_version_changed": "C++ ソースファイルで、IntelliSenseMode が \"{0}\" から \"{1}\" に変更され、cppStandard が \"{2}\" から \"{3}\" に変更されました。", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "C ソース ファイルで、コンパイラの引数と compilerPath のクエリに基づいて、IntelliSenseMode が \"{0}\" から \"{1}\" に変更されました: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "C++ ソース ファイルで、コンパイラの引数と compilerPath のクエリに基づいて、IntelliSenseMode が \"{0}\" から \"{1}\" に変更されました: \"{2}\"", + "c_std_version_changed_with_path": "C ソース ファイルで、コンパイラの引数と compilerPath のクエリに基づいて、cStandard が \"{0}\" から \"{1}\" に変更されました: \"{2}\"", + "cpp_std_version_changed_with_path": "C++ ソース ファイルで、コンパイラの引数と compilerPath のクエリに基づいて、cppStandard が \"{0}\" から \"{1}\" に変更されました: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "C ソース ファイルで、コンパイラの引数と compilerPath のクエリに基づいて、IntelliSenseMode が \"{0}\" から \"{1}\" に変更され、cStandard が \"{2}\" から \"{3}\" に変更されました: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "C++ ソース ファイルで、コンパイラの引数と compilerPath のクエリに基づいて、IntelliSenseMode が \"{0}\" から \"{1}\" に変更され、cppStandard が \"{2}\" から \"{3}\" に変更されました: \"{4}\"", "compiler_path_changed": "compilerPath \"{0}\" を使用して構成を解決できません。代わりに \"{1}\" を使用しています。", "compiler_path_invalid": "compilerPath を使用して構成を解決できません: \"{0}\"", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "compilerPath が明示的に空になっているため、コンパイラのクエリをスキップしています", "msvc_intellisense_specified": "MSVC intelliSenseMode が指定されました。コンパイラ cl.exe 用に構成しています。", "unable_to_configure_cl_exe": "コンパイラ cl.exe 用に構成できません。", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "コマンド ラインを使用してコンパイラの既定のターゲットをクエリしています: \"{0}\" {1}", "compiler_default_target": "コンパイラによって既定のターゲット値が返されました: {0}", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "コマンド ラインを使用して既定の C 言語標準用にコンパイラをクエリしています: {0}", + "cpp_querying_compiler_default_standard": "コマンド ラインを使用して既定の C++ 言語標準用にコンパイラをクエリしています: {0}", "detected_language_standard_version": "検出された言語標準バージョン: {0}", "unhandled_default_target_detected": "ハンドルされていない既定のコンパイラ ターゲット値が検出されました: {0}", "unhandled_target_arg_detected": "ハンドルされていないターゲット引数値が検出されました: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense サーバーをシャットダウンしています: {0}。メモリ使用量は {1} MB で、{2} MB の制限を超えました。", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "既定の標準バージョンのパス \"{0}\" でコンパイラをクエリできませんでした。このコンパイラでは、コンパイラのクエリが無効になっています。", + "unrecognized_language_standard_version": "コンパイラ クエリにより、認識されない言語標準バージョンが返されました。代わりに、サポートされている最新のバージョンが使用されます。" } \ No newline at end of file diff --git a/Extension/i18n/kor/package.i18n.json b/Extension/i18n/kor/package.i18n.json index 234775675e..0c79b4f153 100644 --- a/Extension/i18n/kor/package.i18n.json +++ b/Extension/i18n/kor/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "작업 영역 다시 검사", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "vcpkg install 명령을 클립보드에 복사", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "vcpkg 도움말 페이지 방문", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "VC 형식 설정에서 EditorConfig 콘텐츠 생성", "c_cpp.configuration.formatting.description": "서식 엔진을 구성합니다.", "c_cpp.configuration.formatting.clangFormat.description": "코드 서식을 지정하는 데 clang-format이 사용됩니다.", "c_cpp.configuration.formatting.vcFormat.description": "코드 서식을 지정하는 데 Visual C++ 서식 엔진이 사용됩니다.", diff --git a/Extension/i18n/kor/src/nativeStrings.i18n.json b/Extension/i18n/kor/src/nativeStrings.i18n.json index c789717a63..2bc5c40b46 100644 --- a/Extension/i18n/kor/src/nativeStrings.i18n.json +++ b/Extension/i18n/kor/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "사용되지 않음:", "exceptions_label": "예외:", "template_parameters_label": "템플릿 매개 변수:", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "컴파일러 쿼리 명령줄: {0}", "c_compiler_from_compiler_path": "\"compilerPath\" 속성의 C 컴파일러에서 기본값을 가져오려고 합니다. '{0}'", "cpp_compiler_from_compiler_path": "\"compilerPath\" 속성의 C++ 컴파일러에서 기본값을 가져오려고 합니다. '{0}'", "c_compiler_from_compile_commands": "compile_commands.json 파일의 C 컴파일러에서 기본값을 가져오려고 합니다. '{0}'", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "C++ 소스 파일에서는 cppStandard가 \"{0}\"에서 \"{1}\"(으)로 변경되었습니다.", "c_intellisense_mode_and_std_version_changed": "C 소스 파일에서는 IntelliSenseMode가 \"{0}\"에서 \"{1}\"(으)로 변경되고 cStandard가 \"{2}\"에서 \"{3}\"(으)로 변경되었습니다.", "cpp_intellisense_mode_and_std_version_changed": "C++ 소스 파일에서는 IntelliSenseMode가 \"{0}\"에서 \"{1}\"(으)로 변경되고 cppStandard가 \"{2}\"에서 \"{3}\"(으)로 변경되었습니다.", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "C 소스 파일에서는 컴파일러 인수 및 쿼리 compilerPath(\"{2}\")에 따라 IntelliSenseMode가 \"{0}\"에서 \"{1}\"(으)로 변경되었습니다.", + "cpp_intellisense_mode_changed_with_path": "C++ 소스 파일에서는 컴파일러 인수 및 쿼리 compilerPath(\"{2}\")에 따라 IntelliSenseMode가 \"{0}\"에서 \"{1}\"(으)로 변경되었습니다.", + "c_std_version_changed_with_path": "C 소스 파일에서는 컴파일러 인수 및 쿼리 compilerPath(\"{2}\")에 따라 cStandard가 \"{0}\"에서 \"{1}\"(으)로 변경되었습니다.", + "cpp_std_version_changed_with_path": "C++ 소스 파일에서는 컴파일러 인수 및 쿼리 compilerPath(\"{2}\")에 따라 cppStandard가 \"{0}\"에서 \"{1}\"(으)로 변경되었습니다.", + "c_intellisense_mode_and_std_version_changed_with_path": "C 소스 파일에서는 컴파일러 인수 및 쿼리 compilerPath(\"{4}\")에 따라 IntelliSenseMode가 \"{0}\"에서 \"{1}\"(으)로 변경되고 cStandard가 \"{2}\"에서 \"{3}\"(으)로 변경되었습니다.", + "cpp_intellisense_mode_and_std_version_changed_with_path": "C++ 소스 파일에서는 컴파일러 인수 및 쿼리 compilerPath(\"{4}\")에 따라 IntelliSenseMode가 \"{0}\"에서 \"{1}\"(으)로 변경되고 cppStandard가 \"{2}\"에서 \"{3}\"(으)로 변경되었습니다.", "compiler_path_changed": "CompilerPath가 \"{0}\"인 구성을 확인할 수 없습니다. \"{1}\"을(를) 대신 사용하세요.", "compiler_path_invalid": "CompilerPath가 \"{0}\"인 구성을 확인할 수 없습니다.", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "명시적으로 빈 compilerPath로 인해 컴파일러 쿼리를 건너뜁니다.", "msvc_intellisense_specified": "MSVC intelliSenseMode를 지정했습니다. 컴파일러 cl.exe에 대해 구성합니다.", "unable_to_configure_cl_exe": "컴파일러 cl.exe를 구성할 수 없습니다.", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "명령줄 \"{0}\" {1}을(를) 사용하여 컴파일러의 기본 대상을 쿼리하는 중", "compiler_default_target": "컴파일러가 기본 대상 값을 반환함: {0}", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "명령줄 {0}을(를) 사용하여 기본 C 언어 표준에 대한 컴파일러를 쿼리하는 중", + "cpp_querying_compiler_default_standard": "명령줄 {0}을(를) 사용하여 기본 C++ 언어 표준에 대한 컴파일러를 쿼리하는 중", "detected_language_standard_version": "언어 표준 버전이 검색됨: {0}", "unhandled_default_target_detected": "처리되지 않은 기본 컴파일러 대상 값이 검색됨: {0}", "unhandled_target_arg_detected": "처리되지 않은 대상 인수 값이 검색됨: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense 서버 {0}을(를) 종료하는 중입니다. 메모리 사용량이 {1}MB이며 {2}MB 한도를 초과했습니다.", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "기본 표준 버전에 대해 경로 \"{0}\"에서 컴파일러를 쿼리하지 못했습니다. 이 컴파일러에 대해서는 컴파일러 쿼리를 사용할 수 없습니다.", + "unrecognized_language_standard_version": "컴파일러 쿼리에서 인식할 수 없는 언어 표준 버전을 반환했습니다. 지원되는 최신 버전이 대신 사용됩니다." } \ No newline at end of file diff --git a/Extension/i18n/ptb/package.i18n.json b/Extension/i18n/ptb/package.i18n.json index 173f12eeb3..b6a3049174 100644 --- a/Extension/i18n/ptb/package.i18n.json +++ b/Extension/i18n/ptb/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Examinar Novamente o Workspace", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Copiar o comando de instalação vcpkg para a área de transferência", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Visite a página de ajuda do vcpkg", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "Gerar o conteúdo do EditorConfig por meio das configurações de Formato do VC", "c_cpp.configuration.formatting.description": "Configura o mecanismo de formatação", "c_cpp.configuration.formatting.clangFormat.description": "O clang-format será usado para formatar o código.", "c_cpp.configuration.formatting.vcFormat.description": "O mecanismo de formatação Visual C++ será usado para formatar o código.", diff --git a/Extension/i18n/ptb/src/nativeStrings.i18n.json b/Extension/i18n/ptb/src/nativeStrings.i18n.json index 1b7cc8f0bd..d2d6f8e2e8 100644 --- a/Extension/i18n/ptb/src/nativeStrings.i18n.json +++ b/Extension/i18n/ptb/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "Preterido:", "exceptions_label": "Exceções:", "template_parameters_label": "Parâmetros do Modelo:", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "Linha de comando de consulta do compilador: {0}", "c_compiler_from_compiler_path": "Tentando obter padrões do compilador C na propriedade \"compilerPath\": '{0}'", "cpp_compiler_from_compiler_path": "Tentando obter padrões do compilador C++ na propriedade \"compilerPath\": '{0}'", "c_compiler_from_compile_commands": "Tentando obter padrões do compilador C no arquivo compile_commands.json: '{0}'", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "Para arquivos de origem C++, o cppStandard foi alterado de \"{0}\" para \"{1}\".", "c_intellisense_mode_and_std_version_changed": "Para arquivos de origem C, o IntelliSenseMode foi alterado de \"{0}\" para \"{1}\" e o cStandard foi alterado de \"{2}\" para \"{3}\".", "cpp_intellisense_mode_and_std_version_changed": "Para arquivos de origem C++, o IntelliSenseMode foi alterado de \"{0}\" para \"{1}\" e o cppStandard foi alterado de \"{2}\" para \"{3}\".", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "Para os arquivos de origem C, o IntelliSenseMode foi alterado de \"{0}\" para \"{1}\" com base nos argumentos do compilador e na consulta do compilerPath: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "Para os arquivos de origem C++, o IntelliSenseMode foi alterado de \"{0}\" para \"{1}\" com base nos argumentos do compilador e na consulta do compilerPath: \"{2}\"", + "c_std_version_changed_with_path": "Para os arquivos de origem C, o cStandard foi alterado de \"{0}\" para \"{1}\" com base nos argumentos do compilador e na consulta do compilerPath: \"{2}\"", + "cpp_std_version_changed_with_path": "Para os arquivos de origem C++, o cppStandard foi alterado de \"{0}\" para \"{1}\" com base nos argumentos do compilador e na consulta do compilerPath: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "Para os arquivos de origem C, o IntelliSenseMode foi alterado de \"{0}\" para \"{1}\" e o cStandard foi alterado de \"{2}\" para \"{3}\" com base nos argumentos do compilador e na consulta do compilerPath: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "Para os arquivos de origem C++, o IntelliSenseMode foi alterado de \"{0}\" para \"{1}\" e o cppStandard foi alterado de \"{2}\" para \"{3}\" com base nos argumentos do compilador e na consulta do compilerPath: \"{4}\"", "compiler_path_changed": "Não é possível resolver a configuração com compilerPath \"{0}\". Em vez disso, use \"{1}\".", "compiler_path_invalid": "Não é possível resolver a configuração com compilerPath: \"{0}\"", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "Ignorando a consulta do compilador devido a um compilerPath explicitamente vazio", "msvc_intellisense_specified": "O intelliSenseMode do MSVC foi especificado. Configurando para cl.exe do compilador.", "unable_to_configure_cl_exe": "Não é possível configurar o compilador cl.exe.", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "Consultando o destino padrão do compilador usando a linha de comando: \"{0}\" {1}", "compiler_default_target": "O compilador retornou o valor de destino padrão: {0}", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "Consultando o compilador para obter o padrão de linguagem C padrão usando a linha de comando: {0}", + "cpp_querying_compiler_default_standard": "Consultando o compilador para obter o padrão de linguagem C++ padrão usando a linha de comando: {0}", "detected_language_standard_version": "Versão padrão da linguagem detectada: {0}", "unhandled_default_target_detected": "Foi detectado um valor de destino do compilador padrão não tratado: {0}", "unhandled_target_arg_detected": "Foi detectado um valor de argumento de destino não tratado: {0}", "memory_limit_shutting_down_intellisense": "Desligando o servidor do IntelliSense: {0}. O uso de memória é {1} MB e excedeu o limite de {2} MB.", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "failed_to_query_for_standard_version": "Falha ao consultar compilador no caminho \"{0}\" para as versões padrão. A consulta do compilador está desabilitada para este compilador.", + "unrecognized_language_standard_version": "A consulta do compilador retornou uma versão do padrão de linguagem não reconhecida. Nesse caso, será usada a última versão com suporte." } \ No newline at end of file diff --git a/Extension/i18n/rus/package.i18n.json b/Extension/i18n/rus/package.i18n.json index e7fcf640f3..f0febca702 100644 --- a/Extension/i18n/rus/package.i18n.json +++ b/Extension/i18n/rus/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Повторное сканирование рабочей области", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "Копировать команду vcpkg install в буфер обмена", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "Посетите страницу справки по vcpkg", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "Создание содержимого EditorConfig из параметров формата VC", "c_cpp.configuration.formatting.description": "Настраивает подсистему форматирования.", "c_cpp.configuration.formatting.clangFormat.description": "Для форматирования кода будет использоваться clang-format.", "c_cpp.configuration.formatting.vcFormat.description": "Для форматирования кода будет использоваться подсистема форматирования Visual C++.", diff --git a/Extension/i18n/rus/src/nativeStrings.i18n.json b/Extension/i18n/rus/src/nativeStrings.i18n.json index 1b13604565..93e6bf7670 100644 --- a/Extension/i18n/rus/src/nativeStrings.i18n.json +++ b/Extension/i18n/rus/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "Нерекомендуемый:", "exceptions_label": "Исключения:", "template_parameters_label": "Параметры шаблона:", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "Командная строка запроса компилятора: {0}", "c_compiler_from_compiler_path": "Попытка получить значения по умолчанию из компилятора C в свойстве \"compilerPath\": \"{0}\"", "cpp_compiler_from_compiler_path": "Попытка получить значения по умолчанию из компилятора C++ в свойстве \"compilerPath\": \"{0}\"", "c_compiler_from_compile_commands": "Попытка получить значения по умолчанию из компилятора C в файле compile_commands.json: \"{0}\"", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "Для исходных файлов C++ cppStandard был изменен с \"{0}\" на \"{1}\".", "c_intellisense_mode_and_std_version_changed": "Для исходных файлов C IntelliSenseMode был изменен с \"{0}\" на \"{1}\", а cStandard — с \"{2}\" на \"{3}\".", "cpp_intellisense_mode_and_std_version_changed": "Для исходных файлов C++ IntelliSenseMode был изменен с \"{0}\" на \"{1}\", а cppStandard — с \"{2}\" на \"{3}\".", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "Для исходных файлов C IntelliSenseMode был изменен с \"{0}\" на \"{1}\" на основе аргументов компилятора и compilerPath запроса: \"{2}\"", + "cpp_intellisense_mode_changed_with_path": "Для исходных файлов C++ IntelliSenseMode был изменен с \"{0}\" на \"{1}\" на основе аргументов компилятора и compilerPath запроса: \"{2}\"", + "c_std_version_changed_with_path": "Для исходных файлов C cStandard был изменен с \"{0}\" на \"{1}\" на основе аргументов компилятора и compilerPath запроса: \"{2}\"", + "cpp_std_version_changed_with_path": "Для исходных файлов C++ cppStandard был изменен с \"{0}\" на \"{1}\" на основе аргументов компилятора и compilerPath запроса: \"{2}\"", + "c_intellisense_mode_and_std_version_changed_with_path": "Для исходных файлов C IntelliSenseMode был изменен с \"{0}\" на \"{1}\", а cStandard — с \"{2}\" на \"{3}\" на основе аргументов компилятора и compilerPath запроса: \"{4}\"", + "cpp_intellisense_mode_and_std_version_changed_with_path": "Для исходных файлов C++ IntelliSenseMode был изменен с \"{0}\" на \"{1}\", а cppStandard — с \"{2}\" на \"{3}\" на основе аргументов компилятора и compilerPath запроса: \"{4}\"", "compiler_path_changed": "Не удалось разрешить конфигурацию с compilerPath \"{0}\". Вместо этого используется \"{1}\".", "compiler_path_invalid": "Не удалось разрешить конфигурацию с compilerPath: \"{0}\"", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "Выполняется пропуск запроса к компилятору из-за явным образом пустого compilerPath", "msvc_intellisense_specified": "Указан intelliSenseMode MSVC. Выполняется настройка для cl.exe компилятора.", "unable_to_configure_cl_exe": "Не удалось выполнить настройку для cl.exe компилятора.", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "Выполняется запрос целевого объекта по умолчанию для компилятора с помощью командной строки: \"{0}\" {1}", "compiler_default_target": "Компилятор возвратил целевое значение по умолчанию: {0}", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "Выполняется запрос к компилятору для стандарта языка C по умолчанию с помощью командной строки: {0}", + "cpp_querying_compiler_default_standard": "Выполняется запрос к компилятору для стандарта языка C++ по умолчанию с помощью командной строки: {0}", "detected_language_standard_version": "Обнаруженная версия стандарта языка: {0}", "unhandled_default_target_detected": "Обнаружено необработанное целевое значение компилятора по умолчанию: {0}", "unhandled_target_arg_detected": "Обнаружено необработанное значение целевого аргумента: {0}", "memory_limit_shutting_down_intellisense": "Завершение работы сервера IntelliSense: {0}. Используемый объем памяти ({1} МБ) превысил ограничение ({2} МБ).", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", + "failed_to_query_for_standard_version": "Не удалось запросить компилятор по пути \"{0}\" для стандартных версий по умолчанию. Запросы для этого компилятора отключены.", "unrecognized_language_standard_version": "Проба компилятора возвратила нераспознанную версию стандарта языка. Вместо этого будет использоваться последняя поддерживаемая версия." } \ No newline at end of file diff --git a/Extension/i18n/trk/package.i18n.json b/Extension/i18n/trk/package.i18n.json index 1e5966c238..3658dcb29d 100644 --- a/Extension/i18n/trk/package.i18n.json +++ b/Extension/i18n/trk/package.i18n.json @@ -22,7 +22,7 @@ "c_cpp.command.rescanWorkspace.title": "Çalışma Alanını Yeniden Tara", "c_cpp.command.vcpkgClipboardInstallSuggested.title": "vcpkg yükleme komutunu panoya kopyalayın", "c_cpp.command.vcpkgOnlineHelpSuggested.title": "vcpkg yardım sayfasını ziyaret edin", - "c_cpp.command.generateEditorConfig.title": "Generate EditorConfig contents from VC Format settings", + "c_cpp.command.generateEditorConfig.title": "VC Biçimi ayarlarından EditorConfig içerikleri oluştur", "c_cpp.configuration.formatting.description": "Biçimlendirme altyapısını yapılandırır", "c_cpp.configuration.formatting.clangFormat.description": "Kodu biçimlendirmek için clang-format kullanılacak.", "c_cpp.configuration.formatting.vcFormat.description": "Kodu biçimlendirmek için Visual C++ biçimlendirme altyapısı kullanılacak.", diff --git a/Extension/i18n/trk/src/nativeStrings.i18n.json b/Extension/i18n/trk/src/nativeStrings.i18n.json index e6d63abeb7..161969b96f 100644 --- a/Extension/i18n/trk/src/nativeStrings.i18n.json +++ b/Extension/i18n/trk/src/nativeStrings.i18n.json @@ -174,7 +174,7 @@ "deprecated_label": "Kullanım dışı:", "exceptions_label": "Özel durumlar:", "template_parameters_label": "Şablon Parametreleri:", - "compiler_query_command_line": "Compiler query command line: {0}", + "compiler_query_command_line": "Derleyici sorgusunun komut satırı: {0}", "c_compiler_from_compiler_path": "\"compilerPath\" özelliğindeki C derleyicisinden varsayılan değerler alınmaya çalışılıyor: '{0}'", "cpp_compiler_from_compiler_path": "\"compilerPath\" özelliğindeki C++ derleyicisinden varsayılan değerler alınmaya çalışılıyor: '{0}'", "c_compiler_from_compile_commands": "compile_commands.json dosyasındaki C derleyicisinden varsayılan değerler alınmaya çalışılıyor: '{0}'", @@ -185,25 +185,25 @@ "cpp_std_version_changed": "C++ kaynak dosyaları için \"{0}\" olan cppStandard \"{1}\" olarak değiştirildi.", "c_intellisense_mode_and_std_version_changed": "C kaynak dosyaları için \"{0}\" olan IntelliSenseMode, \"{1}\" olarak ve \"{2}\" olan cStandard, \"{3}\" olarak değiştirildi.", "cpp_intellisense_mode_and_std_version_changed": "C++ kaynak dosyaları için \"{0}\" olan IntelliSenseMode, \"{1}\" olarak ve \"{2}\" olan cppStandard, \"{3}\" olarak değiştirildi.", - "c_intellisense_mode_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_intellisense_mode_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_std_version_changed_with_path": "For C source files, the cStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "cpp_std_version_changed_with_path": "For C++ source files, the cppStandard was changed from \"{0}\" to \"{1}\" based on compiler args and querying compilerPath: \"{2}\"", - "c_intellisense_mode_and_std_version_changed_with_path": "For C source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cStandard was changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", - "cpp_intellisense_mode_and_std_version_changed_with_path": "For C++ source files, IntelliSenseMode was changed from \"{0}\" to \"{1}\" and cppStandard changed from \"{2}\" to \"{3}\" based on compiler args and querying compilerPath: \"{4}\"", + "c_intellisense_mode_changed_with_path": "C kaynak dosyaları için derleyici bağımsız değişkenlerine ve sorgulama compilerPath'ine (\"{2}\") göre \"{0}\" olan IntelliSenseMode, \"{1}\" olarak değiştirildi", + "cpp_intellisense_mode_changed_with_path": "C++ kaynak dosyaları için derleyici bağımsız değişkenlerine ve sorgulama compilerPath'ine (\"{2}\") göre \"{0}\" olan IntelliSenseMode, \"{1}\" olarak değiştirildi", + "c_std_version_changed_with_path": "C kaynak dosyaları için derleyici bağımsız değişkenlerine ve sorgulama compilerPath'ine (\"{2}\") göre \"{0}\" olan cStandard, \"{1}\" olarak değiştirildi", + "cpp_std_version_changed_with_path": "C++ kaynak dosyaları için derleyici bağımsız değişkenlerine ve sorgulama compilerPath'ine (\"{2}\") göre \"{0}\" olan cppStandard, \"{1}\" olarak değiştirildi", + "c_intellisense_mode_and_std_version_changed_with_path": "C kaynak dosyaları için derleyici bağımsız değişkenlerine ve sorgulama compilerPath'ine (\"{4}\") göre \"{0}\" olan IntelliSenseMode, \"{1}\" olarak ve \"{2}\" olan cStandard, \"{3}\" olarak değiştirildi", + "cpp_intellisense_mode_and_std_version_changed_with_path": "C++ kaynak dosyaları için derleyici bağımsız değişkenlerine ve sorgulama compilerPath'ine (\"{4}\") göre \"{0}\" olan IntelliSenseMode, \"{1}\" olarak ve \"{2}\" olan cppStandard, \"{3}\" olarak değiştirildi", "compiler_path_changed": "\"{0}\" compilerPath ile yapılandırma çözümlenemiyor. Bunun yerine \"{1}\" kullanılıyor.", "compiler_path_invalid": "\"{0}\" compilerPath ile yapılandırma çözümlenemiyor", - "compiler_path_empty": "Skipping query of compiler due to explicitly empty compilerPath", + "compiler_path_empty": "Açıkça boş compilerPath nedeniyle derleyici sorgulaması atlanıyor", "msvc_intellisense_specified": "MSVC intelliSenseMode belirtildi. Derleyici cl.exe dosyası için yapılandırılıyor.", "unable_to_configure_cl_exe": "Derleyici cl.exe dosyası için yapılandırılamıyor.", - "querying_compiler_default_target": "Querying compiler's default target using command line: \"{0}\" {1}", + "querying_compiler_default_target": "Komut satırı kullanılarak derleyicinin varsayılan hedefi yoklanıyor: \"{0}\" {1}", "compiler_default_target": "Derleyici, varsayılan hedef değeri ({0}) döndürdü", - "c_querying_compiler_default_standard": "Querying compiler for default C language standard using command line: {0}", - "cpp_querying_compiler_default_standard": "Querying compiler for default C++ language standard using command line: {0}", + "c_querying_compiler_default_standard": "Komut satırı kullanılarak varsayılan C dili standardı için derleyici sorgulanıyor: {0}", + "cpp_querying_compiler_default_standard": "Komut satırı kullanılarak varsayılan C++ dili standardı için derleyici sorgulanıyor: {0}", "detected_language_standard_version": "Algılanan dil standart sürümü: {0}", "unhandled_default_target_detected": "İşlenmemiş varsayılan derleyici hedefi değeri saptandı: {0}", "unhandled_target_arg_detected": "İşlenmemiş hedef bağımsız değişken değeri algılandı: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense sunucusu kapatılıyor: {0}. Bellek kullanımı {1} MB olduğundan {2} MB sınırını aştı.", - "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Derleyici yoklaması, tanınmayan bir dil standardı sürümü döndürdü. Bunun yerine desteklenen en güncel sürüm kullanılacak." + "failed_to_query_for_standard_version": "Varsayılan standart sürümler için \"{0}\" yolundaki derleyici sorgulanamadı. Derleyici sorgulaması bu derleyici için devre dışı bırakıldı.", + "unrecognized_language_standard_version": "Derleyici sorgusu, tanınmayan bir dil standardı sürümü döndürdü. Bunun yerine desteklenen en güncel sürüm kullanılacak." } \ No newline at end of file From e5d08d2a9e8b3bf5da99256022021033eec73f96 Mon Sep 17 00:00:00 2001 From: guntern <45991091+guntern@users.noreply.github.com> Date: Tue, 17 Nov 2020 23:21:23 +0100 Subject: [PATCH 13/65] fixed problemmatcher regexp (#6490) * fixed problemmatcher regexp so that it should work with compilers not printing the column Co-authored-by: guntern --- Extension/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Extension/package.json b/Extension/package.json index 3d7a077711..cff72c03b0 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -105,7 +105,7 @@ "${workspaceFolder}" ], "pattern": { - "regexp": "^(.*):(\\d+):(\\d+):\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$", + "regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$", "file": 1, "line": 2, "column": 3, @@ -2677,4 +2677,4 @@ "integrity": "CF1A01AA75275F76800F6BC1D289F2066DCEBCD983376D344ABF6B03FDB8FEA0" } ] -} \ No newline at end of file +} From 55a9117ecf5787cc238b16506b2647a65cf41780 Mon Sep 17 00:00:00 2001 From: Colen Garoutte-Carson <49173979+Colengms@users.noreply.github.com> Date: Wed, 18 Nov 2020 12:54:16 -0800 Subject: [PATCH 14/65] Remove telemetry for remoteName (#6537) --- Extension/src/LanguageServer/extension.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index 75c7d843ef..b37ad6f8b9 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -276,9 +276,6 @@ function sendActivationTelemetry(): void { } machineIdPersistentState.Value = vscode.env.machineId; } - if (vscode.env.remoteName) { - activateEvent["remoteName"] = vscode.env.remoteName; - } telemetry.logLanguageServerEvent("Activate", activateEvent); } From ce3d3fa403b676dbe666cc6eec5ffbcb346817e3 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Thu, 19 Nov 2020 16:09:03 -0800 Subject: [PATCH 15/65] Fix build task bugs. (#6539) * Fix build task bugs. * Use VS Code's variable resolution. --- Extension/package.json | 2 +- .../src/Debugger/configurationProvider.ts | 8 +++-- .../LanguageServer/cppBuildTaskProvider.ts | 36 ++++++------------- 3 files changed, 17 insertions(+), 29 deletions(-) diff --git a/Extension/package.json b/Extension/package.json index cff72c03b0..76d5171f92 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -2,7 +2,7 @@ "name": "cpptools", "displayName": "C/C++", "description": "C/C++ IntelliSense, debugging, and code browsing.", - "version": "1.1.1-master", + "version": "1.1.3-master", "publisher": "ms-vscode", "icon": "LanguageCCPP_color_128x.png", "readme": "README.md", diff --git a/Extension/src/Debugger/configurationProvider.ts b/Extension/src/Debugger/configurationProvider.ts index 3142fe69da..a1e09cf090 100644 --- a/Extension/src/Debugger/configurationProvider.ts +++ b/Extension/src/Debugger/configurationProvider.ts @@ -150,12 +150,16 @@ class CppConfigurationProvider implements vscode.DebugConfigurationProvider { } // Filter out build tasks that don't match the currently selected debug configuration type. buildTasks = buildTasks.filter((task: CppBuildTask) => { + const command: string = task.definition.command as string; + if (!command) { + return false; + } if (defaultConfig.name.startsWith("(Windows) ")) { - if ((task.definition.command as string).includes("cl.exe")) { + if (command.includes("cl.exe")) { return true; } } else { - if (!(task.definition.command as string).includes("cl.exe")) { + if (!command.includes("cl.exe")) { return true; } } diff --git a/Extension/src/LanguageServer/cppBuildTaskProvider.ts b/Extension/src/LanguageServer/cppBuildTaskProvider.ts index 75d7d8a6cb..ddd829b6f8 100644 --- a/Extension/src/LanguageServer/cppBuildTaskProvider.ts +++ b/Extension/src/LanguageServer/cppBuildTaskProvider.ts @@ -4,7 +4,7 @@ * ------------------------------------------------------------------------------------------ */ import * as path from 'path'; import { - TaskDefinition, Task, TaskGroup, WorkspaceFolder, ShellExecution, Uri, workspace, + TaskDefinition, Task, TaskGroup, ShellExecution, Uri, workspace, TaskProvider, TaskScope, CustomExecution, ProcessExecution, TextEditor, Pseudoterminal, EventEmitter, Event, TerminalDimensions, window } from 'vscode'; import * as os from 'os'; @@ -185,9 +185,9 @@ export class CppBuildTaskProvider implements TaskProvider { const scope: TaskScope = TaskScope.Workspace; const task: CppBuildTask = new Task(definition, scope, definition.label, CppBuildTaskProvider.CppBuildSourceStr, - new CustomExecution(async (): Promise => + new CustomExecution(async (resolvedDefinition: TaskDefinition): Promise => // When the task is executed, this callback will run. Here, we setup for running the task. - new CustomBuildTaskTerminal(resolvedcompilerPath, definition ? definition.args : [], definition ? definition.options : undefined) + new CustomBuildTaskTerminal(resolvedcompilerPath, resolvedDefinition.args, resolvedDefinition.options) ), isCl ? '$msCompile' : '$gcc'); task.group = TaskGroup.Build; @@ -200,6 +200,9 @@ export class CppBuildTaskProvider implements TaskProvider { const rawJson: any = await this.getRawTasksJson(); const rawTasksJson: any = (!rawJson.tasks) ? new Array() : rawJson.tasks; const buildTasksJson: CppBuildTask[] = rawTasksJson.map((task: any) => { + if (!task.label) { + return null; + } const definition: CppBuildTaskDefinition = { type: task.type, label: task.label, @@ -211,7 +214,7 @@ export class CppBuildTaskProvider implements TaskProvider { cppBuildTask.detail = task.detail; return cppBuildTask; }); - return buildTasksJson; + return buildTasksJson.filter((task: CppBuildTask) => task !== null); } public async ensureBuildTaskExists(taskLabel: string): Promise { @@ -343,16 +346,16 @@ class CustomBuildTaskTerminal implements Pseudoterminal { private async doBuild(): Promise { // Do build. - let activeCommand: string = util.resolveVariables(this.command, this.AdditionalEnvironment); + let activeCommand: string = util.resolveVariables(this.command); this.args.forEach(value => { - let temp: string = util.resolveVariables(value, this.AdditionalEnvironment); + let temp: string = util.resolveVariables(value); if (temp && temp.includes(" ")) { temp = "\"" + temp + "\""; } activeCommand = activeCommand + " " + temp; }); if (this.options?.cwd) { - this.options.cwd = util.resolveVariables(this.options.cwd, this.AdditionalEnvironment); + this.options.cwd = util.resolveVariables(this.options.cwd); } const splitWriteEmitter = (lines: string | Buffer) => { @@ -382,23 +385,4 @@ class CustomBuildTaskTerminal implements Pseudoterminal { this.closeEmitter.fire(-1); } } - - private get AdditionalEnvironment(): { [key: string]: string | string[] } | undefined { - const editor: TextEditor | undefined = window.activeTextEditor; - if (!editor) { - return undefined; - } - const fileDir: WorkspaceFolder | undefined = workspace.getWorkspaceFolder(editor.document.uri); - if (!fileDir) { - window.showErrorMessage('This command is not yet available for single-file mode.'); - return undefined; - } - const file: string = editor.document.fileName; - return { - "file": file, - "fileDirname": path.parse(file).dir, - "fileBasenameNoExtension": path.parse(file).name, - "workspaceFolder": fileDir.uri.fsPath - }; - } } From aefe53cab18af318f545c85fc080bfd581947b57 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Fri, 20 Nov 2020 12:31:25 -0800 Subject: [PATCH 16/65] Update IntelliSense strings. (#6528) --- Extension/bin/messages/cs/messages.json | 8 +++++++- Extension/bin/messages/de/messages.json | 8 +++++++- Extension/bin/messages/es/messages.json | 8 +++++++- Extension/bin/messages/fr/messages.json | 8 +++++++- Extension/bin/messages/it/messages.json | 8 +++++++- Extension/bin/messages/ja/messages.json | 8 +++++++- Extension/bin/messages/ko/messages.json | 8 +++++++- Extension/bin/messages/pl/messages.json | 8 +++++++- Extension/bin/messages/pt-br/messages.json | 8 +++++++- Extension/bin/messages/ru/messages.json | 8 +++++++- Extension/bin/messages/tr/messages.json | 8 +++++++- Extension/bin/messages/zh-cn/messages.json | 8 +++++++- Extension/bin/messages/zh-tw/messages.json | 8 +++++++- 13 files changed, 91 insertions(+), 13 deletions(-) diff --git a/Extension/bin/messages/cs/messages.json b/Extension/bin/messages/cs/messages.json index 4740676931..8161e5edef 100644 --- a/Extension/bin/messages/cs/messages.json +++ b/Extension/bin/messages/cs/messages.json @@ -3351,5 +3351,11 @@ "nejde přečíst soubor modulu", "předdefinovaná funkce není k dispozici, protože typ char8_t se nepodporuje s aktuálními možnostmi", "možnost příkazového řádku --ms_await nejde zadat, pokud jsou povolené korutiny C++20", - "nestandardní použití explicitního konstruktoru %nod pro inicializaci výchozího agregačního elementu" + "nestandardní použití explicitního konstruktoru %nod pro inicializaci výchozího agregačního elementu", + "zdroj nebo cíl vnitřní funkce memcpy-like neukazuje na objekt", + "vnitřní funkce memcpy-like se pokouší o kopírování reprezentačně odlišných typů %t1 a %t2", + "vnitřní funkce memcpy-like se pokouší o kopírování netriviálně kopírovatelného typu %t", + "vnitřní funkce memcpy-like se pokouší o kopírování částečného objektu", + "vnitřní funkce memcpy-like se pokouší o kopírování hranice za polem", + "vnitřní funkce memcpy-like se pokouší o kopírování překrývajících se bajtových rozsahů (místo toho se použije odpovídající operace memmove)" ] \ No newline at end of file diff --git a/Extension/bin/messages/de/messages.json b/Extension/bin/messages/de/messages.json index 321105a91d..c15b811ca8 100644 --- a/Extension/bin/messages/de/messages.json +++ b/Extension/bin/messages/de/messages.json @@ -3351,5 +3351,11 @@ "Die Moduldatei kann nicht gelesen werden.", "Die integrierte Funktion ist nicht verfügbar, weil der char8_t-Typ mit den aktuellen Optionen nicht unterstützt wird.", "Die Befehlszeilenoption \"--ms_await\" kann nicht angegeben werden, wenn C++20-Coroutinen aktiviert sind.", - "Nicht standardmäßige Verwendung des expliziten Konstruktors \"%nod\" für die standardmäßige Aggregatelementinitialisierung" + "Nicht standardmäßige Verwendung des expliziten Konstruktors \"%nod\" für die standardmäßige Aggregatelementinitialisierung", + "Die Quelle oder das Ziel des memcpy-ähnlichen systeminternen Objekts verweist nicht auf ein Objekt.", + "Ein memcpy-ähnliches systeminternes Objekt versucht, die darstellerisch unterschiedlichen Typen %t1 und %t2 zu kopieren.", + "Ein memcpy-ähnliches systeminternes Objekt versucht, den nicht trivial kopierbaren Typ %t zu kopieren.", + "Ein memcpy-ähnliches systeminternes Objekt versucht, ein Teilobjekt zu kopieren.", + "Ein memcpy-ähnliches systeminternes Objekt versucht, einen Kopiervorgang über die Arraygrenze hinaus durchzuführen.", + "Ein memcpy-ähnliches systeminternes Objekt versucht, überlappende Bytebereiche (stattdessen mithilfe eines entsprechenden memmove-Vorgangs) zu kopieren." ] \ No newline at end of file diff --git a/Extension/bin/messages/es/messages.json b/Extension/bin/messages/es/messages.json index 2ae70b7b46..39c4139493 100644 --- a/Extension/bin/messages/es/messages.json +++ b/Extension/bin/messages/es/messages.json @@ -3351,5 +3351,11 @@ "no se puede leer el archivo de módulo", "la función integrada no está disponible porque no se admite el tipo char8_t con las opciones actuales", "no se puede especificar la opción de línea de comandos --ms_await si están habilitadas las corrutinas de C++ 20", - "uso no estándar de %nod de constructor explícito para la inicialización predeterminada del elemento de agregado" + "uso no estándar de %nod de constructor explícito para la inicialización predeterminada del elemento de agregado", + "el origen o el destino del intento intrínseco de tipo memcpy no apunta a un objeto", + "intentos intrínsecos de tipo memcpy para copiar los tipos %t1 y %t2 diferentes de forma representativa", + "intentos intrínsecos de tipo memcpy para copiar el tipo %t que no se puede copiar de forma trivial", + "intentos intrínsecos de tipo memcpy para copiar el objeto parcial", + "intentos intrínsecos de tipo memcpy para copiar más allá del límite de matriz", + "intentos intrínsecos de tipo memcpy para copiar los intervalos de bytes solapados (con la operación memmove correspondiente en su lugar)" ] \ No newline at end of file diff --git a/Extension/bin/messages/fr/messages.json b/Extension/bin/messages/fr/messages.json index 160640c3bc..666f41cc19 100644 --- a/Extension/bin/messages/fr/messages.json +++ b/Extension/bin/messages/fr/messages.json @@ -3351,5 +3351,11 @@ "impossible de lire le fichier de module", "la fonction intégrée n'est pas disponible, car le type char8_t n'est pas pris en charge avec les options actuelles", "l'option de ligne de commande --ms_await ne peut pas être spécifiée si les coroutines C++20 sont activées", - "utilisation non standard du constructeur explicite %nod pour l'initialisation de l'élément d'agrégation par défaut" + "utilisation non standard du constructeur explicite %nod pour l'initialisation de l'élément d'agrégation par défaut", + "la source ou la destination de l'intrinsèque de type memcpy ne pointe pas vers un objet", + "l'intrinsèque de type memcpy tente de copier les types représentatifs distincts %t1 et %t2", + "l'intrinsèque de type memcpy tente de copier le type non trivialement copiable %t", + "l'intrinsèque de type memcpy tente de copier un objet partiel", + "l'intrinsèque de type memcpy tente de copier au-delà de la limite du tableau", + "l'intrinsèque de type memcpy tente de copier des plages d'octets qui se chevauchent (en utilisant plutôt l'opération memmove correspondante)" ] \ No newline at end of file diff --git a/Extension/bin/messages/it/messages.json b/Extension/bin/messages/it/messages.json index 35dbae6421..9e51b50a85 100644 --- a/Extension/bin/messages/it/messages.json +++ b/Extension/bin/messages/it/messages.json @@ -3351,5 +3351,11 @@ "non è possibile leggere il file del modulo", "la funzione predefinita non è disponibile perché il tipo char8_t non è supportato con le opzioni correnti", "non è possibile specificare l'opzione della riga di comando --ms_await se le coroutine di C++20 sono abilitate", - "uso non standard del costruttore esplicito %nod per l'inizializzazione dell'elemento di aggregazione predefinito" + "uso non standard del costruttore esplicito %nod per l'inizializzazione dell'elemento di aggregazione predefinito", + "l'origine o la destinazione dell'intrinseco simile a memcpy non punta a un oggetto", + "l'intrinseco simile a memcpy prova a copiare i tipi distinti dal punto di vista della rappresentazione %t1 e %t2", + "l'intrinseco simile a memcpy prova a copiare il tipo non facilmente copiabile %t", + "l'intrinseco simile a memcpy prova a copiare l'oggetto parziale", + "l'intrinseco simile a memcpy prova a copiare oltre il limite della matrice", + "l'intrinseco simile a memcpy prova a copiare intervalli di byte sovrapposti (usando invece l'operazione memmove corrispondente)" ] \ No newline at end of file diff --git a/Extension/bin/messages/ja/messages.json b/Extension/bin/messages/ja/messages.json index 7aff9fdd55..44d94fa205 100644 --- a/Extension/bin/messages/ja/messages.json +++ b/Extension/bin/messages/ja/messages.json @@ -3351,5 +3351,11 @@ "モジュール ファイルを読み取れません", "現在のオプションで char8_t 型がサポートされていないので、ビルトイン関数を使用できません", "--ms_await コマンド ライン オプションは、C++20 コルーチンが有効になっている場合は指定できません", - "既定の集約要素の初期化における明示的なコンストラクター %nod の非標準的な使用" + "既定の集約要素の初期化における明示的なコンストラクター %nod の非標準的な使用", + "memcpy に似た組み込み関数のソースやターゲットでオブジェクトが指定されていません", + "memcpy に似た組み込み関数により、表現上個別の型である %t1 と %t2 のコピーが試行されます", + "memcpy に似た組み込み関数により、普通にコピーすることができない型 %t のコピーが試行されます", + "memcpy に似た組み込み関数により、部分的なオブジェクトのコピーが試行されます", + "memcpy に似た組み込み関数により、配列の境界を越えたコピーが試行されます", + "memcpy に似た組み込み関数により、重複しているバイト範囲のコピーが (対応する memmove 操作を代わりに使用して) 試行されます" ] \ No newline at end of file diff --git a/Extension/bin/messages/ko/messages.json b/Extension/bin/messages/ko/messages.json index 74d5fe9b89..e2401c675b 100644 --- a/Extension/bin/messages/ko/messages.json +++ b/Extension/bin/messages/ko/messages.json @@ -3351,5 +3351,11 @@ "모듈 파일을 읽을 수 없음", "char8_t 형식이 현재 옵션에서 지원되지 않기 때문에 기본 제공 함수를 사용할 수 없습니다.", "C++20 코루틴을 사용하도록 설정한 경우 --ms_await 명령줄 옵션을 지정할 수 없습니다.", - "기본 집계 요소 초기화에 명시적 생성자 %nod의 비표준 사용" + "기본 집계 요소 초기화에 명시적 생성자 %nod의 비표준 사용", + "memcpy 유사 내장의 소스 또는 대상이 개체를 가리키지 않음", + "memcpy 유사 내장이 대표적으로 차별화된 형식 %t1 및 %t2을(를) 복사하려고 시도함", + "memcpy 유사 내장이 중요하게 복사 가능한 형식 %t을(를) 복사하려고 시도함", + "memcpy 유사 내장이 부분 개체를 복사하려고 시도함", + "memcpy 유사 내장이 과거 배열 경계를 복사하려고 시도함", + "memcpy 유사 내장이 겹치는 바이트 범위를 복사하려고 시도함(대신 해당 memmove 작업 사용)" ] \ No newline at end of file diff --git a/Extension/bin/messages/pl/messages.json b/Extension/bin/messages/pl/messages.json index 33a17e5e7f..3a5b40fa6b 100644 --- a/Extension/bin/messages/pl/messages.json +++ b/Extension/bin/messages/pl/messages.json @@ -3351,5 +3351,11 @@ "nie można odczytać pliku modułu", "wbudowana funkcja jest niedostępna, ponieważ typ char8_t nie jest obsługiwany z bieżącymi opcjami", "nie można określić opcji wiersza polecenia --ms_await, jeśli włączono koprocedury języka C++20", - "niestandardowe użycie konstruktora jawnego %nod dla domyślnej inicjalizacji elementu agregacji" + "niestandardowe użycie konstruktora jawnego %nod dla domyślnej inicjalizacji elementu agregacji", + "element źródłowy lub docelowy funkcji wewnętrznej podobnej do memcpy nie wskazuje obiektu", + "Funkcja wewnętrzna podobna do memcpy próbuje skopiować reprezentacyjnie odrębne typy %t1 i %t2", + "Funkcja wewnętrzna podobna do memcpy próbuje skopiować typ %t, którego nie można skopiować w sposób trywialny", + "Funkcja wewnętrzna podobna do memcpy próbuje skopiować częściowy obiekt", + "Funkcja wewnętrzna podobna do memcpy próbuje skopiować dane spoza granicy tablicy", + "Funkcja wewnętrzna podobna do memcpy próbuje skopiować nakładające się na siebie zakresy bajtów (zamiast tego zostanie użyta odpowiednia operacja memmove)" ] \ No newline at end of file diff --git a/Extension/bin/messages/pt-br/messages.json b/Extension/bin/messages/pt-br/messages.json index 0e3910cc76..0bbbb51f73 100644 --- a/Extension/bin/messages/pt-br/messages.json +++ b/Extension/bin/messages/pt-br/messages.json @@ -3351,5 +3351,11 @@ "não é possível ler o arquivo de módulo", "a função interna não está disponível porque não há suporte para o tipo char8_t com as opções atuais", "a opção da linha de comando --ms_await não poderá ser especificada se as corrotinas do C++20 estiverem habilitadas", - "o uso não padrão do construtor explícito %nod para inicialização do elemento de agregação padrão" + "o uso não padrão do construtor explícito %nod para inicialização do elemento de agregação padrão", + "a origem ou o destino do intrínseco similar a memcpy não aponta para um objeto", + "tentativas intrínsecas similares a memcpy de copiar tipos representacionalmente distintos %t1 e %t2", + "tentativas intrínsecas similares a memcpy de copiar o tipo não trivialmente copiável %t", + "tentativas intrínsecas similares a memcpy de copiar objetos parciais", + "tentativas intrínsecas similares a memcpy de copiar o limite de matriz passado", + "tentativas intrínsecas similares a memcpy de copiar intervalos de bytes sobrepostos (usando a operação de memmove correspondente, em vez disso)" ] \ No newline at end of file diff --git a/Extension/bin/messages/ru/messages.json b/Extension/bin/messages/ru/messages.json index 551df4f4ff..f449713055 100644 --- a/Extension/bin/messages/ru/messages.json +++ b/Extension/bin/messages/ru/messages.json @@ -3351,5 +3351,11 @@ "не удалось прочитать файл модуля", "встроенная функция недоступна, так как тип char8_t не поддерживается с текущими параметрами.", "невозможно указать параметр командной строки --ms_await, если включены сопрограммы C++20.", - "нестандартное использование явного конструктора %nod для агрегатной инициализации элементов по умолчанию." + "нестандартное использование явного конструктора %nod для агрегатной инициализации элементов по умолчанию.", + "источник или назначение встроенной функции, похожей на memcpy, не указывает на объект", + "Встроенная функция, похожая на memcpy, пытается скопировать различные с точки зрения представления типы %t1 и %t2", + "Встроенная функция, похожая на memcpy, пытается скопировать нетривиально копируемый тип %t", + "Встроенная функция, похожая на memcpy, пытается скопировать частичный объект", + "Встроенная функция, похожая на memcpy, пытается выполнить копирование за границей массива", + "Встроенная функция, похожая на memcpy, пытается скопировать перекрывающиеся диапазоны байтов (вместо использования соответствующей операции memmove)" ] \ No newline at end of file diff --git a/Extension/bin/messages/tr/messages.json b/Extension/bin/messages/tr/messages.json index 0d15befd21..51c6121167 100644 --- a/Extension/bin/messages/tr/messages.json +++ b/Extension/bin/messages/tr/messages.json @@ -3351,5 +3351,11 @@ "modül dosyası okunamıyor", "char8_t türü geçerli seçeneklerle desteklenmediği için yerleşik işlev kullanılamıyor", "C++20 eş yordamları etkinleştirilirse --ms_await komut satırı seçeneği belirtilemez", - "varsayılan toplama öğesi başlatma için açık oluşturucu %nod için standart olmayan kullanım" + "varsayılan toplama öğesi başlatma için açık oluşturucu %nod için standart olmayan kullanım", + "memcpy benzeri iç öğenin kaynağı veya hedefi bir nesneye işaret etmiyor", + "memcpy benzeri iç öğe, temsili olarak farklı %t1 ve %t2 türlerini kopyalamaya çalışıyor", + "memcpy benzeri iç öğe, önemsiz olarak kopyalanabilir %t türünü kopyalamaya çalışıyor", + "memcpy benzeri iç öğe, kısmi nesneyi kopyalamaya çalışıyor", + "memcpy benzeri iç öğe, geçmiş dizi sınırını kopyalamaya çalışıyor", + "memcpy benzeri iç öğe, çakışan bayt aralıklarını kopyalamaya çalışıyor (bunun yerine karşılık gelen memmove işlemini kullanarak)" ] \ No newline at end of file diff --git a/Extension/bin/messages/zh-cn/messages.json b/Extension/bin/messages/zh-cn/messages.json index aca68a48aa..27c7931c5e 100644 --- a/Extension/bin/messages/zh-cn/messages.json +++ b/Extension/bin/messages/zh-cn/messages.json @@ -3351,5 +3351,11 @@ "无法读取模块文件", "内置函数不可用,因为当前选项不支持 char8_t 类型", "如果启用了 C++20 协同程序,则无法指定 --ms_await 命令行选项", - "对默认聚合元素初始化使用显式构造函数 %nod 不是标准做法" + "对默认聚合元素初始化使用显式构造函数 %nod 不是标准做法", + "与 memcpy 类似的固有项的源或目标不指向对象", + "与 memcpy 类似的固有项尝试复制在表达上不同的类型 %t1 和 %t2", + "与 memcpy 类似的固有项尝试复制非平凡可复制类型 %t", + "与 memcpy 类似的固有项尝试复制部分对象", + "与 memcpy 类似的固有项尝试复制过去的数组边界", + "与 memcpy 类似的固有项尝试复制重叠的字节范围(改为使用相应的 memmove 操作)" ] \ No newline at end of file diff --git a/Extension/bin/messages/zh-tw/messages.json b/Extension/bin/messages/zh-tw/messages.json index de1ce29179..e5f615c969 100644 --- a/Extension/bin/messages/zh-tw/messages.json +++ b/Extension/bin/messages/zh-tw/messages.json @@ -3351,5 +3351,11 @@ "無法讀取模組檔案", "因為目前的選項不支援 char8_t 類型,所以無法使用內建函式", "如果啟用 C++ 20 協同程式,就不能指定 --ms_await 命令列選項", - "非標準地使用明確的建構函式 %nod 進行預設彙總元素初始化" + "非標準地使用明確的建構函式 %nod 進行預設彙總元素初始化", + "內建類 memcpy 的來源或目的地未指向物件", + "內建類 memcpy 嘗試複製具象相異類型 %t1 與 %t2", + "內建類 memcpy 嘗試複製非一般可複製類型 %t", + "內建類 memcpy 嘗試複製部分物件", + "內建類 memcpy 嘗試複製過去陣列邊界", + "內建類 memcpy 嘗試複製重疊位元組範圍 (改用對應的 memmove 作業)" ] \ No newline at end of file From 4c2124ebf4d67acaf646711b01a1a40230e37a15 Mon Sep 17 00:00:00 2001 From: Elaheh Rashedi Date: Wed, 25 Nov 2020 15:13:31 -0800 Subject: [PATCH 17/65] Add localization to strings in LanguageServer\cppBuildTaskProvider.ts (#6544) * localizing for task provider * localize single_file_mode_not_available * remove end of line from localalized string * modify error(s) * remove space from localized string * remove space from localized string --- Extension/src/Debugger/extension.ts | 2 +- .../src/LanguageServer/cppBuildTaskProvider.ts | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Extension/src/Debugger/extension.ts b/Extension/src/Debugger/extension.ts index 2b525a722b..012c1d2563 100644 --- a/Extension/src/Debugger/extension.ts +++ b/Extension/src/Debugger/extension.ts @@ -50,7 +50,7 @@ export function initialize(context: vscode.ExtensionContext): void { // Not enabled because we do not react to single-file mode correctly yet. // We get an ENOENT when the user's c_cpp_properties.json is attempted to be parsed. // The DefaultClient will also have its configuration accessed, but since it doesn't exist it errors out. - vscode.window.showErrorMessage('This command is not yet available for single-file mode.'); + vscode.window.showErrorMessage(localize("single_file_mode_not_available", "This command is not available for single-file mode.")); return Promise.resolve(); } diff --git a/Extension/src/LanguageServer/cppBuildTaskProvider.ts b/Extension/src/LanguageServer/cppBuildTaskProvider.ts index ddd829b6f8..ba33c607b0 100644 --- a/Extension/src/LanguageServer/cppBuildTaskProvider.ts +++ b/Extension/src/LanguageServer/cppBuildTaskProvider.ts @@ -15,6 +15,10 @@ import * as configs from './configurations'; import * as ext from './extension'; import * as cp from "child_process"; import { OtherSettings } from './settings'; +import * as nls from 'vscode-nls'; + +nls.config({ messageFormat: nls.MessageFormat.bundle, bundleFormat: nls.BundleFormat.standalone })(); +const localize: nls.LocalizeFunc = nls.loadMessageBundle(); export interface CppBuildTaskDefinition extends TaskDefinition { type: string; @@ -156,7 +160,7 @@ export class CppBuildTaskProvider implements TaskProvider { if (!definition) { const taskLabel: string = ((appendSourceToName && !compilerPathBase.startsWith(CppBuildTaskProvider.CppBuildSourceStr)) ? - CppBuildTaskProvider.CppBuildSourceStr + ": " : "") + compilerPathBase + " build active file"; + CppBuildTaskProvider.CppBuildSourceStr + ": " : "") + compilerPathBase + " " + localize("build_active_file", "build active file"); const filePath: string = path.join('${fileDirname}', '${fileBasenameNoExtension}'); const isWindows: boolean = os.platform() === 'win32'; let args: string[] = isCl ? ['/Zi', '/EHsc', '/Fe:', filePath + '.exe', '${file}'] : ['-g', '${file}', '-o', filePath + (isWindows ? '.exe' : '')]; @@ -191,7 +195,7 @@ export class CppBuildTaskProvider implements TaskProvider { ), isCl ? '$msCompile' : '$gcc'); task.group = TaskGroup.Build; - task.detail = detail ? detail : "compiler: " + resolvedcompilerPath; + task.detail = detail ? detail : localize("compiler_details", "compiler:") + " " + resolvedcompilerPath; return task; }; @@ -255,7 +259,7 @@ export class CppBuildTaskProvider implements TaskProvider { ...selectedTask.definition, problemMatcher: selectedTask.problemMatchers, group: { kind: "build", "isDefault": true }, - detail: "Generated task by Debugger" + detail: localize("task_generated_by_debugger", "Task generated by Debugger.") }; rawTasksJson.tasks.push(newTask); } @@ -336,7 +340,7 @@ class CustomBuildTaskTerminal implements Pseudoterminal { async open(_initialDimensions: TerminalDimensions | undefined): Promise { telemetry.logLanguageServerEvent("cppBuildTaskStarted"); // At this point we can start using the terminal. - this.writeEmitter.fire(`Starting build...${this.endOfLine}`); + this.writeEmitter.fire(localize("starting_build", "Starting build...") + this.endOfLine); await this.doBuild(); } @@ -369,13 +373,13 @@ class CustomBuildTaskTerminal implements Pseudoterminal { if (_error) { telemetry.logLanguageServerEvent("cppBuildTaskError"); const dot: string = (stdout || _stderr) ? ":" : "."; - this.writeEmitter.fire(`Build finished with error${dot}${this.endOfLine}`); + this.writeEmitter.fire(localize("build_finished_with_error", "Build finished with error(s)") + dot + this.endOfLine); splitWriteEmitter(stdout); splitWriteEmitter(_stderr); resolve(-1); } else { splitWriteEmitter(stdout); - this.writeEmitter.fire(`Build finished successfully.${this.endOfLine}`); + this.writeEmitter.fire(localize("build_finished_successfully", "Build finished successfully.") + this.endOfLine); resolve(0); } }); From a6c7ffd8f57c6870a115bd45fad7df880373813c Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Wed, 25 Nov 2020 20:30:57 -0800 Subject: [PATCH 18/65] Update a loc string. (#6577) --- Extension/bin/messages/cs/messages.json | 2 +- Extension/bin/messages/de/messages.json | 2 +- Extension/bin/messages/es/messages.json | 2 +- Extension/bin/messages/fr/messages.json | 2 +- Extension/bin/messages/it/messages.json | 2 +- Extension/bin/messages/ja/messages.json | 2 +- Extension/bin/messages/ko/messages.json | 2 +- Extension/bin/messages/pl/messages.json | 2 +- Extension/bin/messages/pt-br/messages.json | 2 +- Extension/bin/messages/ru/messages.json | 2 +- Extension/bin/messages/tr/messages.json | 2 +- Extension/bin/messages/zh-cn/messages.json | 4 ++-- Extension/bin/messages/zh-tw/messages.json | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Extension/bin/messages/cs/messages.json b/Extension/bin/messages/cs/messages.json index 8161e5edef..2bac4e98c6 100644 --- a/Extension/bin/messages/cs/messages.json +++ b/Extension/bin/messages/cs/messages.json @@ -3300,7 +3300,7 @@ "Neplatné použití konceptu", "Výchozí operátor porovnání členů nemůže být kvalifikovaný jako &&.", "Výchozí funkce pro porovnání constexpr volá funkci %nd, která constexpr není.", - "Porovnání paměti constexpr se podporuje jen pro celé číslo nejvyšší úrovně nebo objekty polí celých čísel.", + "Porovnání paměti constexpr se podporuje jen pro celé číslo nebo objekty polí celých čísel.", "Šablona konceptu nemůže mít přidružená omezení.", "export se nepovoluje.", "Export jednotlivých členů třídy se nepodporuje.", diff --git a/Extension/bin/messages/de/messages.json b/Extension/bin/messages/de/messages.json index c15b811ca8..17551edb5c 100644 --- a/Extension/bin/messages/de/messages.json +++ b/Extension/bin/messages/de/messages.json @@ -3300,7 +3300,7 @@ "Ungültige Verwendung von \"concept\".", "Ein standardmäßiger Membervergleichsoperator kann nicht &&-qualifiziert sein.", "Die constexpr-Standardvergleichsfunktion ruft die Nicht-constexpr-Funktion \"%nd\" auf.", - "Der constexpr-Speichervergleich wird nur für integer-Objekte oder array-of-integer-Objekte oberster Ebene unterstützt.", + "Der constexpr-Speichervergleich wird nur für integer-Objekte oder array-of-integer-Objekte unterstützt.", "Einer Konzeptvorlage können keine Einschränkungen zugeordnet sein.", "\"export\" ist nicht zulässig.", "Das Exportieren einzelner Klassenmember ist nicht zulässig.", diff --git a/Extension/bin/messages/es/messages.json b/Extension/bin/messages/es/messages.json index 39c4139493..e0c6a02075 100644 --- a/Extension/bin/messages/es/messages.json +++ b/Extension/bin/messages/es/messages.json @@ -3300,7 +3300,7 @@ "uso no válido del concepto", "un operador de comparación de miembros con valores predeterminados no puede estar calificado con \"&&\"", "la función de comparación constexpr predeterminada llama a una función %nd que no es constexpr", - "la comparación de memoria de constexpr solo se admite para objetos de matriz de enteros o enteros de nivel superior", + "la comparación de memoria de constexpr solo se admite para objetos de matriz de enteros o enteros", "una plantilla de concepto no puede tener restricciones asociadas", "no se permite \"export\"", "no se permite la exportación de miembros de clases individuales", diff --git a/Extension/bin/messages/fr/messages.json b/Extension/bin/messages/fr/messages.json index 666f41cc19..1e679e6fa9 100644 --- a/Extension/bin/messages/fr/messages.json +++ b/Extension/bin/messages/fr/messages.json @@ -3300,7 +3300,7 @@ "utilisation non valide du concept", "un opérateur de comparaison de membres par défaut ne peut pas être qualifié en tant que '&&'", "la fonction de comparaison constexpr par défaut appelle la fonction non constexpr %nd", - "la comparaison de mémoire constexpr est prise en charge uniquement pour les objets d'entiers de niveau supérieur ou les objets de tableaux d'entiers", + "la comparaison de mémoire constexpr est prise en charge uniquement pour les objets d'entiers ou les objets de tableaux d'entiers", "un modèle de concept ne peut pas avoir de contraintes associées", "'export' n'est pas autorisé", "l'exportation de membres de classe individuels n'est pas autorisée", diff --git a/Extension/bin/messages/it/messages.json b/Extension/bin/messages/it/messages.json index 9e51b50a85..c405f3928b 100644 --- a/Extension/bin/messages/it/messages.json +++ b/Extension/bin/messages/it/messages.json @@ -3300,7 +3300,7 @@ "uso del concetto non valido", "un operatore di confronto membri impostato come predefinito non può essere qualificato con '&&'", "la funzione di confronto constexpr predefinita chiama la funzione non constexpr %nd", - "il confronto di memoria constexpr è supportato solo per gli oggetti intero o matrice di intero di primo livello", + "il confronto di memoria constexpr è supportato solo per gli oggetti intero o matrice di interi", "un modello di concetto non può avere vincoli associati", "'export' non è consentito", "l'esportazione di singoli membri di classe non è consentita", diff --git a/Extension/bin/messages/ja/messages.json b/Extension/bin/messages/ja/messages.json index 44d94fa205..50fde9df0c 100644 --- a/Extension/bin/messages/ja/messages.json +++ b/Extension/bin/messages/ja/messages.json @@ -3300,7 +3300,7 @@ "概念が正しく使用されていません", "既定のメンバー比較演算子を '&&' で修飾することはできません", "既定の constexpr 比較関数は、constexpr ではない関数 %nd を呼び出します", - "constexpr のメモリ比較は、トップレベルの整数または整数の配列オブジェクトでのみサポートされています", + "constexpr のメモリ比較は、整数または整数の配列オブジェクトでのみサポートされています", "概念テンプレートに関連する制約を持たせることはできません", "[エクスポート] は許可されていません", "個別のクラス メンバーのエクスポートは許可されていません", diff --git a/Extension/bin/messages/ko/messages.json b/Extension/bin/messages/ko/messages.json index e2401c675b..0867b48783 100644 --- a/Extension/bin/messages/ko/messages.json +++ b/Extension/bin/messages/ko/messages.json @@ -3300,7 +3300,7 @@ "잘못된 개념 사용", "기본 멤버 비교 연산자는 '&&'-qualified일 수 없습니다.", "기본 constexpr 비교 함수에서 비 constexpr 함수 %nd 호출", - "constexpr 메모리 비교는 최상위 정수 또는 정수 배열 개체에 대해서만 지원됩니다.", + "constexpr 메모리 비교는 정수 또는 정수 배열 개체에 대해서만 지원됩니다.", "개념 템플릿에는 관련된 제약 조건이 있을 수 없습니다.", "'export'는 허용되지 않습니다.", "개별 클래스 멤버를 내보낼 수 없습니다.", diff --git a/Extension/bin/messages/pl/messages.json b/Extension/bin/messages/pl/messages.json index 3a5b40fa6b..413a6b93d5 100644 --- a/Extension/bin/messages/pl/messages.json +++ b/Extension/bin/messages/pl/messages.json @@ -3300,7 +3300,7 @@ "nieprawidłowe użycie koncepcji", "domyślny operator porównania elementu członkowskiego nie może być kwalifikowany przez element „&&”", "domyślna funkcja porównywania constexpr wywołuje funkcję non-constexpr %nd", - "Porównywanie pamięci constexpr jest obsługiwane tylko w przypadku obiektów najwyższego poziomu w postaci liczby całkowitej lub obiektów typu tablica liczb całkowitych", + "Porównywanie pamięci constexpr jest obsługiwane tylko w przypadku obiektów będących liczbami całkowitymi lub tablicami liczb całkowitych", "z szablonem koncepcji nie mogą być skojarzone ograniczenia", "Polecenie „export” jest niedozwolone", "eksportowanie pojedynczych elementów członkowskich klasy jest niedozwolone", diff --git a/Extension/bin/messages/pt-br/messages.json b/Extension/bin/messages/pt-br/messages.json index 0bbbb51f73..6bb89bdb94 100644 --- a/Extension/bin/messages/pt-br/messages.json +++ b/Extension/bin/messages/pt-br/messages.json @@ -3300,7 +3300,7 @@ "uso inválido do conceito", "um operador de comparação de membros usado como padrão não pode ser qualificado por '&&'", "a função de comparação constexpr padrão chama a função não constexpr %nd", - "só há suporte para a comparação de memória constexpr para os objetos inteiros de nível superior ou matriz de inteiro", + "Só há suporte para a comparação de memória constexpr para os objetos inteiros ou matriz de inteiro", "um modelo de conceito não pode ter restrições associadas", "'export' não é permitido", "a exportação de membros de classe individuais não é permitida", diff --git a/Extension/bin/messages/ru/messages.json b/Extension/bin/messages/ru/messages.json index f449713055..94cdf31360 100644 --- a/Extension/bin/messages/ru/messages.json +++ b/Extension/bin/messages/ru/messages.json @@ -3300,7 +3300,7 @@ "недопустимое использование концепции", "оператор сравнения элемента по умолчанию не может быть квалифицирован как \"&&\"", "функция сравнения constexpr по умолчанию вызывает функцию %nd, не являющуюся constexpr", - "Сравнение памяти с помощью constexpr поддерживается только для целочисленных объектов верхнего уровня или массивов целых чисел", + "сравнение памяти с помощью constexpr поддерживается только для целых чисел и для массивов целых чисел", "шаблон концепции не может иметь связанные ограничения", "использование \"export\" запрещено", "экспорт отдельных членов класса запрещен", diff --git a/Extension/bin/messages/tr/messages.json b/Extension/bin/messages/tr/messages.json index 51c6121167..6116992626 100644 --- a/Extension/bin/messages/tr/messages.json +++ b/Extension/bin/messages/tr/messages.json @@ -3300,7 +3300,7 @@ "kavram kullanımı geçersiz", "varsayılan olarak ayarlanan üye karşılaştırma işleci tam '&&' ile nitelenemez", "varsayılan constexpr karşılaştırma işlevi constexpr olmayan %nd işlevini çağırıyor", - "constexpr bellek karşılaştırması yalnızca üst düzey tamsayı veya tamsayı dizisi nesneleri için desteklenir", + "constexpr bellek karşılaştırması yalnızca tamsayı veya tamsayı dizisi nesneleri için desteklenir", "kavram şablonunda ilişkili kısıtlamalar olamaz", "'export'a izin verilmiyor", "sınıf üyelerini tek tek dışarı aktarmaya izin verilmiyor", diff --git a/Extension/bin/messages/zh-cn/messages.json b/Extension/bin/messages/zh-cn/messages.json index 27c7931c5e..5a36468e0a 100644 --- a/Extension/bin/messages/zh-cn/messages.json +++ b/Extension/bin/messages/zh-cn/messages.json @@ -2790,7 +2790,7 @@ "矢量元素类型必须是整型、枚举或真浮点类型", "内置函数无法使用,因为不支持 128 位整数", "内置函数无法使用,因为不支持矢量类型", - "两个连续的左方括号始终引入一个属性列表,但此处不能出现属性列表", + "两个连续的左方括号必然会引入一个属性列表,但此处不能出现属性列表", "无法识别的 \"target\" 特性将使解析程序例程无法使用此例程", "%t 不是矢量类型", "适量类型 %t1 和 %t2 长度必须相同", @@ -3300,7 +3300,7 @@ "概念的使用无效", "默认成员比较运算符不能是 \"&&\" 限定", "默认的 constexpr 比较函数会调用非 constexpr 函数 %nd", - "只有顶级整数或数组整数对象支持 constexpr 内存比较", + "只有整数或数组整数对象支持 constexpr 内存比较", "概念模板不能具有关联约束", "不允许使用 \"export\"", "不允许导出单个类成员", diff --git a/Extension/bin/messages/zh-tw/messages.json b/Extension/bin/messages/zh-tw/messages.json index e5f615c969..af50586f57 100644 --- a/Extension/bin/messages/zh-tw/messages.json +++ b/Extension/bin/messages/zh-tw/messages.json @@ -3300,7 +3300,7 @@ "概念使用無效", "預設的成員比較運算子不可限定為 '&&'", "預設 constexpr 比較函式會呼叫非 constexpr 函式 %nd", - "只有最上層整數或整數陣列物件支援 constexpr 記憶體比較", + "只有整數或整數陣列物件支援 constexpr 記憶體比較", "概念範本不能具有已建立關聯的條件約束", "不允許 'export'", "不允許匯出個別類別成員", From bb910aa280cab2061353e333b194350d673e87f6 Mon Sep 17 00:00:00 2001 From: Xiangyi Meng Date: Tue, 1 Dec 2020 20:17:23 +0800 Subject: [PATCH 19/65] Add support to Apple Silicon --- Extension/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/src/main.ts b/Extension/src/main.ts index 346d219ec4..384b9b4dfb 100644 --- a/Extension/src/main.ts +++ b/Extension/src/main.ts @@ -36,7 +36,7 @@ const disposables: vscode.Disposable[] = []; export async function activate(context: vscode.ExtensionContext): Promise { let errMsg: string = ""; const arch: string = os.arch(); - if (arch !== 'x64' && (process.platform !== 'win32' || (arch !== 'ia32' && arch !== 'arm64')) && (process.platform !== 'linux' || (arch !== 'x64' && arch !== 'arm' && arch !== 'arm64'))) { + if (arch !== 'x64' && (process.platform !== 'win32' || (arch !== 'ia32' && arch !== 'arm64')) && (process.platform !== 'linux' || (arch !== 'x64' && arch !== 'arm' && arch !== 'arm64')) && (process.platform !== 'darwin' || arch !== 'arm64')) { errMsg = localize("architecture.not.supported", "Architecture {0} is not supported. ", String(arch)); } else if (process.platform === 'linux' && fs.existsSync('/etc/alpine-release')) { errMsg = localize("apline.containers.not.supported", "Alpine containers are not supported."); From 61e98c0e0db26c25f7030d55fd449aeebe6a339c Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 1 Dec 2020 14:22:59 -0800 Subject: [PATCH 20/65] Fix cppbuild task warnings. (#6557) * Fix cppbuild task warnings: https://github.com/microsoft/vscode-cpptools/issues/6556 --- .../LanguageServer/cppBuildTaskProvider.ts | 30 +++++++++++++++---- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/Extension/src/LanguageServer/cppBuildTaskProvider.ts b/Extension/src/LanguageServer/cppBuildTaskProvider.ts index ba33c607b0..78b250a555 100644 --- a/Extension/src/LanguageServer/cppBuildTaskProvider.ts +++ b/Extension/src/LanguageServer/cppBuildTaskProvider.ts @@ -370,16 +370,34 @@ class CustomBuildTaskTerminal implements Pseudoterminal { try { const result: number = await new Promise((resolve, reject) => { cp.exec(activeCommand, this.options, (_error, stdout, _stderr) => { + const dot: string = (stdout || _stderr) ? ":" : "."; if (_error) { telemetry.logLanguageServerEvent("cppBuildTaskError"); - const dot: string = (stdout || _stderr) ? ":" : "."; - this.writeEmitter.fire(localize("build_finished_with_error", "Build finished with error(s)") + dot + this.endOfLine); - splitWriteEmitter(stdout); - splitWriteEmitter(_stderr); + this.writeEmitter.fire(localize("build_finished_with_error", "Build finished with errors(s)") + dot + this.endOfLine); + if (stdout) { + splitWriteEmitter(stdout); // cl.exe + } else if (_stderr) { + splitWriteEmitter(_stderr); // gcc/clang + } else { + splitWriteEmitter(_error.message); // e.g. command executable not found + } resolve(-1); - } else { + return; + } else if (_stderr && !stdout) { // gcc/clang + telemetry.logLanguageServerEvent("cppBuildTaskWarnings"); + this.writeEmitter.fire(localize("build_finished_with_warnings", "Build finished with warning(s)") + dot + this.endOfLine); + splitWriteEmitter(_stderr); + resolve(0); + } else if (stdout && stdout.includes("warning C")) { // cl.exe + telemetry.logLanguageServerEvent("cppBuildTaskWarnings"); + this.writeEmitter.fire(localize("build_finished_with_warnings", "Build finished with warning(s)") + dot + this.endOfLine); splitWriteEmitter(stdout); - this.writeEmitter.fire(localize("build_finished_successfully", "Build finished successfully.") + this.endOfLine); + resolve(0); + } else { + if (stdout) { + splitWriteEmitter(stdout); // cl.exe + } + this.writeEmitter.fire(localize("build finished successfully", "Build finished successfully.") + this.endOfLine); resolve(0); } }); From 94294dd3728e034fbe2be6db0437baabcde4ef8b Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 1 Dec 2020 15:50:24 -0800 Subject: [PATCH 21/65] Fix infinite loop after cpptools crashes. (#6604) * Fix infinite loop after cpptools crashes: https://github.com/microsoft/vscode-cpptools/issues/6603 --- Extension/src/LanguageServer/clientCollection.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Extension/src/LanguageServer/clientCollection.ts b/Extension/src/LanguageServer/clientCollection.ts index f0b8ae2349..aa15f9edea 100644 --- a/Extension/src/LanguageServer/clientCollection.ts +++ b/Extension/src/LanguageServer/clientCollection.ts @@ -91,7 +91,11 @@ export class ClientCollection { } public forEach(callback: (client: cpptools.Client) => void): void { - this.languageClients.forEach(callback); + // Copy this.languageClients to languageClients to avoid an infinite foreach loop + // when callback modifies this.languageClients (e.g. when cpptools crashes). + const languageClients: cpptools.Client[] = []; + this.languageClients.forEach(client => languageClients.push(client)); + languageClients.forEach(callback); } public checkOwnership(client: cpptools.Client, document: vscode.TextDocument): boolean { From 08a28c3fd5bf5297389644bcb49e6fbfd0298b1e Mon Sep 17 00:00:00 2001 From: Colen Garoutte-Carson <49173979+Colengms@users.noreply.github.com> Date: Wed, 2 Dec 2020 12:22:40 -0800 Subject: [PATCH 22/65] Add field to activation telemetry for web-based Codespaces (#6609) --- Extension/src/LanguageServer/extension.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index b37ad6f8b9..bcf0c17995 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -276,6 +276,9 @@ function sendActivationTelemetry(): void { } machineIdPersistentState.Value = vscode.env.machineId; } + if (vscode.env.uiKind === vscode.UIKind.Web) { + activateEvent["WebUI"] = "1"; + } telemetry.logLanguageServerEvent("Activate", activateEvent); } From 3e34ba2227850cde29f4dfcaba12c2fa7194b7d9 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Thu, 3 Dec 2020 14:00:20 -0800 Subject: [PATCH 23/65] Fix cwd. (#6619) Fixes #6618 --- Extension/src/Debugger/configurationProvider.ts | 7 +++++-- Extension/src/LanguageServer/cppBuildTaskProvider.ts | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Extension/src/Debugger/configurationProvider.ts b/Extension/src/Debugger/configurationProvider.ts index a1e09cf090..3b65ac78c4 100644 --- a/Extension/src/Debugger/configurationProvider.ts +++ b/Extension/src/Debugger/configurationProvider.ts @@ -178,10 +178,13 @@ class CppConfigurationProvider implements vscode.DebugConfigurationProvider { newConfig.preLaunchTask = task.name; newConfig.externalConsole = false; const exeName: string = path.join("${fileDirname}", "${fileBasenameNoExtension}"); - newConfig.program = platform === "win32" ? exeName + ".exe" : exeName; + const isWindows: boolean = platform === 'win32'; + newConfig.program = isWindows ? exeName + ".exe" : exeName; // Add the "detail" property to show the compiler path in QuickPickItem. // This property will be removed before writing the DebugConfiguration in launch.json. newConfig.detail = task.detail ? task.detail : definition.command; + const isCl: boolean = compilerName === "cl.exe"; + newConfig.cwd = isWindows && !isCl && !process.env.PATH?.includes(compilerPath) ? path.dirname(compilerPath) : "${workspaceFolder}"; return new Promise(resolve => { if (platform === "darwin") { @@ -201,7 +204,7 @@ class CppConfigurationProvider implements vscode.DebugConfigurationProvider { debuggerName = "gdb"; } - if (platform === "win32") { + if (isWindows) { debuggerName += ".exe"; } diff --git a/Extension/src/LanguageServer/cppBuildTaskProvider.ts b/Extension/src/LanguageServer/cppBuildTaskProvider.ts index 78b250a555..fa93b334b0 100644 --- a/Extension/src/LanguageServer/cppBuildTaskProvider.ts +++ b/Extension/src/LanguageServer/cppBuildTaskProvider.ts @@ -167,7 +167,7 @@ export class CppBuildTaskProvider implements TaskProvider { if (compilerArgs && compilerArgs.length > 0) { args = args.concat(compilerArgs); } - const cwd: string = isCl ? "${workspaceFolder}" : path.dirname(compilerPath); + const cwd: string = isWindows && !isCl && !process.env.PATH?.includes(compilerPath) ? path.dirname(compilerPath) : "${workspaceFolder}"; const options: cp.ExecOptions | undefined = { cwd: cwd }; definition = { type: CppBuildTaskProvider.CppBuildScriptType, From a0a7d5b678a1a546138a356d08b415e62f4579cb Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Thu, 3 Dec 2020 16:13:15 -0800 Subject: [PATCH 24/65] Add dependencies for TPN generation. (#6621) --- Extension/.vscodeignore | 3 +++ Extension/package.json | 28 +++++++++++++++------------- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/Extension/.vscodeignore b/Extension/.vscodeignore index 6591b5799e..05943344e3 100644 --- a/Extension/.vscodeignore +++ b/Extension/.vscodeignore @@ -41,3 +41,6 @@ translations_auto_pr.js # ignore i18n language files i18n/** + +# ignore node_modules +node_modules/ diff --git a/Extension/package.json b/Extension/package.json index 76d5171f92..924df004b8 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -2361,9 +2361,6 @@ "@typescript-eslint/parser": "^2.19.2", "async-child-process": "^1.1.1", "await-notify": "^1.0.1", - "comment-json": "^3.0.3", - "editorconfig": "^0.15.3", - "escape-string-regexp": "^2.0.0", "eslint": "^6.8.0", "eslint-plugin-import": "^2.20.1", "eslint-plugin-jsdoc": "^21.0.0", @@ -2378,30 +2375,35 @@ "gulp-sourcemaps": "^2.6.5", "gulp-typescript": "^5.0.1", "http-proxy-agent": "^2.1.0", - "https-proxy-agent": "^2.2.4", - "minimatch": "^3.0.4", "minimist": "^1.2.5", - "mkdirp": "^0.5.1", "mocha": "^4.0.0", "parse5": "^5.1.0", "parse5-traverse": "^1.0.3", - "plist": "^3.0.1", - "tmp": "^0.1.0", "ts-loader": "^6.0.4", "tslint": "^5.19.0", "typescript": "^3.5.3", - "vscode-cpptools": "^4.0.1", "vscode-debugadapter": "^1.35.0", "vscode-debugprotocol": "^1.35.0", - "vscode-extension-telemetry": "^0.1.2", - "vscode-languageclient": "^5.2.1", - "vscode-nls": "^4.1.1", "vscode-nls-dev": "^3.2.6", "vscode-test": "^1.3.0", "webpack": "^4.42.0", "webpack-cli": "^3.3.7", + "xml2js": "^0.4.19" + }, + "dependencies": { + "comment-json": "^3.0.3", + "editorconfig": "^0.15.3", + "escape-string-regexp": "^2.0.0", + "https-proxy-agent": "^2.2.4", + "minimatch": "^3.0.4", + "mkdirp": "^0.5.1", + "plist": "^3.0.1", + "tmp": "^0.1.0", + "vscode-cpptools": "^4.0.1", + "vscode-extension-telemetry": "^0.1.2", + "vscode-languageclient": "^5.2.1", + "vscode-nls": "^4.1.1", "which": "^2.0.2", - "xml2js": "^0.4.19", "yauzl": "^2.10.0" }, "resolutions": { From 52469738d3eb6fb7992bff022ebb9afd7b8b87af Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Fri, 4 Dec 2020 13:26:52 -0800 Subject: [PATCH 25/65] Update TPN. (#6529) * Update TPN. --- Extension/ThirdPartyNotices.txt | 987 ++++++++++++++++++++++---------- 1 file changed, 675 insertions(+), 312 deletions(-) diff --git a/Extension/ThirdPartyNotices.txt b/Extension/ThirdPartyNotices.txt index 0824d4e68c..c142062803 100644 --- a/Extension/ThirdPartyNotices.txt +++ b/Extension/ThirdPartyNotices.txt @@ -15,11 +15,11 @@ USA Notwithstanding any other terms, you may reverse engineer this software to the extent required to debug changes to any libraries licensed under the GNU Lesser General Public License. - -------------------------------------------------------------------- +--------------------------------------------------------- async-listener 0.6.10 - BSD-2-Clause https://github.com/othiym23/async-listener#readme + Copyright (c) 2013-2017, Forrest L Norvell Copyright Joyent, Inc. and other Node contributors. @@ -50,12 +50,13 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- cls-hooked 4.2.2 - BSD-2-Clause https://github.com/jeff-lewis/cls-hooked#readme + Copyright (c) 2013-2016, Forrest L Norvell Copyright (c) 2013-2016, Forrest L Norvell @@ -82,12 +83,13 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- continuation-local-storage 3.2.1 - BSD-2-Clause https://github.com/othiym23/node-continuation-local-storage#readme + Copyright (c) 2013-2016, Forrest L Norvell Copyright (c) 2013-2016, Forrest L Norvell @@ -114,13 +116,14 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- emitter-listener 1.1.2 - BSD-2-Clause https://github.com/othiym23/emitter-listener + Copyright (c) . All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -131,12 +134,45 @@ Redistribution and use in source and binary forms, with or without modification, THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- + +esprima 4.0.1 - BSD-2-Clause +http://esprima.org/ + +Copyright JS Foundation and other contributors, https://js.foundation + +Copyright JS Foundation and other contributors, https://js.foundation/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +--------------------------------------------------------- + +--------------------------------------------------------- shimmer 1.2.1 - BSD-2-Clause https://github.com/othiym23/shimmer#readme + Copyright (c) 2013-2019, Forrest L Norvell BSD 2-Clause License @@ -166,12 +202,13 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- fs.realpath 1.0.0 - ISC https://github.com/isaacs/fs.realpath#readme + Copyright (c) Isaac Z. Schlueter and Contributors Copyright Joyent, Inc. and other Node contributors. @@ -220,12 +257,13 @@ the licensed code: DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- glob 7.1.6 - ISC https://github.com/isaacs/node-glob#readme + Copyright (c) Isaac Z. Schlueter and Contributors The ISC License @@ -251,12 +289,13 @@ under a Creative Commons Attribution-ShareAlike 4.0 International License https://creativecommons.org/licenses/by-sa/4.0/ -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- inflight 1.0.6 - ISC https://github.com/isaacs/inflight + Copyright (c) Isaac Z. Schlueter The ISC License @@ -276,12 +315,13 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- inherits 2.0.4 - ISC https://github.com/isaacs/inherits#readme + Copyright (c) Isaac Z. Schlueter The ISC License @@ -302,12 +342,13 @@ PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- isexe 2.0.0 - ISC https://github.com/isaacs/isexe#readme + Copyright (c) Isaac Z. Schlueter and Contributors The ISC License @@ -327,12 +368,13 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- lru-cache 4.1.5 - ISC https://github.com/isaacs/node-lru-cache#readme + Copyright (c) Isaac Z. Schlueter and Contributors The ISC License @@ -352,12 +394,13 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- minimatch 3.0.4 - ISC https://github.com/isaacs/minimatch#readme + Copyright (c) Isaac Z. Schlueter and Contributors The ISC License @@ -377,12 +420,13 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- once 1.4.0 - ISC https://github.com/isaacs/once#readme + Copyright (c) Isaac Z. Schlueter and Contributors The ISC License @@ -402,12 +446,39 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- + +pseudomap 1.0.2 - ISC +https://github.com/isaacs/pseudomap#readme + +Copyright (c) Isaac Z. Schlueter and Contributors + +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +--------------------------------------------------------- + +--------------------------------------------------------- rimraf 2.7.1 - ISC https://github.com/isaacs/rimraf#readme + Copyright (c) Isaac Z. Schlueter and Contributors The ISC License @@ -427,12 +498,13 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- semver 5.7.1 - ISC https://github.com/npm/node-semver#readme + Copyright Isaac Z. Copyright Isaac Z. Schlueter Copyright (c) Isaac Z. Schlueter and Contributors @@ -454,12 +526,13 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- sigmund 1.0.1 - ISC https://github.com/isaacs/sigmund#readme + Copyright (c) Isaac Z. Schlueter and Contributors The ISC License @@ -479,12 +552,13 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- which 2.0.2 - ISC https://github.com/isaacs/node-which#readme + Copyright (c) Isaac Z. Schlueter and Contributors The ISC License @@ -504,12 +578,13 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- wrappy 1.0.2 - ISC https://github.com/npm/wrappy + Copyright (c) Isaac Z. Schlueter and Contributors The ISC License @@ -529,12 +604,39 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- + +yallist 2.1.2 - ISC +https://github.com/isaacs/yallist#readme + +Copyright (c) Isaac Z. Schlueter and Contributors + +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +--------------------------------------------------------- + +--------------------------------------------------------- agent-base 4.3.0 - MIT https://github.com/TooTallNate/node-agent-base#readme + Copyright (c) 2013 Nathan Rajlich MIT License @@ -547,12 +649,13 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- applicationinsights 1.4.0 - MIT https://github.com/Microsoft/ApplicationInsights-node.js#readme + Copyright (c) Microsoft Corporation. The MIT License (MIT) @@ -565,12 +668,13 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- async-hook-jl 1.7.6 - MIT https://github.com/jeff-lewis/async-hook-jl#readme + Copyright (c) 2015 Andreas Madsen Copyright (c) 2015 Andreas Madsen @@ -594,12 +698,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- balanced-match 1.0.0 - MIT https://github.com/juliangruber/balanced-match + Copyright (c) 2013 Julian Gruber (MIT) @@ -625,12 +730,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- base64-js 1.3.1 - MIT https://github.com/beatgammit/base64-js + Copyright (c) 2014 Jameson Little The MIT License (MIT) @@ -656,12 +762,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- brace-expansion 1.1.11 - MIT https://github.com/juliangruber/brace-expansion + Copyright (c) 2013 Julian Gruber MIT License @@ -687,12 +794,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- buffer-crc32 0.2.13 - MIT https://github.com/brianloveswords/buffer-crc32 + Copyright (c) 2013 Brian J. Brennan The MIT License @@ -716,13 +824,79 @@ FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TOR ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- + +commander 2.20.3 - MIT +https://github.com/tj/commander.js#readme + +Copyright (c) 2011 TJ Holowaychuk + +(The MIT License) + +Copyright (c) 2011 TJ Holowaychuk + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +--------------------------------------------------------- + +--------------------------------------------------------- + +comment-json 3.0.3 - MIT +https://github.com/kaelzhang/node-comment-json#readme + +Copyright (c) 2013 + +Copyright (c) 2013 kaelzhang <>, contributors +http://kael.me/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +--------------------------------------------------------- + +--------------------------------------------------------- concat-map 0.0.1 - MIT https://github.com/substack/node-concat-map + This software is released under the MIT license: Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -743,42 +917,43 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- - -------------------------------------------------------------------- +--------------------------------------------------------- -debug 3.2.6 - MIT -https://github.com/visionmedia/debug#readme -Copyright (c) 2014 TJ Holowaychuk -Copyright (c) 2014-2017 TJ Holowaychuk +--------------------------------------------------------- -(The MIT License) +core-util-is 1.0.2 - MIT +https://github.com/isaacs/core-util-is#readme -Copyright (c) 2014 TJ Holowaychuk +Copyright Joyent, Inc. and other Node contributors. -Permission is hereby granted, free of charge, to any person obtaining a copy of this software -and associated documentation files (the 'Software'), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: +Copyright Node.js contributors. All rights reserved. -The above copyright notice and this permission notice shall be included in all copies or substantial -portions of the Software. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- -debug 3.1.0 - MIT +debug 3.2.6 - MIT https://github.com/visionmedia/debug#readme + Copyright (c) 2014 TJ Holowaychuk Copyright (c) 2014-2017 TJ Holowaychuk @@ -803,12 +978,13 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- diagnostic-channel 0.2.0 - MIT https://github.com/Microsoft/node-diagnostic-channel + Copyright (c) Microsoft Corporation. MIT License @@ -834,12 +1010,13 @@ Copyright (c) Microsoft Corporation. SOFTWARE -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- diagnostic-channel-publishers 0.3.3 - MIT https://github.com/Microsoft/node-diagnostic-channel + Copyright (c) Microsoft Corporation. MIT License @@ -865,12 +1042,13 @@ Copyright (c) Microsoft Corporation. SOFTWARE -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- editorconfig 0.15.3 - MIT https://github.com/editorconfig/editorconfig-core-js#readme + Copyright (c) 2012 EditorConfig Team Copyright © 2012 EditorConfig Team @@ -894,12 +1072,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- es6-promise 4.2.8 - MIT https://github.com/stefanpenner/es6-promise + Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors @@ -923,13 +1102,14 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- es6-promisify 5.0.0 - MIT https://github.com/digitaldesignlabs/es6-promisify#readme + MIT License Copyright (c) @@ -940,12 +1120,13 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- escape-string-regexp 2.0.0 - MIT https://github.com/sindresorhus/escape-string-regexp#readme + (c) Sindre Sorhus (https://sindresorhus.com) Copyright (c) Sindre Sorhus (sindresorhus.com) @@ -960,12 +1141,13 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- fd-slicer 1.1.0 - MIT https://github.com/andrewrk/node-fd-slicer#readme + Copyright (c) 2014 Andrew Kelley Copyright (c) 2014 Andrew Kelley @@ -991,17 +1173,18 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- -http-proxy-agent 2.1.0 - MIT -https://github.com/TooTallNate/node-http-proxy-agent#readme -Copyright (c) 2013 Nathan Rajlich +has-own-prop 2.0.0 - MIT +https://github.com/sindresorhus/has-own-prop#readme + +Copyright (c) Sindre Sorhus (sindresorhus.com) MIT License -Copyright (c) +Copyright (c) Sindre Sorhus (sindresorhus.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: @@ -1009,12 +1192,14 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- + +--------------------------------------------------------- https-proxy-agent 2.2.4 - MIT https://github.com/TooTallNate/node-https-proxy-agent#readme + Copyright (c) 2013 Nathan Rajlich MIT License @@ -1027,68 +1212,41 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +--------------------------------------------------------- -------------------------------------------------------------------- - -------------------------------------------------------------------- - -libiconv - Pre-installed on target platforms: Mac, Linux -https://www.gnu.org/software/libiconv/ -/* Copyright (C) 1997-2020 Free Software Foundation, Inc. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 2.1 of the License, or (at your option) any later version. - -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with the GNU C Library; if not, see -https://www.gnu.org/licenses/. */ - -http://www.gnu.org/licenses/lgpl.html +--------------------------------------------------------- +minimist 0.2.1 - MIT +https://github.com/substack/minimist -------------------------------------------------------------------- -------------------------------------------------------------------- - -comment-json 3.0.0 - MIT -https://github.com/kaelzhang/node-comment-json#readme - -Copyright (c) 2013 kaelzhang <>, contributors -http://kael.me/ +This software is released under the MIT license: -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- mkdirp 0.5.1 - MIT https://github.com/substack/node-mkdirp#readme + Copyright 2010 James Halliday (mail@substack.net) Copyright 2010 James Halliday (mail@substack.net) @@ -1114,43 +1272,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- - -------------------------------------------------------------------- - -ms 2.0.0 - MIT -https://github.com/zeit/ms#readme -Copyright (c) 2016 Zeit, Inc. - -The MIT License (MIT) - -Copyright (c) 2016 Zeit, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +--------------------------------------------------------- -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -------------------------------------------------------------------- - -------------------------------------------------------------------- +--------------------------------------------------------- ms 2.1.2 - MIT https://github.com/zeit/ms#readme + Copyright (c) 2016 Zeit, Inc. The MIT License (MIT) @@ -1176,12 +1304,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- path-is-absolute 1.0.1 - MIT https://github.com/sindresorhus/path-is-absolute#readme + (c) Sindre Sorhus (https://sindresorhus.com) Copyright (c) Sindre Sorhus (sindresorhus.com) @@ -1208,11 +1337,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- pend 1.2.0 - MIT + + Copyright (c) 2014 Andrew Kelley The MIT License (Expat) @@ -1240,12 +1371,13 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- plist 3.0.1 - MIT https://github.com/TooTallNate/node-plist#readme + Copyright (c) 2010-2017 Nathan Rajlich (The MIT License) @@ -1274,12 +1406,47 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- + +--------------------------------------------------------- + +repeat-string 1.6.1 - MIT +https://github.com/jonschlinkert/repeat-string + +Copyright (c) 2014-2015, Jon Schlinkert. +Copyright (c) 2014-2016, Jon Schlinkert. +Copyright (c) 2016, Jon Schlinkert (http://github.com/jonschlinkert). + +The MIT License (MIT) + +Copyright (c) 2014-2016, Jon Schlinkert. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. -------------------------------------------------------------------- + +--------------------------------------------------------- + +--------------------------------------------------------- stack-chain 1.3.7 - MIT https://github.com/AndreasMadsen/stack-chain#readme + Copyright 2012 the V8 project Copyright (c) 2012 Andreas Madsen @@ -1303,12 +1470,13 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- tmp 0.1.0 - MIT http://github.com/raszi/node-tmp + Copyright (c) 2014 KARASZI Istvan Copyright (c) 2011-2017 KARASZI Istvan @@ -1335,12 +1503,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- vscode-cpptools 4.0.1 - MIT https://github.com/Microsoft/vscode-cpptools-api#readme + Copyright (c) Microsoft Corporation. vscode-cpptools-api @@ -1357,12 +1526,13 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- vscode-extension-telemetry 0.1.2 - MIT https://github.com/Microsoft/vscode-extension-telemetry#readme + Copyright (c) Microsoft Corporation. vscode-extension-telemetry @@ -1389,12 +1559,13 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- vscode-jsonrpc 4.0.0 - MIT https://github.com/Microsoft/vscode-languageserver-node#readme + Copyright (c) Microsoft Corporation. Copyright (c) Microsoft Corporation @@ -1410,12 +1581,13 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- vscode-languageclient 5.2.1 - MIT https://github.com/Microsoft/vscode-languageserver-node#readme + Copyright (c) Microsoft Corporation. Copyright (c) Isaac Z. Schlueter and Contributors @@ -1432,12 +1604,13 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- vscode-languageserver-protocol 3.14.1 - MIT https://github.com/Microsoft/vscode-languageserver-node#readme + Copyright (c) Microsoft Corporation. Copyright (c) Microsoft Corporation @@ -1453,12 +1626,13 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- vscode-languageserver-types 3.14.0 - MIT https://github.com/Microsoft/vscode-languageserver-node#readme + Copyright (c) Microsoft Corporation. Copyright (c) Microsoft Corporation @@ -1474,12 +1648,13 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- vscode-nls 4.1.1 - MIT https://github.com/Microsoft/vscode-nls#readme + Copyright (c) Microsoft Corporation. The MIT License (MIT) @@ -1501,12 +1676,13 @@ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CON OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- xmlbuilder 9.0.7 - MIT http://github.com/oozcitak/xmlbuilder-js + Copyright (c) 2013 Ozgur Ozcitak The MIT License (MIT) @@ -1532,12 +1708,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- yauzl 2.10.0 - MIT https://github.com/thejoshwolfe/yauzl + Copyright (c) 2014 Josh Wolfe The MIT License (MIT) @@ -1563,13 +1740,14 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------- +--------------------------------------------------------- -------------------------------------------------------------------- +--------------------------------------------------------- xmldom 0.1.31 - MIT OR LGPL-2.0-only https://github.com/xmldom/xmldom + You can choose any one of those: The MIT License (MIT): @@ -1580,7 +1758,7 @@ LGPL: http://www.gnu.org/licenses/lgpl.html -------------------------------------------------------------------- +--------------------------------------------------------- @@ -1592,20 +1770,20 @@ Additional Third Party Notices The notices above are auto-generated from npm packages. The notices below are from non-npm sources. -1. ANTLR (http://www.antlr2.org/) -2. C++11 Sublime Text Snippets (https://github.com/Rapptz/cpp-sublime-snippet) -3. Clang (https://clang.llvm.org/) -4. gcc-6/libgcc (http://packages.ubuntu.com/yakkety/main/gcc-6) -5. Guidelines Support Library (https://github.com/Microsoft/GSL) -6. libc++ (https://libcxx.llvm.org/index.html) -7. LLDB (https://lldb.llvm.org/) -8. LLVM (http://llvm.org/) -9. MI Debug Engine (https://github.com/Microsoft/MIEngine) -10. Mono (https://github.com/mono/mono) -11. msgpack for C/C++ (https://github.com/msgpack/msgpack-c) -12. pevents (https://github.com/neosmart/pevents) -13. RapidJSON (https://github.com/miloyip/rapidjson) -14. SQLite (https://www.sqlite.org/) +- ANTLR (http://www.antlr2.org/) +- C++11 Sublime Text Snippets (https://github.com/Rapptz/cpp-sublime-snippet) +- Clang (https://clang.llvm.org/) +- gcc-9/libgcc (https://packages.ubuntu.com/focal/gcc-9-base) +- Guidelines Support Library (https://github.com/Microsoft/GSL) +- libc++ (https://libcxx.llvm.org/index.html) +- libuv (https://github.com/libuv/libuv) +- LLDB (https://lldb.llvm.org/) +- LLVM (http://llvm.org/) +- MI Debug Engine (https://github.com/Microsoft/MIEngine) +- Mono (https://github.com/mono/mono) +- pevents (https://github.com/neosmart/pevents) +- RapidJSON (https://github.com/miloyip/rapidjson) +- SQLite (https://www.sqlite.org/) Includes:functions (from fossil) (https://fossil-scm.org) %% ANTLR NOTICES AND INFORMATION BEGIN HERE @@ -1629,77 +1807,221 @@ END OF C++11 Sublime Text Snippets NOTICES AND INFORMATION %% Clang NOTICES AND INFORMATION BEGIN HERE ========================================= ============================================================================== -LLVM Release License +The LLVM Project is under the Apache License v2.0 with LLVM Exceptions: ============================================================================== -University of Illinois/NCSA -Open Source License - -Copyright (c) 2003-2017 University of Illinois at Urbana-Champaign. -All rights reserved. - -Developed by: - - LLVM Team - - University of Illinois at Urbana-Champaign - - http://llvm.org - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimers. - - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimers in the - documentation and/or other materials provided with the distribution. - - * Neither the names of the LLVM Team, University of Illinois at - Urbana-Champaign, nor the names of its contributors may be used to - endorse or promote products derived from this Software without specific - prior written permission. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE -SOFTWARE. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + + + +---- LLVM Exceptions to the Apache 2.0 License ---- + +As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License. + +In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software. ============================================================================== -Copyrights and Licenses for Third Party Software Distributed with LLVM: +Software from third parties included in the LLVM Project: ============================================================================== -The LLVM software contains code written by third parties. Such software will -have its own individual LICENSE.TXT file in the directory in which it appears. -This file will describe the copyrights, license, and restrictions which apply -to that code. +The LLVM Project contains third party software which is under different license +terms. All such code will be identified clearly using at least one of two +mechanisms: +1) It will be in a separate directory tree with its own `LICENSE.txt` or + `LICENSE` file at the top containing the specific license and restrictions + which apply to that software, or +2) It will contain specific license and restriction terms at the top of every + file. -The disclaimer of warranty in the University of Illinois Open Source License -applies to all code in the LLVM Distribution, and nothing in any of the -other licenses gives permission to use the names of the LLVM Team or the -University of Illinois to endorse or promote products derived from this -Software. - -The following pieces of software have additional or alternate copyrights, -licenses, and/or restrictions: - -Program Directory -------- --------- -Google Test llvm/utils/unittest/googletest -OpenBSD regex llvm/lib/Support/{reg*, COPYRIGHT.regex} -pyyaml tests llvm/test/YAMLParser/{*.data, LICENSE.TXT} -ARM contributions llvm/lib/Target/ARM/LICENSE.TXT -md5 contributions llvm/lib/Support/MD5.cpp llvm/include/llvm/Support/MD5.h ========================================= END OF Clang NOTICES AND INFORMATION -%% gcc-6/libgcc NOTICES AND INFORMATION BEGIN HERE +%% gcc-9/libgcc NOTICES AND INFORMATION BEGIN HERE ========================================= The following runtime libraries are licensed under the terms of the GNU General Public License (v3 or later) with version 3.1 of the GCC @@ -1900,7 +2222,7 @@ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY C If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS ========================================= -END OF gcc-6/libgcc NOTICES AND INFORMATION +END OF gcc-9/libgcc NOTICES AND INFORMATION %% Guidelines Support Library NOTICES AND INFORMATION BEGIN HERE ========================================= @@ -2260,39 +2582,80 @@ embeddable runtime: ========================================= END OF Mono NOTICES AND INFORMATION -%% msgpack for C/C++ NOTICES AND INFORMATION BEGIN HERE +%% libuv NOTICES AND INFORMATION BEGIN HERE ========================================= -Copyright (C) 2008-2015 FURUHASHI Sadayuki +libuv is licensed for use as follows: + +==== +Copyright (c) 2015-present libuv project contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - Distributed under the Boost Software License, Version 1.0. - (See accompanying file LICENSE_1_0.txt or copy at - http://www.boost.org/LICENSE_1_0.txt) +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. -Boost Software License - Version 1.0 - August 17th, 2003 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +==== -Permission is hereby granted, free of charge, to any person or organization -obtaining a copy of the software and accompanying documentation covered by -this license (the "Software") to use, reproduce, display, distribute, -execute, and transmit the Software, and to prepare derivative works of the -Software, and to permit third-parties to whom the Software is furnished to -do so, all subject to the following: +This license applies to parts of libuv originating from the +https://github.com/joyent/libuv repository: -The copyright notices in the Software and this entire statement, including -the above license grant, this restriction and the following disclaimer, -must be included in all copies of the Software, in whole or in part, and -all derivative works of the Software, unless such copies or derivative -works are solely in the form of machine-executable object code generated by -a source language processor. +==== + +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT -SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE -FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, -ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + +==== + +This license applies to all parts of libuv that are not externally +maintained libraries. + +The externally maintained libraries used by libuv are: + + - tree.h (from FreeBSD), copyright Niels Provos. Two clause BSD license. + + - inet_pton and inet_ntop implementations, contained in src/inet.c, are + copyright the Internet Systems Consortium, Inc., and licensed under the ISC + license. + + - stdint-msvc2008.h (from msinttypes), copyright Alexander Chemeris. Three + clause BSD license. + + - pthread-fixes.c, copyright Google Inc. and Sony Mobile Communications AB. + Three clause BSD license. + + - android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design + Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement + n° 289016). Three clause BSD license. ========================================= -END OF msgpack for C/C++ NOTICES AND INFORMATION +END OF libuv NOTICES AND INFORMATION %% pevents NOTICES AND INFORMATION BEGIN HERE ========================================= From 29ff9be9f79bb93ca6fa3301ba5bab5bfce8588d Mon Sep 17 00:00:00 2001 From: Michelle Matias <38734287+michelleangela@users.noreply.github.com> Date: Tue, 8 Dec 2020 13:23:58 -0800 Subject: [PATCH 26/65] add GitHub actions for debugger issues (#6637) --- .github/actions/StaleCloser/StaleCloser.js | 210 +++++------ .github/actions/StaleCloser/StaleCloser.ts | 5 +- .github/actions/StaleCloser/action.yml | 2 + .github/actions/StaleCloser/index.js | 40 +- .github/actions/StaleCloser/index.ts | 3 +- .github/actions/common/ActionBase.js | 341 +++++++++--------- .github/actions/common/ActionBase.ts | 16 +- .../workflows/by-design-closer-debugger .yml | 26 ++ .../workflows/external-closer-debugger.yml | 26 ++ .../workflows/investigate-closer-debugger.yml | 26 ++ .../more-info-needed-closer-debugger.yml | 29 ++ .../workflows/question-closer-debugger.yml | 29 ++ 12 files changed, 460 insertions(+), 293 deletions(-) create mode 100644 .github/workflows/by-design-closer-debugger .yml create mode 100644 .github/workflows/external-closer-debugger.yml create mode 100644 .github/workflows/investigate-closer-debugger.yml create mode 100644 .github/workflows/more-info-needed-closer-debugger.yml create mode 100644 .github/workflows/question-closer-debugger.yml diff --git a/.github/actions/StaleCloser/StaleCloser.js b/.github/actions/StaleCloser/StaleCloser.js index fef1861bb7..15f4c177aa 100644 --- a/.github/actions/StaleCloser/StaleCloser.js +++ b/.github/actions/StaleCloser/StaleCloser.js @@ -1,106 +1,106 @@ -"use strict"; -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See LICENSE in the project root for license information. - *--------------------------------------------------------------------------------------------*/ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.StaleCloser = void 0; -const ActionBase_1 = require("../common/ActionBase"); -const utils_1 = require("../common/utils"); -class StaleCloser extends ActionBase_1.ActionBase { - constructor(github, closeDays, labels, closeComment, pingDays, pingComment, additionalTeam, addLabels, removeLabels, setMilestoneId, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes) { - super(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes); - this.github = github; - this.closeDays = closeDays; - this.closeComment = closeComment; - this.pingDays = pingDays; - this.pingComment = pingComment; - this.additionalTeam = additionalTeam; - this.addLabels = addLabels; - this.removeLabels = removeLabels; - this.setMilestoneId = setMilestoneId; - } - async run() { - const updatedTimestamp = utils_1.daysAgoToHumanReadbleDate(this.closeDays); - const pingTimestamp = this.pingDays ? utils_1.daysAgoToTimestamp(this.pingDays) : undefined; - const query = this.buildQuery((this.closeDays ? `updated:<${updatedTimestamp} ` : "") + "is:open is:unlocked"); - const addLabelsSet = this.addLabels ? this.addLabels.split(',') : []; - const removeLabelsSet = this.removeLabels ? this.removeLabels.split(',') : []; - for await (const page of this.github.query({ q: query })) { - for (const issue of page) { - const hydrated = await issue.getIssue(); - const lastCommentIterator = await issue.getComments(true).next(); - if (lastCommentIterator.done) { - throw Error('Unexpected comment data'); - } - const lastComment = lastCommentIterator.value[0]; - if (hydrated.open && this.validateIssue(hydrated) - // TODO: Verify updated timestamp - ) { - if (!lastComment || - lastComment.author.isGitHubApp || - pingTimestamp == undefined || - // TODO: List the collaborators once per go rather than checking a single user each issue - this.additionalTeam.includes(lastComment.author.name) || - await issue.hasWriteAccess(lastComment.author)) { - if (pingTimestamp != undefined) { - if (lastComment) { - console.log(`Last comment on issue ${hydrated.number} by ${lastComment.author.name}. Closing.`); - } - else { - console.log(`No comments on issue ${hydrated.number}. Closing.`); - } - } - if (this.closeComment) { - console.log(`Posting comment on issue ${hydrated.number}`); - await issue.postComment(this.closeComment); - } - if (removeLabelsSet.length > 0) { - for (const removeLabel of removeLabelsSet) { - if (removeLabel && removeLabel.length > 0) { - console.log(`Removing label on issue ${hydrated.number}: ${removeLabel}`); - await issue.removeLabel(removeLabel); - } - } - } - if (addLabelsSet.length > 0) { - for (const addLabel of addLabelsSet) { - if (addLabel && addLabel.length > 0) { - console.log(`Adding label on issue ${hydrated.number}: ${addLabel}`); - await issue.addLabel(addLabel); - } - } - } - await issue.closeIssue(); - if (this.setMilestoneId != undefined) { - console.log(`Setting milestone of issue ${hydrated.number} to id ${+this.setMilestoneId}`); - await issue.setMilestone(+this.setMilestoneId); - } - console.log(`Closing issue ${hydrated.number}.`); - } - else { - // Ping - if (hydrated.updatedAt < pingTimestamp && hydrated.assignee) { - console.log(`Last comment on issue ${hydrated.number} by ${lastComment.author.name}. Pinging @${hydrated.assignee}`); - if (this.pingComment) { - await issue.postComment(this.pingComment - .replace('${assignee}', hydrated.assignee) - .replace('${author}', hydrated.author.name)); - } - } - else { - console.log(`Last comment on issue ${hydrated.number} by ${lastComment.author.name}. Skipping.${hydrated.assignee ? ' cc @' + hydrated.assignee : ''}`); - } - } - } - else { - if (!hydrated.open) { - console.log(`Issue ${hydrated.number} is not open. Ignoring`); - } - } - } - } - } -} -exports.StaleCloser = StaleCloser; +"use strict"; +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See LICENSE in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.StaleCloser = void 0; +const ActionBase_1 = require("../common/ActionBase"); +const utils_1 = require("../common/utils"); +class StaleCloser extends ActionBase_1.ActionBase { + constructor(github, closeDays, labels, closeComment, pingDays, pingComment, additionalTeam, addLabels, removeLabels, setMilestoneId, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes, involves) { + super(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes, involves); + this.github = github; + this.closeDays = closeDays; + this.closeComment = closeComment; + this.pingDays = pingDays; + this.pingComment = pingComment; + this.additionalTeam = additionalTeam; + this.addLabels = addLabels; + this.removeLabels = removeLabels; + this.setMilestoneId = setMilestoneId; + } + async run() { + const updatedTimestamp = utils_1.daysAgoToHumanReadbleDate(this.closeDays); + const pingTimestamp = this.pingDays ? utils_1.daysAgoToTimestamp(this.pingDays) : undefined; + const query = this.buildQuery((this.closeDays ? `updated:<${updatedTimestamp} ` : "") + "is:open is:unlocked"); + const addLabelsSet = this.addLabels ? this.addLabels.split(',') : []; + const removeLabelsSet = this.removeLabels ? this.removeLabels.split(',') : []; + for await (const page of this.github.query({ q: query })) { + for (const issue of page) { + const hydrated = await issue.getIssue(); + const lastCommentIterator = await issue.getComments(true).next(); + if (lastCommentIterator.done) { + throw Error('Unexpected comment data'); + } + const lastComment = lastCommentIterator.value[0]; + if (hydrated.open && this.validateIssue(hydrated) + // TODO: Verify updated timestamp + ) { + if (!lastComment || + lastComment.author.isGitHubApp || + pingTimestamp == undefined || + // TODO: List the collaborators once per go rather than checking a single user each issue + this.additionalTeam.includes(lastComment.author.name) || + await issue.hasWriteAccess(lastComment.author)) { + if (pingTimestamp != undefined) { + if (lastComment) { + console.log(`Last comment on issue ${hydrated.number} by ${lastComment.author.name}. Closing.`); + } + else { + console.log(`No comments on issue ${hydrated.number}. Closing.`); + } + } + if (this.closeComment) { + console.log(`Posting comment on issue ${hydrated.number}`); + await issue.postComment(this.closeComment); + } + if (removeLabelsSet.length > 0) { + for (const removeLabel of removeLabelsSet) { + if (removeLabel && removeLabel.length > 0) { + console.log(`Removing label on issue ${hydrated.number}: ${removeLabel}`); + await issue.removeLabel(removeLabel); + } + } + } + if (addLabelsSet.length > 0) { + for (const addLabel of addLabelsSet) { + if (addLabel && addLabel.length > 0) { + console.log(`Adding label on issue ${hydrated.number}: ${addLabel}`); + await issue.addLabel(addLabel); + } + } + } + await issue.closeIssue(); + if (this.setMilestoneId != undefined) { + console.log(`Setting milestone of issue ${hydrated.number} to id ${+this.setMilestoneId}`); + await issue.setMilestone(+this.setMilestoneId); + } + console.log(`Closing issue ${hydrated.number}.`); + } + else { + // Ping + if (hydrated.updatedAt < pingTimestamp && hydrated.assignee) { + console.log(`Last comment on issue ${hydrated.number} by ${lastComment.author.name}. Pinging @${hydrated.assignee}`); + if (this.pingComment) { + await issue.postComment(this.pingComment + .replace('${assignee}', hydrated.assignee) + .replace('${author}', hydrated.author.name)); + } + } + else { + console.log(`Last comment on issue ${hydrated.number} by ${lastComment.author.name}. Skipping.${hydrated.assignee ? ' cc @' + hydrated.assignee : ''}`); + } + } + } + else { + if (!hydrated.open) { + console.log(`Issue ${hydrated.number} is not open. Ignoring`); + } + } + } + } + } +} +exports.StaleCloser = StaleCloser; //# sourceMappingURL=StaleCloser.js.map \ No newline at end of file diff --git a/.github/actions/StaleCloser/StaleCloser.ts b/.github/actions/StaleCloser/StaleCloser.ts index 198abe9a01..1e411f3f96 100644 --- a/.github/actions/StaleCloser/StaleCloser.ts +++ b/.github/actions/StaleCloser/StaleCloser.ts @@ -25,10 +25,11 @@ export class StaleCloser extends ActionBase { ignoreMilestoneNames?: string, ignoreMilestoneIds?: string, minimumVotes?: number, - maximumVotes?: number + maximumVotes?: number, + involves?: string ) { - super(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes); + super(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes, involves); } async run() { diff --git a/.github/actions/StaleCloser/action.yml b/.github/actions/StaleCloser/action.yml index a2a303650d..ec17a54496 100644 --- a/.github/actions/StaleCloser/action.yml +++ b/.github/actions/StaleCloser/action.yml @@ -38,6 +38,8 @@ inputs: descriptions: Only issues with at least this many votes will be considered. maximumVotes: descriptions: Only issues fewer or equal to this many votes will be considered. + involves: + descriptions: Qualifier to find issues that in some way involve a certain user either as an author, assignee, or mentions. readonly: description: If true, changes are not applied. runs: diff --git a/.github/actions/StaleCloser/index.js b/.github/actions/StaleCloser/index.js index 9822eddc7e..3e322ffdf1 100644 --- a/.github/actions/StaleCloser/index.js +++ b/.github/actions/StaleCloser/index.js @@ -1,21 +1,21 @@ -"use strict"; -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See LICENSE in the project root for license information. - *--------------------------------------------------------------------------------------------*/ -Object.defineProperty(exports, "__esModule", { value: true }); -const utils_1 = require("../common/utils"); -const StaleCloser_1 = require("./StaleCloser"); -const Action_1 = require("../common/Action"); -class StaleCloserAction extends Action_1.Action { - constructor() { - super(...arguments); - this.id = 'StaleCloser'; - } - async onTriggered(github) { - var _a; - await new StaleCloser_1.StaleCloser(github, +utils_1.getRequiredInput('closeDays'), utils_1.getRequiredInput('labels'), utils_1.getInput('closeComment') || '', +(utils_1.getInput('pingDays') || 0), utils_1.getInput('pingComment') || '', ((_a = utils_1.getInput('additionalTeam')) !== null && _a !== void 0 ? _a : '').split(','), utils_1.getInput('addLabels') || undefined, utils_1.getInput('removeLabels') || undefined, utils_1.getInput('setMilestoneId') || undefined, utils_1.getInput('milestoneName') || undefined, utils_1.getInput('milestoneId') || undefined, utils_1.getInput('ignoreLabels') || undefined, utils_1.getInput('ignoreMilestoneNames') || undefined, utils_1.getInput('ignoreMilestoneIds') || undefined, +(utils_1.getInput('minimumVotes') || 0), +(utils_1.getInput('maximumVotes') || 9999999)).run(); - } -} -new StaleCloserAction().run(); // eslint-disable-line +"use strict"; +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See LICENSE in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const utils_1 = require("../common/utils"); +const StaleCloser_1 = require("./StaleCloser"); +const Action_1 = require("../common/Action"); +class StaleCloserAction extends Action_1.Action { + constructor() { + super(...arguments); + this.id = 'StaleCloser'; + } + async onTriggered(github) { + var _a; + await new StaleCloser_1.StaleCloser(github, +utils_1.getRequiredInput('closeDays'), utils_1.getRequiredInput('labels'), utils_1.getInput('closeComment') || '', +(utils_1.getInput('pingDays') || 0), utils_1.getInput('pingComment') || '', ((_a = utils_1.getInput('additionalTeam')) !== null && _a !== void 0 ? _a : '').split(','), utils_1.getInput('addLabels') || undefined, utils_1.getInput('removeLabels') || undefined, utils_1.getInput('setMilestoneId') || undefined, utils_1.getInput('milestoneName') || undefined, utils_1.getInput('milestoneId') || undefined, utils_1.getInput('ignoreLabels') || undefined, utils_1.getInput('ignoreMilestoneNames') || undefined, utils_1.getInput('ignoreMilestoneIds') || undefined, +(utils_1.getInput('minimumVotes') || 0), +(utils_1.getInput('maximumVotes') || 9999999), utils_1.getInput('involves') || undefined).run(); + } +} +new StaleCloserAction().run(); // eslint-disable-line //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/.github/actions/StaleCloser/index.ts b/.github/actions/StaleCloser/index.ts index 800806da11..15367a2c17 100644 --- a/.github/actions/StaleCloser/index.ts +++ b/.github/actions/StaleCloser/index.ts @@ -29,7 +29,8 @@ class StaleCloserAction extends Action { getInput('ignoreMilestoneNames') || undefined, getInput('ignoreMilestoneIds') || undefined, +(getInput('minimumVotes') || 0), - +(getInput('maximumVotes') || 9999999) + +(getInput('maximumVotes') || 9999999), + getInput('involves') || undefined ).run() } } diff --git a/.github/actions/common/ActionBase.js b/.github/actions/common/ActionBase.js index 29dcc3a739..518dcf194c 100644 --- a/.github/actions/common/ActionBase.js +++ b/.github/actions/common/ActionBase.js @@ -1,165 +1,178 @@ -"use strict"; -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See LICENSE in the project root for license information. - *--------------------------------------------------------------------------------------------*/ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ActionBase = void 0; -class ActionBase { - constructor(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes) { - this.labels = labels; - this.milestoneName = milestoneName; - this.milestoneId = milestoneId; - this.ignoreLabels = ignoreLabels; - this.ignoreMilestoneNames = ignoreMilestoneNames; - this.ignoreMilestoneIds = ignoreMilestoneIds; - this.minimumVotes = minimumVotes; - this.maximumVotes = maximumVotes; - this.labelsSet = []; - this.ignoreLabelsSet = []; - this.ignoreMilestoneNamesSet = []; - this.ignoreMilestoneIdsSet = []; - this.ignoreAllWithLabels = false; - this.ignoreAllWithMilestones = false; - } - buildQuery(baseQuery) { - var _a, _b; - let query = baseQuery; - console.log(`labels: ${this.labels}`); - console.log(`milestoneName: ${this.milestoneName}`); - console.log(`milestoneId: ${this.milestoneId}`); - console.log(`ignoreLabels: ${this.ignoreLabels}`); - console.log(`ignoreMilestoneNames: ${this.ignoreMilestoneNames}`); - console.log(`ignoreMilestoneIds: ${this.ignoreMilestoneIds}`); - console.log(`minimumVotes: ${this.minimumVotes}`); - console.log(`maximumVotes: ${this.maximumVotes}`); - // Both milestone name and milestone Id must be provided and must match. - // The name is used to construct the query, which does not accept ID. - // The ID is used for comparisons with issue data, which does not include the name. - // TODO: Figure out a way to convert either from milestone name to ID, or vice versa. - // If label inclusion and exclusion are mixed, exclusion will take precedence. - // For example, an issue with both labels A and B will not match if B is excluded, even if A is included. - // If a milestoneName/milestoneId are set, ignoreMilenameName/ignoreMilestoneIds are ignored. - // GitHub does not appear to support searching for all issues with milestones (not lacking a milestone). "-no:milestone" does not work. - // GitHub does not appear to support searching for all issues with labels (not lacking a label). "-no:label" does not work. - // All indicated labels must be present - if (this.labels) { - this.labelsSet = (_a = this.labels) === null || _a === void 0 ? void 0 : _a.split(','); - for (const str of this.labelsSet) { - if (str != "") { - query = query.concat(` label:"${str}"`); - } - } - } - if (this.ignoreLabels) { - if (this.ignoreLabels == "*" && !this.labels) { // only if unlabeled - query = query.concat(` no:label`); - this.ignoreAllWithLabels = true; - } - else { - this.ignoreLabelsSet = (_b = this.ignoreLabels) === null || _b === void 0 ? void 0 : _b.split(','); - for (const str of this.ignoreLabelsSet) { - if (str != "") { - query = query.concat(` -label:"${str}"`); - } - } - } - } - if (this.milestoneName) { - query = query.concat(` milestone:"${this.milestoneName}"`); - } - else if (this.ignoreMilestoneNames) { - if (this.ignoreMilestoneNames == "*") { - query = query.concat(` no:milestone`); - this.ignoreAllWithMilestones = true; - } - else if (this.ignoreMilestoneIds) { - this.ignoreMilestoneNamesSet = this.ignoreMilestoneNames.split(','); - this.ignoreMilestoneIdsSet = this.ignoreMilestoneIds.split(','); - for (const str of this.ignoreMilestoneNamesSet) { - if (str != "") { - query = query.concat(` -milestone:"${str}"`); - } - } - } - } - return query; - } - // This is necessary because GitHub sometimes returns incorrect results, - // and because issues may get modified while we are processing them. - validateIssue(issue) { - if (this.ignoreAllWithLabels) { - // Validate that the issue does not have labels - if (issue.labels && issue.labels.length !== 0) { - console.log(`Issue ${issue.number} skipped due to label found after querying for no:label.`); - return false; - } - } - else { - // Make sure all labels we wanted are present. - if ((!issue.labels || issue.labels.length == 0) && this.labelsSet.length > 0) { - console.log(`Issue ${issue.number} skipped due to not having a required label set. No labels found.`); - return false; - } - for (const str of this.labelsSet) { - if (!issue.labels.includes(str)) { - console.log(`Issue ${issue.number} skipped due to not having a required label set.`); - return false; - } - } - // Make sure no labels we wanted to ignore are present. - if (issue.labels && issue.labels.length > 0) { - for (const str of this.ignoreLabelsSet) { - if (issue.labels.includes(str)) { - console.log(`Issue ${issue.number} skipped due to having an ignore label set: ${str}`); - return false; - } - } - } - } - if (this.ignoreAllWithMilestones) { - // Validate that the issue does not have a milestone. - if (issue.milestoneId != null) { - console.log(`Issue ${issue.number} skipped due to milestone found after querying for no:milestone.`); - return false; - } - } - else { - // Make sure milestone is present, if required. - if (this.milestoneId != undefined && issue.milestoneId != +this.milestoneId) { - console.log(`Issue ${issue.number} skipped due to not having required milsetone id ${this.milestoneId}. Had: ${issue.milestoneId}`); - return false; - } - // Make sure a milestones we wanted to ignore is not present. - if (issue.milestoneId != null) { - for (const str of this.ignoreMilestoneIdsSet) { - if (issue.milestoneId == +str) { - console.log(`Issue ${issue.number} skipped due to milestone ${issue.milestoneId} found in list of ignored milestone IDs.`); - return false; - } - } - } - } - // Verify the issue has a sufficient number of upvotes - let upvotes = 0; - if (issue.reactions) { - upvotes = issue.reactions['+1']; - } - if (this.minimumVotes != undefined) { - if (upvotes < this.minimumVotes) { - console.log(`Issue ${issue.number} skipped due to not having at least ${this.minimumVotes} upvotes. Had: ${upvotes}`); - return false; - } - } - // Verify the issue does not have too many upvotes - if (this.maximumVotes != undefined) { - if (upvotes > this.maximumVotes) { - console.log(`Issue ${issue.number} skipped due to having more than ${this.maximumVotes} upvotes. Had: ${upvotes}`); - return false; - } - } - return true; - } -} -exports.ActionBase = ActionBase; +"use strict"; +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See LICENSE in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ActionBase = void 0; +class ActionBase { + constructor(labels, milestoneName, milestoneId, ignoreLabels, ignoreMilestoneNames, ignoreMilestoneIds, minimumVotes, maximumVotes, involves) { + this.labels = labels; + this.milestoneName = milestoneName; + this.milestoneId = milestoneId; + this.ignoreLabels = ignoreLabels; + this.ignoreMilestoneNames = ignoreMilestoneNames; + this.ignoreMilestoneIds = ignoreMilestoneIds; + this.minimumVotes = minimumVotes; + this.maximumVotes = maximumVotes; + this.involves = involves; + this.labelsSet = []; + this.ignoreLabelsSet = []; + this.ignoreMilestoneNamesSet = []; + this.ignoreMilestoneIdsSet = []; + this.ignoreAllWithLabels = false; + this.ignoreAllWithMilestones = false; + this.involvesSet = []; + } + buildQuery(baseQuery) { + var _a, _b, _c; + let query = baseQuery; + console.log(`labels: ${this.labels}`); + console.log(`milestoneName: ${this.milestoneName}`); + console.log(`milestoneId: ${this.milestoneId}`); + console.log(`ignoreLabels: ${this.ignoreLabels}`); + console.log(`ignoreMilestoneNames: ${this.ignoreMilestoneNames}`); + console.log(`ignoreMilestoneIds: ${this.ignoreMilestoneIds}`); + console.log(`minimumVotes: ${this.minimumVotes}`); + console.log(`maximumVotes: ${this.maximumVotes}`); + console.log(`involves: ${this.involves}`); + // Both milestone name and milestone Id must be provided and must match. + // The name is used to construct the query, which does not accept ID. + // The ID is used for comparisons with issue data, which does not include the name. + // TODO: Figure out a way to convert either from milestone name to ID, or vice versa. + // If label inclusion and exclusion are mixed, exclusion will take precedence. + // For example, an issue with both labels A and B will not match if B is excluded, even if A is included. + // If a milestoneName/milestoneId are set, ignoreMilenameName/ignoreMilestoneIds are ignored. + // GitHub does not appear to support searching for all issues with milestones (not lacking a milestone). "-no:milestone" does not work. + // GitHub does not appear to support searching for all issues with labels (not lacking a label). "-no:label" does not work. + // All indicated labels must be present + if (this.labels) { + this.labelsSet = (_a = this.labels) === null || _a === void 0 ? void 0 : _a.split(','); + for (const str of this.labelsSet) { + if (str != "") { + query = query.concat(` label:"${str}"`); + } + } + } + // The "involves" qualifier to find issues that in some way involve a certain user. + // It is a logical OR between the author, assignee, and mentions. + if (this.involves) { + this.involvesSet = (_b = this.involves) === null || _b === void 0 ? void 0 : _b.split(','); + for (const str of this.involvesSet) { + if (str != "") { + query = query.concat(` involves:"${str}"`); + } + } + } + if (this.ignoreLabels) { + if (this.ignoreLabels == "*" && !this.labels) { // only if unlabeled + query = query.concat(` no:label`); + this.ignoreAllWithLabels = true; + } + else { + this.ignoreLabelsSet = (_c = this.ignoreLabels) === null || _c === void 0 ? void 0 : _c.split(','); + for (const str of this.ignoreLabelsSet) { + if (str != "") { + query = query.concat(` -label:"${str}"`); + } + } + } + } + if (this.milestoneName) { + query = query.concat(` milestone:"${this.milestoneName}"`); + } + else if (this.ignoreMilestoneNames) { + if (this.ignoreMilestoneNames == "*") { + query = query.concat(` no:milestone`); + this.ignoreAllWithMilestones = true; + } + else if (this.ignoreMilestoneIds) { + this.ignoreMilestoneNamesSet = this.ignoreMilestoneNames.split(','); + this.ignoreMilestoneIdsSet = this.ignoreMilestoneIds.split(','); + for (const str of this.ignoreMilestoneNamesSet) { + if (str != "") { + query = query.concat(` -milestone:"${str}"`); + } + } + } + } + return query; + } + // This is necessary because GitHub sometimes returns incorrect results, + // and because issues may get modified while we are processing them. + validateIssue(issue) { + if (this.ignoreAllWithLabels) { + // Validate that the issue does not have labels + if (issue.labels && issue.labels.length !== 0) { + console.log(`Issue ${issue.number} skipped due to label found after querying for no:label.`); + return false; + } + } + else { + // Make sure all labels we wanted are present. + if ((!issue.labels || issue.labels.length == 0) && this.labelsSet.length > 0) { + console.log(`Issue ${issue.number} skipped due to not having a required label set. No labels found.`); + return false; + } + for (const str of this.labelsSet) { + if (!issue.labels.includes(str)) { + console.log(`Issue ${issue.number} skipped due to not having a required label set.`); + return false; + } + } + // Make sure no labels we wanted to ignore are present. + if (issue.labels && issue.labels.length > 0) { + for (const str of this.ignoreLabelsSet) { + if (issue.labels.includes(str)) { + console.log(`Issue ${issue.number} skipped due to having an ignore label set: ${str}`); + return false; + } + } + } + } + if (this.ignoreAllWithMilestones) { + // Validate that the issue does not have a milestone. + if (issue.milestoneId != null) { + console.log(`Issue ${issue.number} skipped due to milestone found after querying for no:milestone.`); + return false; + } + } + else { + // Make sure milestone is present, if required. + if (this.milestoneId != undefined && issue.milestoneId != +this.milestoneId) { + console.log(`Issue ${issue.number} skipped due to not having required milsetone id ${this.milestoneId}. Had: ${issue.milestoneId}`); + return false; + } + // Make sure a milestones we wanted to ignore is not present. + if (issue.milestoneId != null) { + for (const str of this.ignoreMilestoneIdsSet) { + if (issue.milestoneId == +str) { + console.log(`Issue ${issue.number} skipped due to milestone ${issue.milestoneId} found in list of ignored milestone IDs.`); + return false; + } + } + } + } + // Verify the issue has a sufficient number of upvotes + let upvotes = 0; + if (issue.reactions) { + upvotes = issue.reactions['+1']; + } + if (this.minimumVotes != undefined) { + if (upvotes < this.minimumVotes) { + console.log(`Issue ${issue.number} skipped due to not having at least ${this.minimumVotes} upvotes. Had: ${upvotes}`); + return false; + } + } + // Verify the issue does not have too many upvotes + if (this.maximumVotes != undefined) { + if (upvotes > this.maximumVotes) { + console.log(`Issue ${issue.number} skipped due to having more than ${this.maximumVotes} upvotes. Had: ${upvotes}`); + return false; + } + } + return true; + } +} +exports.ActionBase = ActionBase; //# sourceMappingURL=ActionBase.js.map \ No newline at end of file diff --git a/.github/actions/common/ActionBase.ts b/.github/actions/common/ActionBase.ts index 1f82476d68..3c37624dbe 100644 --- a/.github/actions/common/ActionBase.ts +++ b/.github/actions/common/ActionBase.ts @@ -14,7 +14,8 @@ export class ActionBase { private ignoreMilestoneNames?: string, private ignoreMilestoneIds?: string, private minimumVotes?: number, - private maximumVotes?: number + private maximumVotes?: number, + private involves?: string, ) {} private labelsSet: string[] = []; @@ -23,6 +24,7 @@ export class ActionBase { private ignoreMilestoneIdsSet: string[] = []; private ignoreAllWithLabels: boolean = false; private ignoreAllWithMilestones: boolean = false; + private involvesSet: string[] = []; buildQuery(baseQuery: string): string { let query = baseQuery; @@ -35,6 +37,7 @@ export class ActionBase { console.log(`ignoreMilestoneIds: ${this.ignoreMilestoneIds}`); console.log(`minimumVotes: ${this.minimumVotes}`); console.log(`maximumVotes: ${this.maximumVotes}`); + console.log(`involves: ${this.involves}`); // Both milestone name and milestone Id must be provided and must match. // The name is used to construct the query, which does not accept ID. @@ -59,6 +62,17 @@ export class ActionBase { } } + // The "involves" qualifier to find issues that in some way involve a certain user. + // It is a logical OR between the author, assignee, and mentions. + if (this.involves) { + this.involvesSet = this.involves?.split(','); + for (const str of this.involvesSet) { + if (str != "") { + query = query.concat(` involves:"${str}"`) + } + } + } + if (this.ignoreLabels) { if (this.ignoreLabels == "*" && !this.labels) { // only if unlabeled query = query.concat(` no:label`) diff --git a/.github/workflows/by-design-closer-debugger .yml b/.github/workflows/by-design-closer-debugger .yml new file mode 100644 index 0000000000..45250b4c31 --- /dev/null +++ b/.github/workflows/by-design-closer-debugger .yml @@ -0,0 +1,26 @@ +name: By Design closer - debugger +on: + schedule: + - cron: 10 11 * * * # Run at 11:10 AM UTC (3:10 AM PST, 4:10 AM PDT) + workflow_dispatch: + inputs: + readonly: + description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub" + default: false + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Checkout Actions + uses: actions/checkout@v2 + - name: Install Actions + run: cd ./.github/actions && npm install --production && cd ../.. + - name: Stale Closer + uses: ./.github/actions/StaleCloser + with: + readonly: ${{ github.event.inputs.readonly }} + labels: by design, debugger + ignoreLabels: language service, internal + closeDays: 0 + closeComment: "This issue has been closed automatically because it's labeled as 'by design'." diff --git a/.github/workflows/external-closer-debugger.yml b/.github/workflows/external-closer-debugger.yml new file mode 100644 index 0000000000..955066dcf1 --- /dev/null +++ b/.github/workflows/external-closer-debugger.yml @@ -0,0 +1,26 @@ +name: External closer - debugger +on: + schedule: + - cron: 10 11 * * * # Run at 11:10 AM UTC (3:10 AM PST, 4:10 AM PDT) + workflow_dispatch: + inputs: + readonly: + description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub" + default: false + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Checkout Actions + uses: actions/checkout@v2 + - name: Install Actions + run: cd ./.github/actions && npm install --production && cd ../.. + - name: Stale Closer + uses: ./.github/actions/StaleCloser + with: + readonly: ${{ github.event.inputs.readonly }} + labels: external, debugger + ignoreLabels: language service, internal + closeDays: 0 + closeComment: "This issue has been closed automatically because it's labeled as 'external'." diff --git a/.github/workflows/investigate-closer-debugger.yml b/.github/workflows/investigate-closer-debugger.yml new file mode 100644 index 0000000000..fe5a55fdd4 --- /dev/null +++ b/.github/workflows/investigate-closer-debugger.yml @@ -0,0 +1,26 @@ +name: Investigate closure - debugger +on: + schedule: + - cron: 10 11 * * * # Run at 11:10 AM UTC (3:10 AM PST, 4:10 AM PDT) + workflow_dispatch: + inputs: + readonly: + description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub" + default: false + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Checkout Actions + uses: actions/checkout@v2 + - name: Install Actions + run: cd ./.github/actions && npm install --production && cd ../.. + - name: Stale Closer + uses: ./.github/actions/StaleCloser + with: + readonly: ${{ github.event.inputs.readonly }} + labels: investigate, investigate: costing, debugger + ignoreLabels: language service, internal + closeDays: 180 + closeComment: "This issue has been closed automatically because it has not had recent activity." diff --git a/.github/workflows/more-info-needed-closer-debugger.yml b/.github/workflows/more-info-needed-closer-debugger.yml new file mode 100644 index 0000000000..74ee902783 --- /dev/null +++ b/.github/workflows/more-info-needed-closer-debugger.yml @@ -0,0 +1,29 @@ +name: More Info Needed Closer - debugger +on: + schedule: + - cron: 10 11 * * * # Run at 11:10 AM UTC (3:10 AM PST, 4:10 AM PDT) + workflow_dispatch: + inputs: + readonly: + description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub" + default: false + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Checkout Actions + uses: actions/checkout@v2 + - name: Install Actions + run: cd ./.github/actions && npm install --production && cd ../.. + - name: Stale Closer + uses: ./.github/actions/StaleCloser + with: + readonly: ${{ github.event.inputs.readonly }} + labels: more info needed, debugger + ignoreLabels: language service, internal + involves: wardengnaw, pieandcakes, calgagi + closeDays: 14 + closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity." + pingDays: 7 + pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information." diff --git a/.github/workflows/question-closer-debugger.yml b/.github/workflows/question-closer-debugger.yml new file mode 100644 index 0000000000..e05118d60c --- /dev/null +++ b/.github/workflows/question-closer-debugger.yml @@ -0,0 +1,29 @@ +name: Question Closer - debugger +on: + schedule: + - cron: 20 11 * * * # Run at 11:20 AM UTC (3:20 AM PST, 4:20 AM PDT) + workflow_dispatch: + inputs: + readonly: + description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub" + default: false + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Checkout Actions + uses: actions/checkout@v2 + - name: Install Actions + run: cd ./.github/actions && npm install --production && cd ../.. + - name: Stale Closer + uses: ./.github/actions/StaleCloser + with: + readonly: ${{ github.event.inputs.readonly }} + labels: question, debugger + ignoreLabels: language service, internal + involves: wardengnaw, pieandcakes, calgagi + closeDays: 14 + closeComment: "This issue has been closed automatically because it's labeled as a 'question' and has not had recent activity." + pingDays: 7 + pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the question has been answered." From 0aaf0c5af48c6647ef533fc226bbc12c8e5e780b Mon Sep 17 00:00:00 2001 From: Michelle Matias <38734287+michelleangela@users.noreply.github.com> Date: Tue, 8 Dec 2020 15:58:50 -0800 Subject: [PATCH 27/65] Fix yaml syntax for GitHub actions (#6644) --- .github/actions/common/ActionBase.js | 11 +++++++---- .github/actions/common/ActionBase.ts | 5 ++++- .github/workflows/by-design-closer-debugger .yml | 4 ++-- .github/workflows/external-closer-debugger.yml | 4 ++-- .github/workflows/investigate-closer-debugger.yml | 4 ++-- .../workflows/more-info-needed-closer-debugger.yml | 6 +++--- .github/workflows/question-closer-debugger.yml | 6 +++--- 7 files changed, 23 insertions(+), 17 deletions(-) diff --git a/.github/actions/common/ActionBase.js b/.github/actions/common/ActionBase.js index 518dcf194c..90a4d891b2 100644 --- a/.github/actions/common/ActionBase.js +++ b/.github/actions/common/ActionBase.js @@ -25,7 +25,7 @@ class ActionBase { this.involvesSet = []; } buildQuery(baseQuery) { - var _a, _b, _c; + var _a, _b, _c, _d, _e, _f; let query = baseQuery; console.log(`labels: ${this.labels}`); console.log(`milestoneName: ${this.milestoneName}`); @@ -47,7 +47,10 @@ class ActionBase { // GitHub does not appear to support searching for all issues with labels (not lacking a label). "-no:label" does not work. // All indicated labels must be present if (this.labels) { - this.labelsSet = (_a = this.labels) === null || _a === void 0 ? void 0 : _a.split(','); + if (((_a = this.labels) === null || _a === void 0 ? void 0 : _a.length) > 2 && ((_b = this.labels) === null || _b === void 0 ? void 0 : _b.startsWith('"')) && ((_c = this.labels) === null || _c === void 0 ? void 0 : _c.endsWith('"'))) { + this.labels = this.labels.substring(1, this.labels.length - 2); + } + this.labelsSet = (_d = this.labels) === null || _d === void 0 ? void 0 : _d.split(','); for (const str of this.labelsSet) { if (str != "") { query = query.concat(` label:"${str}"`); @@ -57,7 +60,7 @@ class ActionBase { // The "involves" qualifier to find issues that in some way involve a certain user. // It is a logical OR between the author, assignee, and mentions. if (this.involves) { - this.involvesSet = (_b = this.involves) === null || _b === void 0 ? void 0 : _b.split(','); + this.involvesSet = (_e = this.involves) === null || _e === void 0 ? void 0 : _e.split(','); for (const str of this.involvesSet) { if (str != "") { query = query.concat(` involves:"${str}"`); @@ -70,7 +73,7 @@ class ActionBase { this.ignoreAllWithLabels = true; } else { - this.ignoreLabelsSet = (_c = this.ignoreLabels) === null || _c === void 0 ? void 0 : _c.split(','); + this.ignoreLabelsSet = (_f = this.ignoreLabels) === null || _f === void 0 ? void 0 : _f.split(','); for (const str of this.ignoreLabelsSet) { if (str != "") { query = query.concat(` -label:"${str}"`); diff --git a/.github/actions/common/ActionBase.ts b/.github/actions/common/ActionBase.ts index 3c37624dbe..95443aa3c7 100644 --- a/.github/actions/common/ActionBase.ts +++ b/.github/actions/common/ActionBase.ts @@ -54,10 +54,13 @@ export class ActionBase { // All indicated labels must be present if (this.labels) { + if (this.labels?.length > 2 && this.labels?.startsWith('"') && this.labels?.endsWith('"')) { + this.labels = this.labels.substring(1, this.labels.length - 2); + } this.labelsSet = this.labels?.split(','); for (const str of this.labelsSet) { if (str != "") { - query = query.concat(` label:"${str}"`) + query = query.concat(` label:"${str}"`); } } } diff --git a/.github/workflows/by-design-closer-debugger .yml b/.github/workflows/by-design-closer-debugger .yml index 45250b4c31..fd88280b34 100644 --- a/.github/workflows/by-design-closer-debugger .yml +++ b/.github/workflows/by-design-closer-debugger .yml @@ -20,7 +20,7 @@ jobs: uses: ./.github/actions/StaleCloser with: readonly: ${{ github.event.inputs.readonly }} - labels: by design, debugger - ignoreLabels: language service, internal + labels: by design,debugger + ignoreLabels: language service,internal closeDays: 0 closeComment: "This issue has been closed automatically because it's labeled as 'by design'." diff --git a/.github/workflows/external-closer-debugger.yml b/.github/workflows/external-closer-debugger.yml index 955066dcf1..b791430166 100644 --- a/.github/workflows/external-closer-debugger.yml +++ b/.github/workflows/external-closer-debugger.yml @@ -20,7 +20,7 @@ jobs: uses: ./.github/actions/StaleCloser with: readonly: ${{ github.event.inputs.readonly }} - labels: external, debugger - ignoreLabels: language service, internal + labels: external,debugger + ignoreLabels: language service,internal closeDays: 0 closeComment: "This issue has been closed automatically because it's labeled as 'external'." diff --git a/.github/workflows/investigate-closer-debugger.yml b/.github/workflows/investigate-closer-debugger.yml index fe5a55fdd4..82f1e62c0f 100644 --- a/.github/workflows/investigate-closer-debugger.yml +++ b/.github/workflows/investigate-closer-debugger.yml @@ -20,7 +20,7 @@ jobs: uses: ./.github/actions/StaleCloser with: readonly: ${{ github.event.inputs.readonly }} - labels: investigate, investigate: costing, debugger - ignoreLabels: language service, internal + labels: "investigate,investigate: costing,debugger" + ignoreLabels: language service,internal closeDays: 180 closeComment: "This issue has been closed automatically because it has not had recent activity." diff --git a/.github/workflows/more-info-needed-closer-debugger.yml b/.github/workflows/more-info-needed-closer-debugger.yml index 74ee902783..0790aecf69 100644 --- a/.github/workflows/more-info-needed-closer-debugger.yml +++ b/.github/workflows/more-info-needed-closer-debugger.yml @@ -20,9 +20,9 @@ jobs: uses: ./.github/actions/StaleCloser with: readonly: ${{ github.event.inputs.readonly }} - labels: more info needed, debugger - ignoreLabels: language service, internal - involves: wardengnaw, pieandcakes, calgagi + labels: more info needed,debugger + ignoreLabels: language service,internal + involves: wardengnaw,pieandcakes,calgagi closeDays: 14 closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity." pingDays: 7 diff --git a/.github/workflows/question-closer-debugger.yml b/.github/workflows/question-closer-debugger.yml index e05118d60c..4979b025b6 100644 --- a/.github/workflows/question-closer-debugger.yml +++ b/.github/workflows/question-closer-debugger.yml @@ -20,9 +20,9 @@ jobs: uses: ./.github/actions/StaleCloser with: readonly: ${{ github.event.inputs.readonly }} - labels: question, debugger - ignoreLabels: language service, internal - involves: wardengnaw, pieandcakes, calgagi + labels: question,debugger + ignoreLabels: language service,internal + involves: wardengnaw,pieandcakes,calgagi closeDays: 14 closeComment: "This issue has been closed automatically because it's labeled as a 'question' and has not had recent activity." pingDays: 7 From c70dc9e93bb6ad2ae0858dd3a3a41b78cbfcccce Mon Sep 17 00:00:00 2001 From: Michelle Matias <38734287+michelleangela@users.noreply.github.com> Date: Tue, 8 Dec 2020 16:41:21 -0800 Subject: [PATCH 28/65] Separate "investigate costing" and "investigate" for debugger issue workflows (#6646) --- .../workflows/investigate-closer-debugger.yml | 4 +-- .../investigate-costing-closer-debugger.yml | 26 +++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/investigate-costing-closer-debugger.yml diff --git a/.github/workflows/investigate-closer-debugger.yml b/.github/workflows/investigate-closer-debugger.yml index 82f1e62c0f..54095929f8 100644 --- a/.github/workflows/investigate-closer-debugger.yml +++ b/.github/workflows/investigate-closer-debugger.yml @@ -1,4 +1,4 @@ -name: Investigate closure - debugger +name: Investigate closer - debugger on: schedule: - cron: 10 11 * * * # Run at 11:10 AM UTC (3:10 AM PST, 4:10 AM PDT) @@ -20,7 +20,7 @@ jobs: uses: ./.github/actions/StaleCloser with: readonly: ${{ github.event.inputs.readonly }} - labels: "investigate,investigate: costing,debugger" + labels: investigate,debugger ignoreLabels: language service,internal closeDays: 180 closeComment: "This issue has been closed automatically because it has not had recent activity." diff --git a/.github/workflows/investigate-costing-closer-debugger.yml b/.github/workflows/investigate-costing-closer-debugger.yml new file mode 100644 index 0000000000..c168640790 --- /dev/null +++ b/.github/workflows/investigate-costing-closer-debugger.yml @@ -0,0 +1,26 @@ +name: Investigate Costing closer - debugger +on: + schedule: + - cron: 10 11 * * * # Run at 11:10 AM UTC (3:10 AM PST, 4:10 AM PDT) + workflow_dispatch: + inputs: + readonly: + description: "readonly: Specify true or 1 to prevent changes from being commited to GitHub" + default: false + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Checkout Actions + uses: actions/checkout@v2 + - name: Install Actions + run: cd ./.github/actions && npm install --production && cd ../.. + - name: Stale Closer + uses: ./.github/actions/StaleCloser + with: + readonly: ${{ github.event.inputs.readonly }} + labels: "investigate: costing,debugger" + ignoreLabels: language service,internal + closeDays: 180 + closeComment: "This issue has been closed automatically because it has not had recent activity." From ab55557ddb9b922d5d17dc983ea908e8ea6ec114 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 8 Dec 2020 19:25:46 -0800 Subject: [PATCH 29/65] Cache call to which.sync('clang-format') (#6645) --- Extension/src/LanguageServer/settings.ts | 10 +++++++++- Extension/src/common.ts | 8 ++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/Extension/src/LanguageServer/settings.ts b/Extension/src/LanguageServer/settings.ts index 700fc958d0..5e9e492422 100644 --- a/Extension/src/LanguageServer/settings.ts +++ b/Extension/src/LanguageServer/settings.ts @@ -6,7 +6,7 @@ import * as vscode from 'vscode'; import { CommentPattern } from './languageConfig'; -import { getExtensionFilePath } from '../common'; +import { getExtensionFilePath, getCachedClangFormatPath, setCachedClangFormatPath } from '../common'; import * as os from 'os'; import * as which from 'which'; import { execSync } from 'child_process'; @@ -74,7 +74,15 @@ export class CppSettings extends Settings { public get clangFormatPath(): string | undefined { let path: string | undefined | null = super.Section.get("clang_format_path"); if (!path) { + const cachedClangFormatPath: string | null | undefined = getCachedClangFormatPath(); + if (cachedClangFormatPath !== undefined) { + if (cachedClangFormatPath === null) { + return undefined; + } + return cachedClangFormatPath; + } path = which.sync('clang-format', { nothrow: true }); + setCachedClangFormatPath(path); if (!path) { return undefined; } else { diff --git a/Extension/src/common.ts b/Extension/src/common.ts index 4de3b55e66..366c72e49b 100644 --- a/Extension/src/common.ts +++ b/Extension/src/common.ts @@ -45,6 +45,14 @@ export function setExtensionPath(path: string): void { extensionPath = path; } +let cachedClangFormatPath: string | null | undefined; +export function getCachedClangFormatPath(): string | null | undefined { + return cachedClangFormatPath; +} +export function setCachedClangFormatPath(path: string | null): void { + cachedClangFormatPath = path; +} + // Use this package.json to read values export const packageJson: any = vscode.extensions.getExtension("ms-vscode.cpptools")?.packageJSON; From f724ae8912e12961869205dd152dc8e6ca345bb8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Dec 2020 15:09:06 -0800 Subject: [PATCH 30/65] Bump ini from 1.3.5 to 1.3.7 in /Extension (#6653) Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Extension/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Extension/yarn.lock b/Extension/yarn.lock index 5eab2fac9e..3b88a15962 100644 --- a/Extension/yarn.lock +++ b/Extension/yarn.lock @@ -2840,9 +2840,9 @@ inherits@2.0.3: integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= ini@^1.3.4, ini@^1.3.5: - version "1.3.5" - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" - integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== + version "1.3.7" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84" + integrity sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ== inquirer@^7.0.0: version "7.0.4" From b7a0279352ae8507da4093972c6603ba1dd63091 Mon Sep 17 00:00:00 2001 From: csigs Date: Mon, 14 Dec 2020 12:45:24 -0800 Subject: [PATCH 31/65] Localization - Translated Strings (#6664) --- .../i18n/chs/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ .../i18n/cht/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ .../i18n/csy/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ .../i18n/deu/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ .../i18n/esn/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ .../i18n/fra/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ .../i18n/ita/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ .../i18n/jpn/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ .../i18n/kor/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ .../i18n/plk/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ .../i18n/ptb/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ .../i18n/rus/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ .../i18n/trk/src/Debugger/extension.i18n.json | 1 + .../LanguageServer/cppBuildTaskProvider.i18n.json | 14 ++++++++++++++ 26 files changed, 195 insertions(+) create mode 100644 Extension/i18n/chs/src/LanguageServer/cppBuildTaskProvider.i18n.json create mode 100644 Extension/i18n/cht/src/LanguageServer/cppBuildTaskProvider.i18n.json create mode 100644 Extension/i18n/csy/src/LanguageServer/cppBuildTaskProvider.i18n.json create mode 100644 Extension/i18n/deu/src/LanguageServer/cppBuildTaskProvider.i18n.json create mode 100644 Extension/i18n/esn/src/LanguageServer/cppBuildTaskProvider.i18n.json create mode 100644 Extension/i18n/fra/src/LanguageServer/cppBuildTaskProvider.i18n.json create mode 100644 Extension/i18n/ita/src/LanguageServer/cppBuildTaskProvider.i18n.json create mode 100644 Extension/i18n/jpn/src/LanguageServer/cppBuildTaskProvider.i18n.json create mode 100644 Extension/i18n/kor/src/LanguageServer/cppBuildTaskProvider.i18n.json create mode 100644 Extension/i18n/plk/src/LanguageServer/cppBuildTaskProvider.i18n.json create mode 100644 Extension/i18n/ptb/src/LanguageServer/cppBuildTaskProvider.i18n.json create mode 100644 Extension/i18n/rus/src/LanguageServer/cppBuildTaskProvider.i18n.json create mode 100644 Extension/i18n/trk/src/LanguageServer/cppBuildTaskProvider.i18n.json diff --git a/Extension/i18n/chs/src/Debugger/extension.i18n.json b/Extension/i18n/chs/src/Debugger/extension.i18n.json index efa67df6e7..bb33e5fa3c 100644 --- a/Extension/i18n/chs/src/Debugger/extension.i18n.json +++ b/Extension/i18n/chs/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "生成和调试活动文件", + "single_file_mode_not_available": "此命令不能用于单文件模式。", "cannot.build.non.cpp": "无法生成和调试,因为活动文件不是 C 或 C++ 源文件。", "no.compiler.found": "未找到编译程序", "select.configuration": "选择配置", diff --git a/Extension/i18n/chs/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/chs/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..51790e171f --- /dev/null +++ b/Extension/i18n/chs/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "生成活动文件", + "compiler_details": "编译器:", + "task_generated_by_debugger": "调试器生成的任务。", + "starting_build": "正在启动生成...", + "build_finished_with_error": "生成已完成,但发生错误", + "build_finished_with_warnings": "生成已完成,但收到警告", + "build finished successfully": "生成已成功完成。" +} \ No newline at end of file diff --git a/Extension/i18n/cht/src/Debugger/extension.i18n.json b/Extension/i18n/cht/src/Debugger/extension.i18n.json index e487153a80..8036febd43 100644 --- a/Extension/i18n/cht/src/Debugger/extension.i18n.json +++ b/Extension/i18n/cht/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "建置及偵錯使用中的檔案", + "single_file_mode_not_available": "此命令不適用於單一檔案模式。", "cannot.build.non.cpp": "因為作用中的檔案不是 C 或 C++ 來源檔案,所以無法建立和偵錯。", "no.compiler.found": "找不到任何編譯器", "select.configuration": "選取組態", diff --git a/Extension/i18n/cht/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/cht/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..72d8e0d9ec --- /dev/null +++ b/Extension/i18n/cht/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "建置使用中檔案", + "compiler_details": "編譯器:", + "task_generated_by_debugger": "偵錯工具產生的工作。", + "starting_build": "正在開始建置...", + "build_finished_with_error": "建置已完成,但出現錯誤", + "build_finished_with_warnings": "建置已完成,但出現警告", + "build finished successfully": "已成功完成建置。" +} \ No newline at end of file diff --git a/Extension/i18n/csy/src/Debugger/extension.i18n.json b/Extension/i18n/csy/src/Debugger/extension.i18n.json index 63e4fa11fe..da2c27181c 100644 --- a/Extension/i18n/csy/src/Debugger/extension.i18n.json +++ b/Extension/i18n/csy/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "Sestavit a ladit aktivní soubor", + "single_file_mode_not_available": "Tento příkaz není pro režim s jedním souborem k dispozici.", "cannot.build.non.cpp": "Sestavení a ladění není možné, protože aktivní soubor není zdrojový soubor jazyka C ani C++.", "no.compiler.found": "Nenašel se žádný kompilátor.", "select.configuration": "Vybrat konfiguraci", diff --git a/Extension/i18n/csy/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/csy/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..9b20f28e91 --- /dev/null +++ b/Extension/i18n/csy/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "sestavit aktivní soubor", + "compiler_details": "kompilátor:", + "task_generated_by_debugger": "Úloha vygenerovaná ladicím programem", + "starting_build": "Spouští se sestavování...", + "build_finished_with_error": "Sestavování se dokončilo s chybami.", + "build_finished_with_warnings": "Sestavování se dokončilo s upozorněními.", + "build finished successfully": "Sestavování se úspěšně dokončilo." +} \ No newline at end of file diff --git a/Extension/i18n/deu/src/Debugger/extension.i18n.json b/Extension/i18n/deu/src/Debugger/extension.i18n.json index 5a4b42ae53..d2e5814451 100644 --- a/Extension/i18n/deu/src/Debugger/extension.i18n.json +++ b/Extension/i18n/deu/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "Aktive Datei erstellen und debuggen", + "single_file_mode_not_available": "Dieser Befehl ist für den Einzeldateimodus nicht verfügbar.", "cannot.build.non.cpp": "Erstellen und Debuggen nicht möglich, da die aktive Datei keine C- oder C++-Quelldatei ist.", "no.compiler.found": "Kein Compiler gefunden.", "select.configuration": "Konfiguration auswählen", diff --git a/Extension/i18n/deu/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/deu/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..63b0b53d1a --- /dev/null +++ b/Extension/i18n/deu/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "Aktive Datei kompilieren", + "compiler_details": "Compiler:", + "task_generated_by_debugger": "Vom Debugger generierte Aufgabe.", + "starting_build": "Kompilierung wird gestartet...", + "build_finished_with_error": "Die Kompilierung wurde mit Fehlern abgeschlossen.", + "build_finished_with_warnings": "Die Kompilierung wurde mit Warnungen abgeschlossen.", + "build finished successfully": "Die Kompilierung wurde erfolgreich abgeschlossen." +} \ No newline at end of file diff --git a/Extension/i18n/esn/src/Debugger/extension.i18n.json b/Extension/i18n/esn/src/Debugger/extension.i18n.json index 18167003f5..ede90898e2 100644 --- a/Extension/i18n/esn/src/Debugger/extension.i18n.json +++ b/Extension/i18n/esn/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "Compilar y depurar el archivo activo", + "single_file_mode_not_available": "Este comando no está disponible para el modo de archivo único.", "cannot.build.non.cpp": "No se puede compilar y depurar código porque el archivo activo no es un archivo de código fuente de C o C++.", "no.compiler.found": "No se encontró ningún compilador", "select.configuration": "Seleccionar una configuración", diff --git a/Extension/i18n/esn/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/esn/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..e644cc54cc --- /dev/null +++ b/Extension/i18n/esn/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "compilar archivo activo", + "compiler_details": "compilador:", + "task_generated_by_debugger": "Tarea generada por el depurador.", + "starting_build": "Iniciando la compilación...", + "build_finished_with_error": "La compilación finalizó con errores.", + "build_finished_with_warnings": "La compilación finalizó con advertencias.", + "build finished successfully": "La compilación finalizó correctamente." +} \ No newline at end of file diff --git a/Extension/i18n/fra/src/Debugger/extension.i18n.json b/Extension/i18n/fra/src/Debugger/extension.i18n.json index 84f02315cc..01a9346494 100644 --- a/Extension/i18n/fra/src/Debugger/extension.i18n.json +++ b/Extension/i18n/fra/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "Générer et déboguer le fichier actif", + "single_file_mode_not_available": "Cette commande n'est pas disponible pour le mode de fichier unique.", "cannot.build.non.cpp": "Génération et débogage impossibles, car le fichier actif n'est pas un fichier source C ou C++.", "no.compiler.found": "Aucun compilateur", "select.configuration": "Sélectionner une configuration", diff --git a/Extension/i18n/fra/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/fra/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..76bfbd64d6 --- /dev/null +++ b/Extension/i18n/fra/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "générer le fichier actif", + "compiler_details": "compilateur :", + "task_generated_by_debugger": "Tâche générée par le débogueur.", + "starting_build": "Démarrage de la génération...", + "build_finished_with_error": "La génération s'est achevée avec une ou plusieurs erreurs", + "build_finished_with_warnings": "La génération s'est achevée avec un ou plusieurs avertissements", + "build finished successfully": "La génération s'est achevée correctement." +} \ No newline at end of file diff --git a/Extension/i18n/ita/src/Debugger/extension.i18n.json b/Extension/i18n/ita/src/Debugger/extension.i18n.json index 5c6469cf60..a010fd34b9 100644 --- a/Extension/i18n/ita/src/Debugger/extension.i18n.json +++ b/Extension/i18n/ita/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "Compila ed esegui il debug del file attivo", + "single_file_mode_not_available": "Questo comando non è disponibile per la modalità file singolo.", "cannot.build.non.cpp": "Non è possibile compilare ed eseguire il debug perché il file attivo non è un file di origine C o C++.", "no.compiler.found": "Non è stato trovato alcun compilatore", "select.configuration": "Seleziona una configurazione", diff --git a/Extension/i18n/ita/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/ita/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..4fee52e093 --- /dev/null +++ b/Extension/i18n/ita/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "compila il file attivo", + "compiler_details": "compilatore:", + "task_generated_by_debugger": "Attività generata dal debugger.", + "starting_build": "Avvio della compilazione...", + "build_finished_with_error": "La compilazione è terminata con uno o più errori", + "build_finished_with_warnings": "La compilazione è terminata con uno o più avvisi", + "build finished successfully": "La compilazione è terminata." +} \ No newline at end of file diff --git a/Extension/i18n/jpn/src/Debugger/extension.i18n.json b/Extension/i18n/jpn/src/Debugger/extension.i18n.json index 19dce8f922..ac9d07f8ca 100644 --- a/Extension/i18n/jpn/src/Debugger/extension.i18n.json +++ b/Extension/i18n/jpn/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "アクティブ ファイルのビルドとデバッグ", + "single_file_mode_not_available": "このコマンドは、単一ファイルモードでは使用できません。", "cannot.build.non.cpp": "アクティブ ファイルが C または C++ ソース ファイルではないため、ビルドおよびデバッグできません。", "no.compiler.found": "コンパイラが見つかりませんでした", "select.configuration": "構成の選択", diff --git a/Extension/i18n/jpn/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/jpn/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..8f6c80c97e --- /dev/null +++ b/Extension/i18n/jpn/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "アクティブなファイルのビルド", + "compiler_details": "コンパイラ:", + "task_generated_by_debugger": "デバッガーによって生成されたタスク。", + "starting_build": "ビルドを開始しています...", + "build_finished_with_error": "ビルドが完了しましたが、エラーが発生しました", + "build_finished_with_warnings": "ビルドが完了しましたが、警告が発生しました", + "build finished successfully": "ビルドが正常に完了しました。" +} \ No newline at end of file diff --git a/Extension/i18n/kor/src/Debugger/extension.i18n.json b/Extension/i18n/kor/src/Debugger/extension.i18n.json index 2d0d53a5b9..428701af0e 100644 --- a/Extension/i18n/kor/src/Debugger/extension.i18n.json +++ b/Extension/i18n/kor/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "활성 파일 빌드 및 디버그", + "single_file_mode_not_available": "단일 파일 모드에서는 이 명령을 사용할 수 없습니다.", "cannot.build.non.cpp": "활성 파일이 C 또는 C++ 소스 파일이 아니므로 빌드 및 디버그할 수 없습니다.", "no.compiler.found": "컴파일러를 찾을 수 없음", "select.configuration": "구성 선택", diff --git a/Extension/i18n/kor/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/kor/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..385f51e351 --- /dev/null +++ b/Extension/i18n/kor/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "활성 파일 빌드", + "compiler_details": "컴파일러:", + "task_generated_by_debugger": "디버거에서 생성된 작업입니다.", + "starting_build": "빌드를 시작하는 중...", + "build_finished_with_error": "빌드가 완료되었지만, 오류가 발생했습니다.", + "build_finished_with_warnings": "빌드가 완료되었지만, 경고가 발생했습니다.", + "build finished successfully": "빌드가 완료되었습니다." +} \ No newline at end of file diff --git a/Extension/i18n/plk/src/Debugger/extension.i18n.json b/Extension/i18n/plk/src/Debugger/extension.i18n.json index 5ed4522251..1b4d2a8a2e 100644 --- a/Extension/i18n/plk/src/Debugger/extension.i18n.json +++ b/Extension/i18n/plk/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "Kompiluj i debuguj aktywny plik", + "single_file_mode_not_available": "To polecenie nie jest dostępne dla trybu pojedynczego pliku.", "cannot.build.non.cpp": "Nie można skompilować i debugować, ponieważ aktywny plik nie jest plikiem źródłowym języka C lub C++.", "no.compiler.found": "Nie znaleziono kompilatora", "select.configuration": "Wybierz konfigurację", diff --git a/Extension/i18n/plk/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/plk/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..07b81631fc --- /dev/null +++ b/Extension/i18n/plk/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "kompiluj aktywny plik", + "compiler_details": "kompilator:", + "task_generated_by_debugger": "Zadanie wygenerowane przez debuger.", + "starting_build": "Trwa uruchamianie kompilacji...", + "build_finished_with_error": "Kompilacja została zakończona z błędami", + "build_finished_with_warnings": "Kompilacja została zakończona z ostrzeżeniami", + "build finished successfully": "Kompilacja została zakończona pomyślnie." +} \ No newline at end of file diff --git a/Extension/i18n/ptb/src/Debugger/extension.i18n.json b/Extension/i18n/ptb/src/Debugger/extension.i18n.json index d84fd86bbc..b0d13d521b 100644 --- a/Extension/i18n/ptb/src/Debugger/extension.i18n.json +++ b/Extension/i18n/ptb/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "Criar e depurar o arquivo ativo", + "single_file_mode_not_available": "Este comando não está disponível para o modo de arquivo único.", "cannot.build.non.cpp": "Não é possível criar e depurar porque o arquivo ativo não é um arquivo de origem C ou C++.", "no.compiler.found": "Nenhum compilador encontrado", "select.configuration": "Selecionar uma configuração", diff --git a/Extension/i18n/ptb/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/ptb/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..158426aff8 --- /dev/null +++ b/Extension/i18n/ptb/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "arquivo de build ativo", + "compiler_details": "compilador:", + "task_generated_by_debugger": "Tarefa gerada pelo Depurador.", + "starting_build": "Iniciando o build...", + "build_finished_with_error": "Build concluído com erros", + "build_finished_with_warnings": "Build concluído com avisos", + "build finished successfully": "Build concluído com êxito." +} \ No newline at end of file diff --git a/Extension/i18n/rus/src/Debugger/extension.i18n.json b/Extension/i18n/rus/src/Debugger/extension.i18n.json index 78452a97f0..7ff39da016 100644 --- a/Extension/i18n/rus/src/Debugger/extension.i18n.json +++ b/Extension/i18n/rus/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "Сборка и отладка активного файла", + "single_file_mode_not_available": "Эта команда недоступна для однофайлового режима.", "cannot.build.non.cpp": "Не удается выполнить сборку и отладку, так как активный файл не является исходным файлом C или C++.", "no.compiler.found": "Компилятор не найден", "select.configuration": "Выберите конфигурацию.", diff --git a/Extension/i18n/rus/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/rus/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..8d1097e813 --- /dev/null +++ b/Extension/i18n/rus/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "сборка активного файла", + "compiler_details": "компилятор:", + "task_generated_by_debugger": "Задача создана отладчиком.", + "starting_build": "Запуск сборки…", + "build_finished_with_error": "Сборка завершена с ошибками.", + "build_finished_with_warnings": "Сборка завершена с предупреждениями.", + "build finished successfully": "Сборка завершена." +} \ No newline at end of file diff --git a/Extension/i18n/trk/src/Debugger/extension.i18n.json b/Extension/i18n/trk/src/Debugger/extension.i18n.json index 1b77502133..889ec02730 100644 --- a/Extension/i18n/trk/src/Debugger/extension.i18n.json +++ b/Extension/i18n/trk/src/Debugger/extension.i18n.json @@ -5,6 +5,7 @@ // Do not edit this file. It is machine generated. { "build.and.debug.active.file": "Etkin dosyayı derle ve dosyada hata ayıkla", + "single_file_mode_not_available": "Bu komut, tek dosya modu için uygun değil.", "cannot.build.non.cpp": "Etkin dosya bir C ya da C++ kaynak dosyası olmadığından derleme veya hata ayıklama yapılamıyor.", "no.compiler.found": "Derleyici bulunamadı", "select.configuration": "Yapılandırma seçin", diff --git a/Extension/i18n/trk/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/trk/src/LanguageServer/cppBuildTaskProvider.i18n.json new file mode 100644 index 0000000000..db33856b4f --- /dev/null +++ b/Extension/i18n/trk/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -0,0 +1,14 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +// Do not edit this file. It is machine generated. +{ + "build_active_file": "etkin dosyayı derle", + "compiler_details": "derleyici:", + "task_generated_by_debugger": "Hata Ayıklayıcısı tarafından oluşturulan görev.", + "starting_build": "Derleme başlatılıyor...", + "build_finished_with_error": "Derleme hatalarla tamamlandı", + "build_finished_with_warnings": "Derleme uyarlılarla tamamlandı", + "build finished successfully": "Derleme başarıyla tamamlandı." +} \ No newline at end of file From 26726df57815ff278caebfbb91b1a75f4337e042 Mon Sep 17 00:00:00 2001 From: Elaheh Rashedi Date: Mon, 14 Dec 2020 13:48:17 -0800 Subject: [PATCH 32/65] check for valid user compiler path (#6606) * valid user compiler path * fix lint error --- Extension/src/LanguageServer/cppBuildTaskProvider.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Extension/src/LanguageServer/cppBuildTaskProvider.ts b/Extension/src/LanguageServer/cppBuildTaskProvider.ts index fa93b334b0..a48aff428d 100644 --- a/Extension/src/LanguageServer/cppBuildTaskProvider.ts +++ b/Extension/src/LanguageServer/cppBuildTaskProvider.ts @@ -142,9 +142,12 @@ export class CppBuildTaskProvider implements TaskProvider { if (knownCompilerPaths) { result = knownCompilerPaths.map(compilerPath => this.getTask(compilerPath, appendSourceToName, undefined)); } - // Task for user compiler path setting + // Task for valid user compiler path setting if (userCompilerPath) { - result.push(this.getTask(userCompilerPath, appendSourceToName, userCompilerPathAndArgs?.additionalArgs)); + const isCompilerValid: boolean = await util.checkFileExists(userCompilerPath); + if (isCompilerValid) { + result.push(this.getTask(userCompilerPath, appendSourceToName, userCompilerPathAndArgs?.additionalArgs)); + } } return result; } From 805f884b173ff7e4439915a32b116e63ed8ca62b Mon Sep 17 00:00:00 2001 From: Colen Garoutte-Carson <49173979+Colengms@users.noreply.github.com> Date: Mon, 14 Dec 2020 16:22:31 -0800 Subject: [PATCH 33/65] Handle inactive regions when determining folding ranges (#6667) --- Extension/cpptools.json | 2 +- Extension/package.json | 8 ++++---- .../Providers/foldingRangeProvider.ts | 7 +++++++ Extension/src/LanguageServer/client.ts | 15 +++++++++++---- Extension/yarn.lock | 8 ++++---- 5 files changed, 27 insertions(+), 13 deletions(-) diff --git a/Extension/cpptools.json b/Extension/cpptools.json index af505dc67c..9e72e62ee3 100644 --- a/Extension/cpptools.json +++ b/Extension/cpptools.json @@ -4,5 +4,5 @@ "recursiveIncludes": 100, "gotoDefIntelliSense": 100, "enhancedColorization": 100, - "minimumVSCodeVersion": "1.49.0" + "minimumVSCodeVersion": "1.52.0" } \ No newline at end of file diff --git a/Extension/package.json b/Extension/package.json index 924df004b8..265964ee67 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -11,7 +11,7 @@ }, "license": "SEE LICENSE IN LICENSE.txt", "engines": { - "vscode": "^1.49.0" + "vscode": "^1.52.0" }, "bugs": { "url": "https://github.com/Microsoft/vscode-cpptools/issues", @@ -2276,7 +2276,7 @@ "property.static": [ "variable.other.property.static" ], - "member.static": [ + "method.static": [ "entity.name.function.member.static" ], "macro": [ @@ -2352,7 +2352,7 @@ "@types/plist": "^3.0.2", "@types/semver": "^7.1.0", "@types/tmp": "^0.1.0", - "@types/vscode": "1.49.0", + "@types/vscode": "1.52.0", "@types/webpack": "^4.39.0", "@types/which": "^1.3.2", "@types/yauzl": "^2.9.1", @@ -2679,4 +2679,4 @@ "integrity": "CF1A01AA75275F76800F6BC1D289F2066DCEBCD983376D344ABF6B03FDB8FEA0" } ] -} +} \ No newline at end of file diff --git a/Extension/src/LanguageServer/Providers/foldingRangeProvider.ts b/Extension/src/LanguageServer/Providers/foldingRangeProvider.ts index 4ee4a908f5..e79a996644 100644 --- a/Extension/src/LanguageServer/Providers/foldingRangeProvider.ts +++ b/Extension/src/LanguageServer/Providers/foldingRangeProvider.ts @@ -7,8 +7,11 @@ import { DefaultClient, GetFoldingRangesParams, GetFoldingRangesRequest, Folding export class FoldingRangeProvider implements vscode.FoldingRangeProvider { private client: DefaultClient; + public onDidChangeFoldingRangesEvent = new vscode.EventEmitter(); + public onDidChangeFoldingRanges?: vscode.Event; constructor(client: DefaultClient) { this.client = client; + this.onDidChangeFoldingRanges = this.onDidChangeFoldingRangesEvent.event; } provideFoldingRanges(document: vscode.TextDocument, context: vscode.FoldingContext, token: vscode.CancellationToken): Promise { @@ -52,4 +55,8 @@ export class FoldingRangeProvider implements vscode.FoldingRangeProvider { }); }); } + + public refresh(): void { + this.onDidChangeFoldingRangesEvent.fire(); + } } diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 361867f9e5..9087b726b5 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -399,7 +399,7 @@ enum SemanticTokenTypes { referenceType = 5, valueType = 6, function = 7, - member = 8, + method = 8, property = 9, cliProperty = 10, event = 11, @@ -606,6 +606,7 @@ export class DefaultClient implements Client { private documentFormattingProviderDisposable: vscode.Disposable | undefined; private formattingRangeProviderDisposable: vscode.Disposable | undefined; private onTypeFormattingProviderDisposable: vscode.Disposable | undefined; + private codeFoldingProvider: FoldingRangeProvider | undefined; private codeFoldingProviderDisposable: vscode.Disposable | undefined; private semanticTokensProvider: SemanticTokensProvider | undefined; private semanticTokensProviderDisposable: vscode.Disposable | undefined; @@ -838,7 +839,8 @@ export class DefaultClient implements Client { this.onTypeFormattingProviderDisposable = vscode.languages.registerOnTypeFormattingEditProvider(this.documentSelector, new OnTypeFormattingEditProvider(this), ";", "}", "\n"); } if (settings.codeFolding) { - this.codeFoldingProviderDisposable = vscode.languages.registerFoldingRangeProvider(this.documentSelector, new FoldingRangeProvider(this)); + this.codeFoldingProvider = new FoldingRangeProvider(this); + this.codeFoldingProviderDisposable = vscode.languages.registerFoldingRangeProvider(this.documentSelector, this.codeFoldingProvider); } if (settings.enhancedColorization && this.semanticTokensLegend) { this.semanticTokensProvider = new SemanticTokensProvider(this); @@ -1347,16 +1349,18 @@ export class DefaultClient implements Client { } if (changedSettings["codeFolding"]) { if (settings.codeFolding) { - this.codeFoldingProviderDisposable = vscode.languages.registerFoldingRangeProvider(this.documentSelector, new FoldingRangeProvider(this)); + this.codeFoldingProvider = new FoldingRangeProvider(this); + this.codeFoldingProviderDisposable = vscode.languages.registerFoldingRangeProvider(this.documentSelector, this.codeFoldingProvider); } else if (this.codeFoldingProviderDisposable) { this.codeFoldingProviderDisposable.dispose(); this.codeFoldingProviderDisposable = undefined; + this.codeFoldingProvider = undefined; } } if (changedSettings["enhancedColorization"]) { if (settings.enhancedColorization && this.semanticTokensLegend) { this.semanticTokensProvider = new SemanticTokensProvider(this); - this.semanticTokensProviderDisposable = vscode.languages.registerDocumentSemanticTokensProvider(this.documentSelector, new SemanticTokensProvider(this), this.semanticTokensLegend); ; + this.semanticTokensProviderDisposable = vscode.languages.registerDocumentSemanticTokensProvider(this.documentSelector, this.semanticTokensProvider, this.semanticTokensLegend); ; } else if (this.semanticTokensProviderDisposable) { this.semanticTokensProviderDisposable.dispose(); this.semanticTokensProviderDisposable = undefined; @@ -2162,6 +2166,9 @@ export class DefaultClient implements Client { } } } + if (this.codeFoldingProvider) { + this.codeFoldingProvider.refresh(); + } } public logIntellisenseSetupTime(notification: IntelliSenseSetup): void { diff --git a/Extension/yarn.lock b/Extension/yarn.lock index 3b88a15962..46520202e6 100644 --- a/Extension/yarn.lock +++ b/Extension/yarn.lock @@ -204,10 +204,10 @@ dependencies: source-map "^0.6.1" -"@types/vscode@1.49.0": - version "1.49.0" - resolved "https://registry.yarnpkg.com/@types/vscode/-/vscode-1.49.0.tgz#f3731d97d7e8b2697510eb26f6e6d04ee8c17352" - integrity sha512-wfNQmLmm1VdMBr6iuNdprWmC1YdrgZ9dQzadv+l2eSjJlElOdJw8OTm4RU4oGTBcfvG6RZI2jOcppkdSS18mZw== +"@types/vscode@1.52.0": + version "1.52.0" + resolved "https://registry.yarnpkg.com/@types/vscode/-/vscode-1.52.0.tgz#61917968dd403932127fc4004a21fd8d69e4f61c" + integrity sha512-Kt3bvWzAvvF/WH9YEcrCICDp0Z7aHhJGhLJ1BxeyNP6yRjonWqWnAIh35/pXAjswAnWOABrYlF7SwXR9+1nnLA== "@types/webpack-sources@*": version "0.1.6" From 72c9f2115e5c9db62c4aa9b8c55a5766898a6985 Mon Sep 17 00:00:00 2001 From: Elaheh Rashedi Date: Thu, 17 Dec 2020 16:04:38 -0800 Subject: [PATCH 34/65] change master to main (#6679) * change master to main * master to main --- .github/workflows/ci_linux.yml | 4 ++-- .github/workflows/ci_mac.yml | 4 ++-- .github/workflows/ci_windows.yml | 4 ++-- Build/lldb-mi/lldb-mi.yml | 2 +- CONTRIBUTING.md | 4 ++-- Extension/CHANGELOG.md | 2 +- Extension/README.md | 2 +- Extension/package.json | 2 +- Extension/test/unitTests/updowngrade.test.ts | 12 ++++++------ Extension/translations_auto_pr.js | 8 ++++---- README.md | 2 +- Themes/README.md | 4 ++-- 12 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci_linux.yml b/.github/workflows/ci_linux.yml index c5da867fc7..3d04416bd4 100644 --- a/.github/workflows/ci_linux.yml +++ b/.github/workflows/ci_linux.yml @@ -2,9 +2,9 @@ name: CI (Linux) on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: diff --git a/.github/workflows/ci_mac.yml b/.github/workflows/ci_mac.yml index a5e794dda4..7a33a17807 100644 --- a/.github/workflows/ci_mac.yml +++ b/.github/workflows/ci_mac.yml @@ -2,9 +2,9 @@ name: CI (Mac) on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: diff --git a/.github/workflows/ci_windows.yml b/.github/workflows/ci_windows.yml index 5cfccedc98..3454f56800 100644 --- a/.github/workflows/ci_windows.yml +++ b/.github/workflows/ci_windows.yml @@ -2,9 +2,9 @@ name: CI (Windows) on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: diff --git a/Build/lldb-mi/lldb-mi.yml b/Build/lldb-mi/lldb-mi.yml index ee3751b767..80cde6ca2f 100644 --- a/Build/lldb-mi/lldb-mi.yml +++ b/Build/lldb-mi/lldb-mi.yml @@ -6,7 +6,7 @@ variables: llvm_additional_parameters: "-DLLDB_RELOCATABLE_PYTHON=1 -DLLDB_INCLUDE_TESTS=OFF -DLLDB_BUILD_FRAMEWORK=1" # TODO: fix lldb_mi_repo and lldb_mi_branch (https://github.com/lldb-tools/lldb-mi/pull/37 and https://github.com/lldb-tools/lldb-mi/pull/39) lldb_mi_repo: https://github.com/WardenGnaw/lldb-mi # TODO: Change to lldb-tools - lldb_mi_branch: release/cpptools # TODO: Change to master + lldb_mi_branch: release/cpptools # TODO: Change to main lldb_mi_additional_parameters: "-DUSE_LLDB_FRAMEWORK=1" jobs: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8f0061029d..50d9a5f0df 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,14 +6,14 @@ * File an [issue](https://github.com/Microsoft/vscode-cpptools/issues) and a [pull request](https://github.com/Microsoft/vscode-cpptools/pulls) with the change and we will review it. * If the change affects functionality, add a line describing the change to [**CHANGELOG.md**](Extension/CHANGELOG.md). * Try and add a test in [**test/extension.test.ts**](Extension/test/unitTests/extension.test.ts). -* Run tests via opening the [**Extension**](https://github.com/Microsoft/vscode-cpptools/tree/master/Extension) folder in Visual Studio Code, selecting the "Launch Tests" configuration in the Debug pane, and choosing "Start Debugging". +* Run tests via opening the [**Extension**](https://github.com/Microsoft/vscode-cpptools/tree/main/Extension) folder in Visual Studio Code, selecting the "Launch Tests" configuration in the Debug pane, and choosing "Start Debugging". ## About the Code * Execution starts in the `activate` method in [**main.ts**](Extension/src/main.ts). * `processRuntimeDependencies` handles the downloading and installation of the OS-dependent files. Downloading code exists in [**packageManager.ts**](Extension/src/packageManager.ts). * `downloadCpptoolsJsonPkg` handles the **cpptools.json**, which can be used to enable changes to occur mid-update, such as turning the `intelliSenseEngine` to `"Default"` for a certain percentage of users. -* The debugger code is in the [**Debugger**](https://github.com/Microsoft/vscode-cpptools/tree/master/Extension/src/Debugger) folder. +* The debugger code is in the [**Debugger**](https://github.com/Microsoft/vscode-cpptools/tree/main/Extension/src/Debugger) folder. * [**LanguageServer/client.ts**](Extension/src/LanguageServer/client.ts) handles various language server functionality. * [**LanguageServer/configurations.ts**](Extension/src/LanguageServer/configurations.ts) handles functionality related to **c_cpp_properties.json**. * [**telemetry.ts**](Extension/src/telemetry.ts): Telemetry data gets sent to either `logLanguageServerEvent` or `logDebuggerEvent`. diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 6478a3ea18..dadccfe14b 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -444,7 +444,7 @@ ## Version 0.24.0: July 3, 2019 ### New Features -* Semantic colorization [Documentation](https://github.com/microsoft/vscode-cpptools/blob/master/Documentation/LanguageServer/colorization.md) [#230](https://github.com/microsoft/vscode-cpptools/issues/230) +* Semantic colorization [Documentation](https://github.com/microsoft/vscode-cpptools/blob/main/Documentation/LanguageServer/colorization.md) [#230](https://github.com/microsoft/vscode-cpptools/issues/230) * Add `Rescan Workspace` command. [microsoft/vscode-cpptools-api#11](https://github.com/microsoft/vscode-cpptools-api/issues/11) ### Enhancements diff --git a/Extension/README.md b/Extension/README.md index 7c8b37fad0..a5fbaa9843 100644 --- a/Extension/README.md +++ b/Extension/README.md @@ -1,6 +1,6 @@ # C/C++ for Visual Studio Code -#### [Repository](https://github.com/microsoft/vscode-cpptools)  |  [Issues](https://github.com/microsoft/vscode-cpptools/issues)  |  [Documentation](https://code.visualstudio.com/docs/languages/cpp)  |  [Code Samples](https://github.com/microsoft/vscode-cpptools/tree/master/Code%20Samples)  |  [Offline Installers](https://github.com/microsoft/vscode-cpptools/releases) +#### [Repository](https://github.com/microsoft/vscode-cpptools)  |  [Issues](https://github.com/microsoft/vscode-cpptools/issues)  |  [Documentation](https://code.visualstudio.com/docs/languages/cpp)  |  [Code Samples](https://github.com/microsoft/vscode-cpptools/tree/main/Code%20Samples)  |  [Offline Installers](https://github.com/microsoft/vscode-cpptools/releases) [![Badge](https://aka.ms/vsls-badge)](https://aka.ms/vsls) diff --git a/Extension/package.json b/Extension/package.json index 265964ee67..327895d60c 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -2,7 +2,7 @@ "name": "cpptools", "displayName": "C/C++", "description": "C/C++ IntelliSense, debugging, and code browsing.", - "version": "1.1.3-master", + "version": "1.1.3-main", "publisher": "ms-vscode", "icon": "LanguageCCPP_color_128x.png", "readme": "README.md", diff --git a/Extension/test/unitTests/updowngrade.test.ts b/Extension/test/unitTests/updowngrade.test.ts index 47e27de38b..c3480bfde5 100644 --- a/Extension/test/unitTests/updowngrade.test.ts +++ b/Extension/test/unitTests/updowngrade.test.ts @@ -58,14 +58,14 @@ suite("UpgradeDowngrade", () => { const targetBuild: Build | undefined = getTargetBuild(builds, userVersion, updateChannel, false); assert.equal(targetBuild, undefined); }); - test("Release to Insider (master)", () => { + test("Release to Insider (main)", () => { const builds: Build[] = [{ name: insider3, assets: three_assets}, { name: insider2, assets: three_assets}, { name: insider1, assets: three_assets}, { name: release0, assets: three_assets}]; - // In internal testing, the name of the release has a "-master" at the end of it. - const userVersion: PackageVersion = new PackageVersion(release1 + "-master"); + // In internal testing, the name of the release has a "-main" at the end of it. + const userVersion: PackageVersion = new PackageVersion(release1 + "-main"); const targetBuild: Build | undefined = getTargetBuild(builds, userVersion, updateChannel, false); assert.equal(targetBuild, undefined); }); @@ -104,14 +104,14 @@ suite("UpgradeDowngrade", () => { const targetBuild: Build | undefined = getTargetBuild(builds, userVersion, updateChannel, false); assert.equal(targetBuild, undefined); }); - test("Release to Insider (master)", () => { + test("Release to Insider (main)", () => { const builds: Build[] = [{ name: insider3, assets: three_assets}, { name: insider2, assets: three_assets}, { name: insider1, assets: three_assets}, { name: release0, assets: three_assets}]; - // In internal testing, the name of the release has a "-master" at the end of it. - const userVersion: PackageVersion = new PackageVersion(release1 + "-master"); + // In internal testing, the name of the release has a "-main" at the end of it. + const userVersion: PackageVersion = new PackageVersion(release1 + "-main"); const targetBuild: Build | undefined = getTargetBuild(builds, userVersion, updateChannel, false); assert.equal(targetBuild, undefined); }); diff --git a/Extension/translations_auto_pr.js b/Extension/translations_auto_pr.js index 1cf158d49d..5a3903f56e 100644 --- a/Extension/translations_auto_pr.js +++ b/Extension/translations_auto_pr.js @@ -6,7 +6,7 @@ const Octokit = require('@octokit/rest') const path = require('path'); const branchName = 'localization'; -const mergeTo = 'master'; +const mergeTo = 'main'; const commitComment = 'Localization - Translated Strings'; const pullRequestTitle = '[Auto] Localization - Translated Strings'; @@ -92,7 +92,7 @@ if (!hasAnyChanges()) { console.log("Changes detected"); -console.log(`Ensure master ref is up to date locally (git fetch)`); +console.log(`Ensure main ref is up to date locally (git fetch)`); cp.execSync('git fetch'); // Remove old localization branch, if any @@ -151,8 +151,8 @@ octokit.pulls.list({ owner: repoOwner, repo: repoName }).then(({data}) => { cp.execSync('git remote remove origin'); cp.execSync(`git remote add origin https://github.com/${repoOwner}/${repoName}.git`); - console.log(`Switching back to master (git checkout master)`); - cp.execSync('git checkout master'); + console.log(`Switching back to main (git checkout main)`); + cp.execSync('git checkout main'); console.log(`Remove localization branch (git branch -D localization)`); cp.execSync('git branch -D localization'); diff --git a/README.md b/README.md index 3a6c9eb0d7..0d7392b1da 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # C/C++ for Visual Studio Code -#### [Repository](https://github.com/microsoft/vscode-cpptools)  |  [Issues](https://github.com/microsoft/vscode-cpptools/issues)  |  [Documentation](https://code.visualstudio.com/docs/languages/cpp)  |  [Code Samples](https://github.com/microsoft/vscode-cpptools/tree/master/Code%20Samples)  |  [Offline Installers](https://github.com/microsoft/vscode-cpptools/releases) +#### [Repository](https://github.com/microsoft/vscode-cpptools)  |  [Issues](https://github.com/microsoft/vscode-cpptools/issues)  |  [Documentation](https://code.visualstudio.com/docs/languages/cpp)  |  [Code Samples](https://github.com/microsoft/vscode-cpptools/tree/main/Code%20Samples)  |  [Offline Installers](https://github.com/microsoft/vscode-cpptools/releases) [![Badge](https://aka.ms/vsls-badge)](https://aka.ms/vsls) diff --git a/Themes/README.md b/Themes/README.md index b34aee95f9..bf4e7c4700 100644 --- a/Themes/README.md +++ b/Themes/README.md @@ -10,11 +10,11 @@ VS Code has since provided an API for semantic colorization. The C/C++ Extension Light Theme -![Light Theme example](https://github.com/Microsoft/vscode-cpptools/raw/master/Themes/assets/light.png) +![Light Theme example](https://github.com/Microsoft/vscode-cpptools/raw/main/Themes/assets/light.png) Dark Theme -![Dark Theme example](https://github.com/Microsoft/vscode-cpptools/raw/master/Themes/assets/dark.png) +![Dark Theme example](https://github.com/Microsoft/vscode-cpptools/raw/main/Themes/assets/dark.png) ## Contributing From 2ad35c83c0df5462aa85b350fea52fc1f23ef07d Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 21 Dec 2020 13:04:06 -0800 Subject: [PATCH 35/65] Add IntelliSense crashed string and update changelog (#6674) * Add IntelliSense crashed string. * Update changelog. --- Extension/CHANGELOG.md | 50 ++++++++++++++++++++++++++++++++ Extension/src/nativeStrings.json | 4 +-- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index dadccfe14b..52693953a6 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,5 +1,55 @@ # C/C++ for Visual Studio Code Change Log +## Version 1.2.0-preview: Decemeber 21, 2020 +### Enhancements +* Add command `Generate EditorConfig contents from VC Format settings`. [#6018](https://github.com/microsoft/vscode-cpptools/issues/6018) + +### Bug Fixes +* Fix handling of `--sysroot` and `-isysroot` with `compileCommands`. [#1575](https://github.com/microsoft/vscode-cpptools/issues/1575) +* Fix IntelliSense involving overflow for unsigned int values. [#2202](https://github.com/microsoft/vscode-cpptools/issues/2202) +* Fix IntelliSense not switching the language mode after changing C versus C++ `files.associations`. [#2557](https://github.com/microsoft/vscode-cpptools/issues/2557) +* Fix #include completion not sorting _ last. [#3465](https://github.com/microsoft/vscode-cpptools/issues/3465) +* Fix crash when certain JavaScript files are parsed as C++. [#3858](https://github.com/microsoft/vscode-cpptools/issues/3858) +* Fix IntelliSense squiggle about not being able to assign to an object of its own type. [#3883](https://github.com/microsoft/vscode-cpptools/issues/3883) +* Fix hover and Find All References for template function overloads. [#4044[(https://github.com/microsoft/vscode-cpptools/issues/4044), [#4249](https://github.com/microsoft/vscode-cpptools/issues/4249) +* Fix the Outline view for nested namespaces. [#4456](https://github.com/microsoft/vscode-cpptools/issues/4456) +* Fix Outline view with`"**/.*"` in `files.exclude`. [#4602](https://github.com/microsoft/vscode-cpptools/issues/4602) +* Fix the Outline view for nested structs/classes. [#4781](https://github.com/microsoft/vscode-cpptools/issues/4871) +* Fix code folding incorrectly matching an inactive }. [#5429](https://github.com/microsoft/vscode-cpptools/issues/5429) +* Fix IntelliSense clang version for Apple clang. [#5500](https://github.com/microsoft/vscode-cpptools/issues/5500) +* Automatically configure to use a custom configuration provider if available and no other configuration exists. [#6150](https://github.com/microsoft/vscode-cpptools/issues/6150) +* Fix IntelliSense crashing with cl.exe with C++20 and span. [#6251](https://github.com/microsoft/vscode-cpptools/issues/6251) +* Stop querying unsupported compilers. [#6314](https://github.com/microsoft/vscode-cpptools/issues/6314) +* Fix IntelliSense crash with coroutines. [#6363](https://github.com/microsoft/vscode-cpptools/issues/6363) +* Add localized strings for `cppbuild` tasks. [#6436](https://github.com/microsoft/vscode-cpptools/issues/6436) +* Fix IntelliSense squiggle with C++20 non-type templates. [#6462](https://github.com/microsoft/vscode-cpptools/issues/6462) +* Fix `compilerArgs` processing with `-MF` and other multi-arg arguments. [#6478](https://github.com/microsoft/vscode-cpptools/issues/6478) +* Fix bug causing `Unable to read process.env.HOME`. [#6468](https://github.com/microsoft/vscode-cpptools/issues/6468) +* Fix gcc problem matcher when the column is missing. + * @guntern [PR #6490](https://github.com/microsoft/vscode-cpptools/pull/6490) +* Disable Insiders prompt for Codespaces. [#6491](https://github.com/microsoft/vscode-cpptools/issues/6491) +* Fix `compile_commands.json` not working correctly for `*.C` files. [#6497](https://github.com/microsoft/vscode-cpptools/issues/6497) +* Fix IntelliSense crash with a parenthesized type followed by an initializer list. [#6554](https://github.com/microsoft/vscode-cpptools/issues/6554), [#6624](https://github.com/microsoft/vscode-cpptools/issues/6624) +* Fix IntelliSense updating after pasting multi-line code. [#6565](https://github.com/microsoft/vscode-cpptools/issues/6565) +* Use "method" instead of "method" for semantic tokens. [#6569](https://github.com/microsoft/vscode-cpptools/issues/6569) +* Fix `__builtin_coro_*` methods not recognized by IntelliSense in gcc mode with `-fcoroutines`. [#6575](https://github.com/microsoft/vscode-cpptools/issues/6575) +* Fix the `else` snippet interfering with entering one line `else` statements. [#6582](https://github.com/microsoft/vscode-cpptools/issues/6582) +* Fix hover doc comments not working if there's a selection. [#6583](https://github.com/microsoft/vscode-cpptools/issues/6583) +* Fix a cpptools crash and a multiple deadlocks. + +## Version 1.1.3: December 3, 2020 +### Bug Fixes +* Disable the "join Insiders" prompt for Linux CodeSpaces. [#6491](https://github.com/microsoft/vscode-cpptools/issues/6491) +* Fix "shell" tasks giving error "Cannot read property `includes` of undefined". [#6538](https://github.com/microsoft/vscode-cpptools/issues/6538) +* Fix various task variables not getting resolved with `cppbuild` tasks. [#6538](https://github.com/microsoft/vscode-cpptools/issues/6538) +* Fix warnings not appearing with `cppbuild` tasks. [#6556](https://github.com/microsoft/vscode-cpptools/issues/6556) +* Fix endless CPU/memory usage if the cpptools process crashes. [#6603](https://github.com/microsoft/vscode-cpptools/issues/6603) +* Fix the default `cwd` for `cppbuild` tasks. [#6618](https://github.com/microsoft/vscode-cpptools/issues/6618) + +## Version 1.1.2: November 17, 2020 +### Bug Fix +* Fix resolution of `${fileDirname}` with `cppbuild` tasks. [#6386](https://github.com/microsoft/vscode-cpptools/issues/6386) + ## Version 1.1.1: November 9, 2020 ### Bug Fixes * Fix cpptools binaries sometimes not getting installed on Windows. [#6453](https://github.com/microsoft/vscode-cpptools/issues/6453) diff --git a/Extension/src/nativeStrings.json b/Extension/src/nativeStrings.json index e1ed7ce46c..c102c59e46 100644 --- a/Extension/src/nativeStrings.json +++ b/Extension/src/nativeStrings.json @@ -218,6 +218,6 @@ "unhandled_target_arg_detected": "Unhandled target argument value detected: {0}", "memory_limit_shutting_down_intellisense": "Shutting down IntelliSense server: {0}. Memory usage is {1} MB and has exceeded the {2} MB limit.", "failed_to_query_for_standard_version": "Failed to query compiler at path \"{0}\" for default standard versions. Compiler querying is disabled for this compiler.", - "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead." + "unrecognized_language_standard_version": "Compiler query returned an unrecognized language standard version. The latest supported version will be used instead.", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } - From 71d1f4c701ac0f0c7410069a3e78f0eee7c799c7 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 4 Jan 2021 16:58:06 -0800 Subject: [PATCH 36/65] Remove references to deprecated code. (#6728) --- .../LanguageServer/Providers/workspaceSymbolProvider.ts | 7 ++----- Extension/src/LanguageServer/client.ts | 9 ++------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/Extension/src/LanguageServer/Providers/workspaceSymbolProvider.ts b/Extension/src/LanguageServer/Providers/workspaceSymbolProvider.ts index d820c2bf97..44c97981a0 100644 --- a/Extension/src/LanguageServer/Providers/workspaceSymbolProvider.ts +++ b/Extension/src/LanguageServer/Providers/workspaceSymbolProvider.ts @@ -25,17 +25,14 @@ export class WorkspaceSymbolProvider implements vscode.WorkspaceSymbolProvider { symbols.forEach((symbol) => { const suffix: string = util.getLocalizedString(symbol.suffix); let name: string = symbol.name; - const range: vscode.Range = new vscode.Range(symbol.location.range.start.line, symbol.location.range.start.character, symbol.location.range.end.line, symbol.location.range.end.character); - const uri: vscode.Uri = vscode.Uri.parse(symbol.location.uri.toString()); if (suffix.length) { name = name + ' (' + suffix + ')'; } const vscodeSymbol: vscode.SymbolInformation = new vscode.SymbolInformation( name, symbol.kind, - range, - uri, - symbol.containerName + symbol.containerName, + symbol.location ); resultSymbols.push(vscodeSymbol); }); diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 9087b726b5..1bea43c48f 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -302,15 +302,10 @@ export interface LocalizeDocumentSymbol { children: LocalizeDocumentSymbol[]; } -interface Location { - uri: string; - range: Range; -} - interface LocalizeSymbolInformation { name: string; kind: vscode.SymbolKind; - location: Location; + location: vscode.Location; containerName: string; suffix: LocalizeStringParams; } @@ -701,7 +696,7 @@ export class DefaultClient implements Client { this.rootFolder = workspaceFolder; let storagePath: string | undefined; if (util.extensionContext) { - const path: string | undefined = util.extensionContext.storagePath; + const path: string | undefined = util.extensionContext.storageUri?.fsPath; if (path) { storagePath = path; } From bf6bc96437d60b3ef9541a636060f95942654e2d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Jan 2021 14:13:51 -0800 Subject: [PATCH 37/65] Bump axios from 0.19.2 to 0.21.1 in /.github/actions (#6743) Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/package-lock.json | 30 +++++++----------------------- .github/actions/package.json | 2 +- 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/.github/actions/package-lock.json b/.github/actions/package-lock.json index 84858c90f8..3f3639fd52 100644 --- a/.github/actions/package-lock.json +++ b/.github/actions/package-lock.json @@ -295,11 +295,11 @@ "integrity": "sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY=" }, "axios": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.2.tgz", - "integrity": "sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==", + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", + "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", "requires": { - "follow-redirects": "1.5.10" + "follow-redirects": "^1.10.0" } }, "balanced-match": { @@ -399,14 +399,6 @@ "which": "^1.2.9" } }, - "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "requires": { - "ms": "2.0.0" - } - }, "deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", @@ -682,12 +674,9 @@ "dev": true }, "follow-redirects": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", - "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", - "requires": { - "debug": "=3.1.0" - } + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.1.tgz", + "integrity": "sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg==" }, "fs.realpath": { "version": "1.0.0", @@ -1006,11 +995,6 @@ "minimist": "^1.2.5" } }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, "mute-stream": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", diff --git a/.github/actions/package.json b/.github/actions/package.json index 96548257cb..994e077072 100644 --- a/.github/actions/package.json +++ b/.github/actions/package.json @@ -12,7 +12,7 @@ "dependencies": { "@actions/core": "^1.2.6", "@actions/github": "^2.1.1", - "axios": "^0.19.2" + "axios": "^0.21.1" }, "devDependencies": { "eslint": "^6.8.0", From 6254bb6ad2802acf9d71cf01e20980f6ae1079c4 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Wed, 6 Jan 2021 14:35:13 -0800 Subject: [PATCH 38/65] Output the cppbuild command used. Fix D warnings. (#6701) * Output the cppbuild command used. Fixes #6647 . Also fixes "D" command line warnings with cl.exe. Move the build result message to the end. Handle the /nologo case and always shows the logo/header if it exists (but default to use /nologo). --- Extension/CHANGELOG.md | 2 +- .../LanguageServer/cppBuildTaskProvider.ts | 28 +++++++++++-------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 52693953a6..489a8f2d55 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -11,7 +11,7 @@ * Fix #include completion not sorting _ last. [#3465](https://github.com/microsoft/vscode-cpptools/issues/3465) * Fix crash when certain JavaScript files are parsed as C++. [#3858](https://github.com/microsoft/vscode-cpptools/issues/3858) * Fix IntelliSense squiggle about not being able to assign to an object of its own type. [#3883](https://github.com/microsoft/vscode-cpptools/issues/3883) -* Fix hover and Find All References for template function overloads. [#4044[(https://github.com/microsoft/vscode-cpptools/issues/4044), [#4249](https://github.com/microsoft/vscode-cpptools/issues/4249) +* Fix hover and Find All References for template function overloads. [#4044](https://github.com/microsoft/vscode-cpptools/issues/4044), [#4249](https://github.com/microsoft/vscode-cpptools/issues/4249) * Fix the Outline view for nested namespaces. [#4456](https://github.com/microsoft/vscode-cpptools/issues/4456) * Fix Outline view with`"**/.*"` in `files.exclude`. [#4602](https://github.com/microsoft/vscode-cpptools/issues/4602) * Fix the Outline view for nested structs/classes. [#4781](https://github.com/microsoft/vscode-cpptools/issues/4871) diff --git a/Extension/src/LanguageServer/cppBuildTaskProvider.ts b/Extension/src/LanguageServer/cppBuildTaskProvider.ts index a48aff428d..e43d1df3e7 100644 --- a/Extension/src/LanguageServer/cppBuildTaskProvider.ts +++ b/Extension/src/LanguageServer/cppBuildTaskProvider.ts @@ -166,7 +166,7 @@ export class CppBuildTaskProvider implements TaskProvider { CppBuildTaskProvider.CppBuildSourceStr + ": " : "") + compilerPathBase + " " + localize("build_active_file", "build active file"); const filePath: string = path.join('${fileDirname}', '${fileBasenameNoExtension}'); const isWindows: boolean = os.platform() === 'win32'; - let args: string[] = isCl ? ['/Zi', '/EHsc', '/Fe:', filePath + '.exe', '${file}'] : ['-g', '${file}', '-o', filePath + (isWindows ? '.exe' : '')]; + let args: string[] = isCl ? ['/Zi', '/EHsc', '/nologo', '/Fe:', filePath + '.exe', '${file}'] : ['-g', '${file}', '-o', filePath + (isWindows ? '.exe' : '')]; if (compilerArgs && compilerArgs.length > 0) { args = args.concat(compilerArgs); } @@ -370,36 +370,40 @@ class CustomBuildTaskTerminal implements Pseudoterminal { this.writeEmitter.fire(line + this.endOfLine); } }; + this.writeEmitter.fire(activeCommand + this.endOfLine); try { const result: number = await new Promise((resolve, reject) => { cp.exec(activeCommand, this.options, (_error, stdout, _stderr) => { - const dot: string = (stdout || _stderr) ? ":" : "."; + const dot: string = "."; + const is_cl: boolean = (_stderr || _stderr === '') && stdout ? true : false; + if (is_cl) { + // cl.exe, header info may not appear if /nologo is used. + if (_stderr) { + splitWriteEmitter(_stderr); // compiler header info and command line D warnings (e.g. when /MTd and /MDd are both used) + } + splitWriteEmitter(stdout); // linker header info and potentially compiler C warnings + } if (_error) { - telemetry.logLanguageServerEvent("cppBuildTaskError"); - this.writeEmitter.fire(localize("build_finished_with_error", "Build finished with errors(s)") + dot + this.endOfLine); if (stdout) { - splitWriteEmitter(stdout); // cl.exe + // cl.exe } else if (_stderr) { splitWriteEmitter(_stderr); // gcc/clang } else { splitWriteEmitter(_error.message); // e.g. command executable not found } + telemetry.logLanguageServerEvent("cppBuildTaskError"); + this.writeEmitter.fire(localize("build_finished_with_error", "Build finished with error(s)") + dot + this.endOfLine); resolve(-1); - return; } else if (_stderr && !stdout) { // gcc/clang + splitWriteEmitter(_stderr); telemetry.logLanguageServerEvent("cppBuildTaskWarnings"); this.writeEmitter.fire(localize("build_finished_with_warnings", "Build finished with warning(s)") + dot + this.endOfLine); - splitWriteEmitter(_stderr); resolve(0); - } else if (stdout && stdout.includes("warning C")) { // cl.exe + } else if (stdout && stdout.includes("warning C")) { // cl.exe, compiler warnings telemetry.logLanguageServerEvent("cppBuildTaskWarnings"); this.writeEmitter.fire(localize("build_finished_with_warnings", "Build finished with warning(s)") + dot + this.endOfLine); - splitWriteEmitter(stdout); resolve(0); } else { - if (stdout) { - splitWriteEmitter(stdout); // cl.exe - } this.writeEmitter.fire(localize("build finished successfully", "Build finished successfully.") + this.endOfLine); resolve(0); } From 1fa4f67afd49a21cbbefefef39bd3accb01cbd57 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Wed, 6 Jan 2021 14:48:53 -0800 Subject: [PATCH 39/65] Stop falling back to a /usr/bin debugger on Windows, show an error when a non-existent miDebuggerPath is used, and stop showing "unknown error" (#6705) Fix for #6511 and #6608 * Stop falling back to a /usr/bin debugger on Windows. * Add error message. * Fix unknown error. --- .../src/Debugger/configurationProvider.ts | 30 ++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/Extension/src/Debugger/configurationProvider.ts b/Extension/src/Debugger/configurationProvider.ts index 3b65ac78c4..0c0eef308a 100644 --- a/Extension/src/Debugger/configurationProvider.ts +++ b/Extension/src/Debugger/configurationProvider.ts @@ -71,17 +71,23 @@ export class QuickPickConfigurationProvider implements vscode.DebugConfiguration const selection: MenuItem | undefined = await vscode.window.showQuickPick(items, {placeHolder: localize("select.configuration", "Select a configuration")}); if (!selection) { - throw new Error(); // User canceled it. + return []; // User canceled it. } if (selection.label.startsWith("cl.exe")) { if (!process.env.DevEnvDir) { vscode.window.showErrorMessage(localize("cl.exe.not.available", "{0} build and debug is only usable when VS Code is run from the Developer Command Prompt for VS.", "cl.exe")); - throw new Error(); + return [selection.configuration]; } } if (selection.label.indexOf(buildAndDebugActiveFileStr()) !== -1 && selection.configuration.preLaunchTask) { try { await cppBuildTaskProvider.ensureBuildTaskExists(selection.configuration.preLaunchTask); + if (selection.configuration.miDebuggerPath) { + if (!fs.existsSync(selection.configuration.miDebuggerPath)) { + vscode.window.showErrorMessage(localize("miDebuggerPath.not.available", "miDebuggerPath does not exist: {0}. Has a debugger been installed?", selection.configuration.miDebuggerPath)); + throw new Error(); + } + } await vscode.debug.startDebugging(folder, selection.configuration); Telemetry.logDebuggerEvent("buildAndDebug", { "success": "true" }); } catch (e) { @@ -210,15 +216,19 @@ class CppConfigurationProvider implements vscode.DebugConfigurationProvider { const compilerDirname: string = path.dirname(compilerPath); const debuggerPath: string = path.join(compilerDirname, debuggerName); - fs.stat(debuggerPath, (err, stats: fs.Stats) => { - if (!err && stats && stats.isFile) { - newConfig.miDebuggerPath = debuggerPath; - } else { - // TODO should probably resolve a missing debugger in a more graceful fashion for win32. - newConfig.miDebuggerPath = path.join("/usr", "bin", debuggerName); - } + if (isWindows) { + newConfig.miDebuggerPath = debuggerPath; return resolve(newConfig); - }); + } else { + fs.stat(debuggerPath, (err, stats: fs.Stats) => { + if (!err && stats && stats.isFile) { + newConfig.miDebuggerPath = debuggerPath; + } else { + newConfig.miDebuggerPath = path.join("/usr", "bin", debuggerName); + } + return resolve(newConfig); + }); + } } }); })); From effb26733e1ccddd30ef47d5e2ee564025c0fc1e Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Wed, 6 Jan 2021 17:27:47 -0800 Subject: [PATCH 40/65] Update runtime licenses. (#6735) * Update licenses. * Update License.md to reference RuntimeLicenses. --- LICENSE.md | 5 +- RuntimeLicenses/cpptools-LICENSE.txt | 272 ++++++++-------- RuntimeLicenses/cpptools-srv-LICENSE.txt | 272 ++++++++-------- RuntimeLicenses/vsdbg-LICENSE.txt | 377 ++++++++++++----------- 4 files changed, 467 insertions(+), 459 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index d7c54cf4bb..ef220fe895 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,7 @@ - +Additional binary files may be downloaded at runtime after the initial +installation; these are governed by the more restrictive proprietary license +terms found at [RuntimeLicenses](RuntimeLicenses). + MIT License Copyright (c) 2020 Microsoft diff --git a/RuntimeLicenses/cpptools-LICENSE.txt b/RuntimeLicenses/cpptools-LICENSE.txt index 5e7bb4d577..1820b60f19 100644 --- a/RuntimeLicenses/cpptools-LICENSE.txt +++ b/RuntimeLicenses/cpptools-LICENSE.txt @@ -1,190 +1,192 @@ -All VS Marketplace extensions, including this C/C++ Extension for Visual Studio -Code, must also be used consistent with the VS Marketplace Terms of Use at +All VS Marketplace extensions, including this C/C++ Extension for Visual Studio +Code, must also be used consistent with the VS Marketplace Terms of Use at http://aka.ms/VSMarketplace-TOU MICROSOFT SOFTWARE LICENSE TERMS -MICROSOFT C/C++ EXTENSION FOR VISUAL STUDIO CODE +MICROSOFT C/C++ EXTENSION FOR VISUAL STUDIO CODE ________________________________________ -These license terms are an agreement between you and Microsoft Corporation (or -one of its affiliates). They apply to the software named above and any -Microsoft services or software updates (except to the extent such services or -updates are accompanied by new or additional terms, in which case those -different terms apply prospectively and do not alter your or Microsoft’s -rights relating to pre-updated software or services). IF YOU COMPLY WITH THESE -LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT +These license terms are an agreement between you and Microsoft Corporation (or +one of its affiliates). They apply to the software named above and any +Microsoft services or software updates (except to the extent such services or +updates are accompanied by new or additional terms, in which case those +different terms apply prospectively and do not alter your or Microsoft’s +rights relating to pre-updated software or services). IF YOU COMPLY WITH THESE +LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. -1. INSTALLATION AND USE RIGHTS. -a) General. You may install and use any number of copies of the software -only with Microsoft Visual Studio, Visual Studio for Mac, Visual Studio Code, -Azure DevOps, Team Foundation Server, and successor Microsoft products and -services (collectively, the “Visual Studio Products and Services”) to -develop and test your applications. -b) Third Party Components. The software may include third party components -with separate legal notices or governed by other agreements, as may be +1. INSTALLATION AND USE RIGHTS. +a) General. You may install and use any number of copies of the software +only with Microsoft Visual Studio, Visual Studio for Mac, Visual Studio Code, +Azure DevOps, Team Foundation Server, and successor Microsoft products and +services to develop and test your applications. Further, you may install, use +and/or deploy these software copies via a network management system or as part +of a desktop image within your internal corporate network to develop and test +your applications. +b) Third Party Components. The software may include third party components +with separate legal notices or governed by other agreements, as may be described in the ThirdPartyNotices file(s) accompanying the software. -2. SCOPE OF LICENSE. The software is licensed, not sold. This agreement -only gives you some rights to use the software. Microsoft reserves all other -rights. For clarification Microsoft, or its licensors, retains ownership of -all aspects of the software. Unless applicable law gives you more rights -despite this limitation, you may use the software only as expressly permitted -in this agreement. In doing so, you must comply with any technical limitations -in the software that only allow you to use it in certain ways. For example, if -Microsoft technically limits or disables extensibility for the software, you -may not extend the software by, among other things, loading or injecting into -the software any non-Microsoft add-ins, macros, or packages; modifying the -software registry settings; or adding features or functionality equivalent to +2. SCOPE OF LICENSE. The software is licensed, not sold. This agreement +only gives you some rights to use the software. Microsoft reserves all other +rights. For clarification Microsoft, or its licensors, retains ownership of +all aspects of the software. Unless applicable law gives you more rights +despite this limitation, you may use the software only as expressly permitted +in this agreement. In doing so, you must comply with any technical limitations +in the software that only allow you to use it in certain ways. For example, if +Microsoft technically limits or disables extensibility for the software, you +may not extend the software by, among other things, loading or injecting into +the software any non-Microsoft add-ins, macros, or packages; modifying the +software registry settings; or adding features or functionality equivalent to that found in Microsoft products and services. You may not: -a) work around any technical limitations in the software that only allow +a) work around any technical limitations in the software that only allow you to use it in certain ways; -b) reverse engineer, decompile or disassemble the software, or otherwise -attempt to derive the source code for the software, except and to the extent -required by third party licensing terms governing use of certain open source +b) reverse engineer, decompile or disassemble the software, or otherwise +attempt to derive the source code for the software, except and to the extent +required by third party licensing terms governing use of certain open source components that may be included in the software; -c) remove, minimize, block, or modify any notices of Microsoft or its +c) remove, minimize, block, or modify any notices of Microsoft or its suppliers in the software; -d) use the software in any way that is against the law or to create or +d) use the software in any way that is against the law or to create or propagate malware; or -e) share, publish, distribute, or lease the software (except for any -distributable code, subject to the terms above), provide the software as a -stand-alone offering for others to use, or transfer the software or this +e) share, publish, distribute, or lease the software (except for any +distributable code, subject to the terms above), provide the software as a +stand-alone offering for others to use, or transfer the software or this agreement to any third party. -3. DATA. -a) Data Collection. The software may collect information about you and -your use of the software, and send that to Microsoft. Microsoft may use this -information to provide services and improve our products and services. You may -opt-out of many of these scenarios, but not all, as described in the product -documentation. There are also some features in the software that may enable -you to collect data from users of your applications. If you use these features -to enable data collection in your applications, you must comply with applicable -law, including providing appropriate notices to users of your applications. You -can learn more about data collection and use in the help documentation and the -privacy statement at https://aka.ms/privacy. Your use of the software operates +3. DATA. +a) Data Collection. The software may collect information about you and +your use of the software, and send that to Microsoft. Microsoft may use this +information to provide services and improve our products and services. You may +opt-out of many of these scenarios, but not all, as described in the product +documentation. There are also some features in the software that may enable +you to collect data from users of your applications. If you use these features +to enable data collection in your applications, you must comply with applicable +law, including providing appropriate notices to users of your applications. You +can learn more about data collection and use in the help documentation and the +privacy statement at https://aka.ms/privacy. Your use of the software operates as your consent to these practices. -b) Processing of Personal Data. To the extent Microsoft is a processor or -subprocessor of personal data in connection with the software, Microsoft makes -the commitments in the European Union General Data Protection Regulation Terms -of the Online Services Terms to all customers effective May 25, 2018, at +b) Processing of Personal Data. To the extent Microsoft is a processor or +subprocessor of personal data in connection with the software, Microsoft makes +the commitments in the European Union General Data Protection Regulation Terms +of the Online Services Terms to all customers effective May 25, 2018, at https://docs.microsoft.com/en-us/legal/gdpr. -4. EXPORT RESTRICTIONS. You must comply with all domestic and -international export laws and regulations that apply to the software, which -include restrictions on destinations, end users, and end use. For further +4. EXPORT RESTRICTIONS. You must comply with all domestic and +international export laws and regulations that apply to the software, which +include restrictions on destinations, end users, and end use. For further information on export restrictions, visit https://aka.ms/exporting. -5. SUPPORT SERVICES. Microsoft is not obligated under this agreement to -provide any support services for the software. Any support provided is “as +5. SUPPORT SERVICES. Microsoft is not obligated under this agreement to +provide any support services for the software. Any support provided is “as is”, “with all faults”, and without warranty of any kind. -6. ENTIRE AGREEMENT. This agreement, and any other terms Microsoft may -provide for supplements, updates, or third-party applications, is the entire +6. ENTIRE AGREEMENT. This agreement, and any other terms Microsoft may +provide for supplements, updates, or third-party applications, is the entire agreement for the software. -7. APPLICABLE LAW AND PLACE TO RESOLVE DISPUTES. If you acquired the -software in the United States or Canada, the laws of the state or province -where you live (or, if a business, where your principal place of business is -located) govern the interpretation of this agreement, claims for its breach, -and all other claims (including consumer protection, unfair competition, and -tort claims), regardless of conflict of laws principles. If you acquired the -software in any other country, its laws apply. If U.S. federal jurisdiction -exists, you and Microsoft consent to exclusive jurisdiction and venue in the -federal court in King County, Washington for all disputes heard in court. If -not, you and Microsoft consent to exclusive jurisdiction and venue in the +7. APPLICABLE LAW AND PLACE TO RESOLVE DISPUTES. If you acquired the +software in the United States or Canada, the laws of the state or province +where you live (or, if a business, where your principal place of business is +located) govern the interpretation of this agreement, claims for its breach, +and all other claims (including consumer protection, unfair competition, and +tort claims), regardless of conflict of laws principles. If you acquired the +software in any other country, its laws apply. If U.S. federal jurisdiction +exists, you and Microsoft consent to exclusive jurisdiction and venue in the +federal court in King County, Washington for all disputes heard in court. If +not, you and Microsoft consent to exclusive jurisdiction and venue in the Superior Court of King County, Washington for all disputes heard in court. -8. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain -legal rights. You may have other rights, including consumer rights, under the -laws of your state or country. Separate and apart from your relationship with -Microsoft, you may also have rights with respect to the party from which you -acquired the software. This agreement does not change those other rights if the -laws of your state or country do not permit it to do so. For example, if you -acquired the software in one of the below regions, or mandatory country law +8. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain +legal rights. You may have other rights, including consumer rights, under the +laws of your state or country. Separate and apart from your relationship with +Microsoft, you may also have rights with respect to the party from which you +acquired the software. This agreement does not change those other rights if the +laws of your state or country do not permit it to do so. For example, if you +acquired the software in one of the below regions, or mandatory country law applies, then the following provisions apply to you: -a) Australia. You have statutory guarantees under the Australian Consumer +a) Australia. You have statutory guarantees under the Australian Consumer Law and nothing in this agreement is intended to affect those rights. -b) Canada. If you acquired this software in Canada, you may stop receiving -updates by turning off the automatic update feature, disconnecting your device -from the Internet (if and when you re-connect to the Internet, however, the -software will resume checking for and installing updates), or uninstalling the -software. The product documentation, if any, may also specify how to turn off +b) Canada. If you acquired this software in Canada, you may stop receiving +updates by turning off the automatic update feature, disconnecting your device +from the Internet (if and when you re-connect to the Internet, however, the +software will resume checking for and installing updates), or uninstalling the +software. The product documentation, if any, may also specify how to turn off updates for your specific device or software. -c) Germany and Austria. -i. Warranty. The properly licensed software will perform substantially as -described in any Microsoft materials that accompany the software. However, +c) Germany and Austria. +i. Warranty. The properly licensed software will perform substantially as +described in any Microsoft materials that accompany the software. However, Microsoft gives no contractual guarantee in relation to the licensed software. -ii. Limitation of Liability. In case of intentional conduct, gross -negligence, claims based on the Product Liability Act, as well as, in case of -death or personal or physical injury, Microsoft is liable according to the +ii. Limitation of Liability. In case of intentional conduct, gross +negligence, claims based on the Product Liability Act, as well as, in case of +death or personal or physical injury, Microsoft is liable according to the statutory law. -Subject to the foregoing clause ii., Microsoft will only be liable for slight -negligence if Microsoft is in breach of such material contractual obligations, -the fulfillment of which facilitate the due performance of this agreement, the -breach of which would endanger the purpose of this agreement and the compliance -with which a party may constantly trust in (so-called "cardinal obligations"). -In other cases of slight negligence, Microsoft will not be liable for slight +Subject to the foregoing clause ii., Microsoft will only be liable for slight +negligence if Microsoft is in breach of such material contractual obligations, +the fulfillment of which facilitate the due performance of this agreement, the +breach of which would endanger the purpose of this agreement and the compliance +with which a party may constantly trust in (so-called "cardinal obligations"). +In other cases of slight negligence, Microsoft will not be liable for slight negligence. -9. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS IS.” YOU BEAR -THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR -CONDITIONS. TO THE EXTENT PERMITTED UNDER APPLICABLE LAWS, MICROSOFT EXCLUDES -ALL IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR +9. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS IS.” YOU BEAR +THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR +CONDITIONS. TO THE EXTENT PERMITTED UNDER APPLICABLE LAWS, MICROSOFT EXCLUDES +ALL IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. -10. LIMITATION ON AND EXCLUSION OF DAMAGES. IF YOU HAVE ANY BASIS FOR -RECOVERING DAMAGES DESPITE THE PRECEDING DISCLAIMER OF WARRANTY, YOU CAN -RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. -YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, +10. LIMITATION ON AND EXCLUSION OF DAMAGES. IF YOU HAVE ANY BASIS FOR +RECOVERING DAMAGES DESPITE THE PRECEDING DISCLAIMER OF WARRANTY, YOU CAN +RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. +YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT, OR INCIDENTAL DAMAGES. -This limitation applies to (a) anything related to the software, services, -content (including code) on third party Internet sites, or third party -applications; and (b) claims for breach of contract, warranty, guarantee, or -condition; strict liability, negligence, or other tort; or any other claim; in +This limitation applies to (a) anything related to the software, services, +content (including code) on third party Internet sites, or third party +applications; and (b) claims for breach of contract, warranty, guarantee, or +condition; strict liability, negligence, or other tort; or any other claim; in each case to the extent permitted by applicable law. -It also applies even if Microsoft knew or should have known about the -possibility of the damages. The above limitation or exclusion may not apply to -you because your state, province, or country may not allow the exclusion or +It also applies even if Microsoft knew or should have known about the +possibility of the damages. The above limitation or exclusion may not apply to +you because your state, province, or country may not allow the exclusion or limitation of incidental, consequential, or other damages. -Please note: As this software is distributed in Canada, some of the clauses in +Please note: As this software is distributed in Canada, some of the clauses in this agreement are provided below in French. -Remarque: Ce logiciel étant distribué au Canada, certaines des clauses dans +Remarque: Ce logiciel étant distribué au Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français. -EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel -quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. -Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier -de droits additionnels en vertu du droit local sur la protection des -consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par -le droit locale, les garanties implicites de qualité marchande, -d’adéquation à un usage particulier et d’absence de contrefaçon sont +EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel +quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. +Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier +de droits additionnels en vertu du droit local sur la protection des +consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par +le droit locale, les garanties implicites de qualité marchande, +d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues. -LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES -DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une -indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. -Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y -compris les dommages spéciaux, indirects ou accessoires et pertes de +LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES +DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une +indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. +Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y +compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices. Cette limitation concerne: -• tout ce qui est relié au logiciel, aux services ou au contenu (y -compris le code) figurant sur des sites Internet tiers ou dans des programmes +• tout ce qui est relié au logiciel, aux services ou au contenu (y +compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers; et -• les réclamations au titre de violation de contrat ou de garantie, ou -au titre de responsabilité stricte, de négligence ou d’une autre faute dans +• les réclamations au titre de violation de contrat ou de garantie, ou +au titre de responsabilité stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur. -Elle s’applique également, même si Microsoft connaissait ou devrait -connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas -l’exclusion ou la limitation de responsabilité pour les dommages indirects, -accessoires ou de quelque nature que ce soit, il se peut que la limitation ou +Elle s’applique également, même si Microsoft connaissait ou devrait +connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas +l’exclusion ou la limitation de responsabilité pour les dommages indirects, +accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne s’appliquera pas à votre égard. -EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous -pourriez avoir d’autres droits prévus par les lois de votre pays. Le -présent contrat ne modifie pas les droits que vous confèrent les lois de +EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous +pourriez avoir d’autres droits prévus par les lois de votre pays. Le +présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas. diff --git a/RuntimeLicenses/cpptools-srv-LICENSE.txt b/RuntimeLicenses/cpptools-srv-LICENSE.txt index 5e7bb4d577..1820b60f19 100644 --- a/RuntimeLicenses/cpptools-srv-LICENSE.txt +++ b/RuntimeLicenses/cpptools-srv-LICENSE.txt @@ -1,190 +1,192 @@ -All VS Marketplace extensions, including this C/C++ Extension for Visual Studio -Code, must also be used consistent with the VS Marketplace Terms of Use at +All VS Marketplace extensions, including this C/C++ Extension for Visual Studio +Code, must also be used consistent with the VS Marketplace Terms of Use at http://aka.ms/VSMarketplace-TOU MICROSOFT SOFTWARE LICENSE TERMS -MICROSOFT C/C++ EXTENSION FOR VISUAL STUDIO CODE +MICROSOFT C/C++ EXTENSION FOR VISUAL STUDIO CODE ________________________________________ -These license terms are an agreement between you and Microsoft Corporation (or -one of its affiliates). They apply to the software named above and any -Microsoft services or software updates (except to the extent such services or -updates are accompanied by new or additional terms, in which case those -different terms apply prospectively and do not alter your or Microsoft’s -rights relating to pre-updated software or services). IF YOU COMPLY WITH THESE -LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT +These license terms are an agreement between you and Microsoft Corporation (or +one of its affiliates). They apply to the software named above and any +Microsoft services or software updates (except to the extent such services or +updates are accompanied by new or additional terms, in which case those +different terms apply prospectively and do not alter your or Microsoft’s +rights relating to pre-updated software or services). IF YOU COMPLY WITH THESE +LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. -1. INSTALLATION AND USE RIGHTS. -a) General. You may install and use any number of copies of the software -only with Microsoft Visual Studio, Visual Studio for Mac, Visual Studio Code, -Azure DevOps, Team Foundation Server, and successor Microsoft products and -services (collectively, the “Visual Studio Products and Services”) to -develop and test your applications. -b) Third Party Components. The software may include third party components -with separate legal notices or governed by other agreements, as may be +1. INSTALLATION AND USE RIGHTS. +a) General. You may install and use any number of copies of the software +only with Microsoft Visual Studio, Visual Studio for Mac, Visual Studio Code, +Azure DevOps, Team Foundation Server, and successor Microsoft products and +services to develop and test your applications. Further, you may install, use +and/or deploy these software copies via a network management system or as part +of a desktop image within your internal corporate network to develop and test +your applications. +b) Third Party Components. The software may include third party components +with separate legal notices or governed by other agreements, as may be described in the ThirdPartyNotices file(s) accompanying the software. -2. SCOPE OF LICENSE. The software is licensed, not sold. This agreement -only gives you some rights to use the software. Microsoft reserves all other -rights. For clarification Microsoft, or its licensors, retains ownership of -all aspects of the software. Unless applicable law gives you more rights -despite this limitation, you may use the software only as expressly permitted -in this agreement. In doing so, you must comply with any technical limitations -in the software that only allow you to use it in certain ways. For example, if -Microsoft technically limits or disables extensibility for the software, you -may not extend the software by, among other things, loading or injecting into -the software any non-Microsoft add-ins, macros, or packages; modifying the -software registry settings; or adding features or functionality equivalent to +2. SCOPE OF LICENSE. The software is licensed, not sold. This agreement +only gives you some rights to use the software. Microsoft reserves all other +rights. For clarification Microsoft, or its licensors, retains ownership of +all aspects of the software. Unless applicable law gives you more rights +despite this limitation, you may use the software only as expressly permitted +in this agreement. In doing so, you must comply with any technical limitations +in the software that only allow you to use it in certain ways. For example, if +Microsoft technically limits or disables extensibility for the software, you +may not extend the software by, among other things, loading or injecting into +the software any non-Microsoft add-ins, macros, or packages; modifying the +software registry settings; or adding features or functionality equivalent to that found in Microsoft products and services. You may not: -a) work around any technical limitations in the software that only allow +a) work around any technical limitations in the software that only allow you to use it in certain ways; -b) reverse engineer, decompile or disassemble the software, or otherwise -attempt to derive the source code for the software, except and to the extent -required by third party licensing terms governing use of certain open source +b) reverse engineer, decompile or disassemble the software, or otherwise +attempt to derive the source code for the software, except and to the extent +required by third party licensing terms governing use of certain open source components that may be included in the software; -c) remove, minimize, block, or modify any notices of Microsoft or its +c) remove, minimize, block, or modify any notices of Microsoft or its suppliers in the software; -d) use the software in any way that is against the law or to create or +d) use the software in any way that is against the law or to create or propagate malware; or -e) share, publish, distribute, or lease the software (except for any -distributable code, subject to the terms above), provide the software as a -stand-alone offering for others to use, or transfer the software or this +e) share, publish, distribute, or lease the software (except for any +distributable code, subject to the terms above), provide the software as a +stand-alone offering for others to use, or transfer the software or this agreement to any third party. -3. DATA. -a) Data Collection. The software may collect information about you and -your use of the software, and send that to Microsoft. Microsoft may use this -information to provide services and improve our products and services. You may -opt-out of many of these scenarios, but not all, as described in the product -documentation. There are also some features in the software that may enable -you to collect data from users of your applications. If you use these features -to enable data collection in your applications, you must comply with applicable -law, including providing appropriate notices to users of your applications. You -can learn more about data collection and use in the help documentation and the -privacy statement at https://aka.ms/privacy. Your use of the software operates +3. DATA. +a) Data Collection. The software may collect information about you and +your use of the software, and send that to Microsoft. Microsoft may use this +information to provide services and improve our products and services. You may +opt-out of many of these scenarios, but not all, as described in the product +documentation. There are also some features in the software that may enable +you to collect data from users of your applications. If you use these features +to enable data collection in your applications, you must comply with applicable +law, including providing appropriate notices to users of your applications. You +can learn more about data collection and use in the help documentation and the +privacy statement at https://aka.ms/privacy. Your use of the software operates as your consent to these practices. -b) Processing of Personal Data. To the extent Microsoft is a processor or -subprocessor of personal data in connection with the software, Microsoft makes -the commitments in the European Union General Data Protection Regulation Terms -of the Online Services Terms to all customers effective May 25, 2018, at +b) Processing of Personal Data. To the extent Microsoft is a processor or +subprocessor of personal data in connection with the software, Microsoft makes +the commitments in the European Union General Data Protection Regulation Terms +of the Online Services Terms to all customers effective May 25, 2018, at https://docs.microsoft.com/en-us/legal/gdpr. -4. EXPORT RESTRICTIONS. You must comply with all domestic and -international export laws and regulations that apply to the software, which -include restrictions on destinations, end users, and end use. For further +4. EXPORT RESTRICTIONS. You must comply with all domestic and +international export laws and regulations that apply to the software, which +include restrictions on destinations, end users, and end use. For further information on export restrictions, visit https://aka.ms/exporting. -5. SUPPORT SERVICES. Microsoft is not obligated under this agreement to -provide any support services for the software. Any support provided is “as +5. SUPPORT SERVICES. Microsoft is not obligated under this agreement to +provide any support services for the software. Any support provided is “as is”, “with all faults”, and without warranty of any kind. -6. ENTIRE AGREEMENT. This agreement, and any other terms Microsoft may -provide for supplements, updates, or third-party applications, is the entire +6. ENTIRE AGREEMENT. This agreement, and any other terms Microsoft may +provide for supplements, updates, or third-party applications, is the entire agreement for the software. -7. APPLICABLE LAW AND PLACE TO RESOLVE DISPUTES. If you acquired the -software in the United States or Canada, the laws of the state or province -where you live (or, if a business, where your principal place of business is -located) govern the interpretation of this agreement, claims for its breach, -and all other claims (including consumer protection, unfair competition, and -tort claims), regardless of conflict of laws principles. If you acquired the -software in any other country, its laws apply. If U.S. federal jurisdiction -exists, you and Microsoft consent to exclusive jurisdiction and venue in the -federal court in King County, Washington for all disputes heard in court. If -not, you and Microsoft consent to exclusive jurisdiction and venue in the +7. APPLICABLE LAW AND PLACE TO RESOLVE DISPUTES. If you acquired the +software in the United States or Canada, the laws of the state or province +where you live (or, if a business, where your principal place of business is +located) govern the interpretation of this agreement, claims for its breach, +and all other claims (including consumer protection, unfair competition, and +tort claims), regardless of conflict of laws principles. If you acquired the +software in any other country, its laws apply. If U.S. federal jurisdiction +exists, you and Microsoft consent to exclusive jurisdiction and venue in the +federal court in King County, Washington for all disputes heard in court. If +not, you and Microsoft consent to exclusive jurisdiction and venue in the Superior Court of King County, Washington for all disputes heard in court. -8. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain -legal rights. You may have other rights, including consumer rights, under the -laws of your state or country. Separate and apart from your relationship with -Microsoft, you may also have rights with respect to the party from which you -acquired the software. This agreement does not change those other rights if the -laws of your state or country do not permit it to do so. For example, if you -acquired the software in one of the below regions, or mandatory country law +8. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain +legal rights. You may have other rights, including consumer rights, under the +laws of your state or country. Separate and apart from your relationship with +Microsoft, you may also have rights with respect to the party from which you +acquired the software. This agreement does not change those other rights if the +laws of your state or country do not permit it to do so. For example, if you +acquired the software in one of the below regions, or mandatory country law applies, then the following provisions apply to you: -a) Australia. You have statutory guarantees under the Australian Consumer +a) Australia. You have statutory guarantees under the Australian Consumer Law and nothing in this agreement is intended to affect those rights. -b) Canada. If you acquired this software in Canada, you may stop receiving -updates by turning off the automatic update feature, disconnecting your device -from the Internet (if and when you re-connect to the Internet, however, the -software will resume checking for and installing updates), or uninstalling the -software. The product documentation, if any, may also specify how to turn off +b) Canada. If you acquired this software in Canada, you may stop receiving +updates by turning off the automatic update feature, disconnecting your device +from the Internet (if and when you re-connect to the Internet, however, the +software will resume checking for and installing updates), or uninstalling the +software. The product documentation, if any, may also specify how to turn off updates for your specific device or software. -c) Germany and Austria. -i. Warranty. The properly licensed software will perform substantially as -described in any Microsoft materials that accompany the software. However, +c) Germany and Austria. +i. Warranty. The properly licensed software will perform substantially as +described in any Microsoft materials that accompany the software. However, Microsoft gives no contractual guarantee in relation to the licensed software. -ii. Limitation of Liability. In case of intentional conduct, gross -negligence, claims based on the Product Liability Act, as well as, in case of -death or personal or physical injury, Microsoft is liable according to the +ii. Limitation of Liability. In case of intentional conduct, gross +negligence, claims based on the Product Liability Act, as well as, in case of +death or personal or physical injury, Microsoft is liable according to the statutory law. -Subject to the foregoing clause ii., Microsoft will only be liable for slight -negligence if Microsoft is in breach of such material contractual obligations, -the fulfillment of which facilitate the due performance of this agreement, the -breach of which would endanger the purpose of this agreement and the compliance -with which a party may constantly trust in (so-called "cardinal obligations"). -In other cases of slight negligence, Microsoft will not be liable for slight +Subject to the foregoing clause ii., Microsoft will only be liable for slight +negligence if Microsoft is in breach of such material contractual obligations, +the fulfillment of which facilitate the due performance of this agreement, the +breach of which would endanger the purpose of this agreement and the compliance +with which a party may constantly trust in (so-called "cardinal obligations"). +In other cases of slight negligence, Microsoft will not be liable for slight negligence. -9. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS IS.” YOU BEAR -THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR -CONDITIONS. TO THE EXTENT PERMITTED UNDER APPLICABLE LAWS, MICROSOFT EXCLUDES -ALL IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR +9. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS IS.” YOU BEAR +THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR +CONDITIONS. TO THE EXTENT PERMITTED UNDER APPLICABLE LAWS, MICROSOFT EXCLUDES +ALL IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. -10. LIMITATION ON AND EXCLUSION OF DAMAGES. IF YOU HAVE ANY BASIS FOR -RECOVERING DAMAGES DESPITE THE PRECEDING DISCLAIMER OF WARRANTY, YOU CAN -RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. -YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, +10. LIMITATION ON AND EXCLUSION OF DAMAGES. IF YOU HAVE ANY BASIS FOR +RECOVERING DAMAGES DESPITE THE PRECEDING DISCLAIMER OF WARRANTY, YOU CAN +RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. +YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT, OR INCIDENTAL DAMAGES. -This limitation applies to (a) anything related to the software, services, -content (including code) on third party Internet sites, or third party -applications; and (b) claims for breach of contract, warranty, guarantee, or -condition; strict liability, negligence, or other tort; or any other claim; in +This limitation applies to (a) anything related to the software, services, +content (including code) on third party Internet sites, or third party +applications; and (b) claims for breach of contract, warranty, guarantee, or +condition; strict liability, negligence, or other tort; or any other claim; in each case to the extent permitted by applicable law. -It also applies even if Microsoft knew or should have known about the -possibility of the damages. The above limitation or exclusion may not apply to -you because your state, province, or country may not allow the exclusion or +It also applies even if Microsoft knew or should have known about the +possibility of the damages. The above limitation or exclusion may not apply to +you because your state, province, or country may not allow the exclusion or limitation of incidental, consequential, or other damages. -Please note: As this software is distributed in Canada, some of the clauses in +Please note: As this software is distributed in Canada, some of the clauses in this agreement are provided below in French. -Remarque: Ce logiciel étant distribué au Canada, certaines des clauses dans +Remarque: Ce logiciel étant distribué au Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français. -EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel -quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. -Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier -de droits additionnels en vertu du droit local sur la protection des -consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par -le droit locale, les garanties implicites de qualité marchande, -d’adéquation à un usage particulier et d’absence de contrefaçon sont +EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel +quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. +Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier +de droits additionnels en vertu du droit local sur la protection des +consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par +le droit locale, les garanties implicites de qualité marchande, +d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues. -LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES -DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une -indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. -Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y -compris les dommages spéciaux, indirects ou accessoires et pertes de +LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES +DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une +indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. +Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y +compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices. Cette limitation concerne: -• tout ce qui est relié au logiciel, aux services ou au contenu (y -compris le code) figurant sur des sites Internet tiers ou dans des programmes +• tout ce qui est relié au logiciel, aux services ou au contenu (y +compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers; et -• les réclamations au titre de violation de contrat ou de garantie, ou -au titre de responsabilité stricte, de négligence ou d’une autre faute dans +• les réclamations au titre de violation de contrat ou de garantie, ou +au titre de responsabilité stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur. -Elle s’applique également, même si Microsoft connaissait ou devrait -connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas -l’exclusion ou la limitation de responsabilité pour les dommages indirects, -accessoires ou de quelque nature que ce soit, il se peut que la limitation ou +Elle s’applique également, même si Microsoft connaissait ou devrait +connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas +l’exclusion ou la limitation de responsabilité pour les dommages indirects, +accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne s’appliquera pas à votre égard. -EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous -pourriez avoir d’autres droits prévus par les lois de votre pays. Le -présent contrat ne modifie pas les droits que vous confèrent les lois de +EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous +pourriez avoir d’autres droits prévus par les lois de votre pays. Le +présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas. diff --git a/RuntimeLicenses/vsdbg-LICENSE.txt b/RuntimeLicenses/vsdbg-LICENSE.txt index b8869ddc32..50b7b90115 100644 --- a/RuntimeLicenses/vsdbg-LICENSE.txt +++ b/RuntimeLicenses/vsdbg-LICENSE.txt @@ -1,191 +1,192 @@ -MICROSOFT SOFTWARE LICENSE TERMS -MICROSOFT C/C++ EXTENSION FOR VISUAL STUDIO CODE +All VS Marketplace extensions, including this C/C++ Extension for Visual Studio +Code, must also be used consistent with the VS Marketplace Terms of Use at +http://aka.ms/VSMarketplace-TOU -These license terms are an agreement between Microsoft Corporation (or -based on where you live, one of its affiliates) and you. They apply to -the software named above. The terms also apply to any -Microsoft services or updates for the software, except to the extent -those have additional terms. - -IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. - -1. INSTALLATION AND USE RIGHTS. You may only use the C/C++ Extension - for Visual Studio Code with Visual Studio Code, Visual Studio or - Xamarin Studio software to help you develop and test your - applications. - -2. TERMS FOR SPECIFIC COMPONENTS - a. Third Party Components. The software may include third party - components with separate legal notices or governed by other - agreements, as may be described in the ThirdPartyNotices file(s) - accompanying the software. - b. Package Managers. The software may include package managers, like - Nuget, that give you the option to download other Microsoft and third - party software packages to use with your application. Those packages - are under their own licenses, and not this agreement. Microsoft does - not distribute, license or provide any warranties for any of the third - party packages. - -3. DATA. - a. Data Collection. The software may collect information about you and - your use of the software, and send that to Microsoft. Microsoft may - use this information to provide services and improve our products and - services. You may opt-out of many of these scenarios, but not all, as - described in the product documentation. There are also some features - in the software that may enable you and Microsoft to collect data from - users of your applications. If you use these features, you must comply - with applicable law, including providing appropriate notices to users - of your applications together with a copy of Microsoft’s privacy - statement. Our privacy statement is located at - https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more - about data collection and use in the help documentation and our - privacy statement. Your use of the software operates as your consent - to these practices. - b. Processing of Personal Data. To the extent Microsoft is a processor - or subprocessor of personal data in connection with the software, - Microsoft makes the commitments in the European Union General Data - Protection Regulation Terms of the Online Services Terms to all - customers effective May 25, 2018, at - http://go.microsoft.com/?linkid=9840733. - -4. SCOPE OF LICENSE. The software is licensed, not sold. This - agreement only gives you some rights to use the software. Microsoft - reserves all other rights. Unless applicable law gives you more rights - despite this limitation, you may use the software only as expressly - permitted in this agreement. In doing so, you must comply with any - technical limitations in the software that only allow you to use it in - certain ways. You may not - * work around any technical limitations in the software; - * reverse engineer, decompile or disassemble the software, or attempt - to derive the source code for the software, except and to the extent - required by third party licensing terms governing use of certain open - source components that may be included with the software; - * remove, minimize, block or modify any notices of Microsoft or its - suppliers in the software; - * use the software in any way that is against the law; or - * share, publish, rent, or lease the software, or provide the software - as a stand-alone hosted solution for others to use. - -5. EXPORT RESTRICTIONS. You must comply with all domestic and - international export laws and regulations that apply to the software, - which include restrictions on destinations, end users and end use. - For further information on export restrictions, visit - (aka.ms/exporting). - -6. SUPPORT SERVICES. Because this software is “as is,” we may not -provide support services for it. - -7. ENTIRE AGREEMENT. This agreement, and the terms for supplements, - updates, Internet-based services and support services that you use, - are the entire agreement for the software and support services. - -8. APPLICABLE LAW. If you acquired the software in the United - States, Washington law applies to interpretation of and claims for - breach of this agreement, and the laws of the state where you live - apply to all other claims. If you acquired the software in any other - country, its laws apply. - -9. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes - certain legal rights. You may have other rights, including consumer - rights, under the laws of your state or country. Separate and apart - from your relationship with Microsoft, you may also have rights with - respect to the party from which you acquired the software. This - agreement does not change those other rights if the laws of your state - or country do not permit it to do so. For example, if you acquired the - software in one of the below regions, or mandatory country law - applies, then the following provisions apply to you: - - a. Australia. You have statutory guarantees under the Australian - Consumer Law and nothing in this agreement is intended to affect those - rights. - - b. Canada. If you acquired this software in Canada, you may stop - receiving updates by turning off the automatic update feature, - disconnecting your device from the Internet (if and when you re- - connect to the Internet, however, the software will resume checking - for and installing updates), or uninstalling the software. The product - documentation, if any, may also specify how to turn off updates for - your specific device or software. - - c. Germany and Austria. - (i) Warranty. The properly licensed software will perform - substantially as described in any Microsoft materials that accompany - the software. However, Microsoft gives no contractual guarantee in - relation to the licensed software. - (ii) Limitation of Liability. In case of intentional conduct, gross - negligence, claims based on the Product Liability Act, as well as, in - case of death or personal or physical injury, Microsoft is liable - according to the statutory law. - Subject to the foregoing clause (ii), Microsoft will only be liable - for slight negligence if Microsoft is in breach of such material - contractual obligations, the fulfillment of which facilitate the due - performance of this agreement, the breach of which would endanger the - purpose of this agreement and the compliance with which a party may - constantly trust in (so-called "cardinal obligations"). In other cases - of slight negligence, Microsoft will not be liable for slight - negligence. - -10. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU - BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, - GUARANTEES OR CONDITIONS. TO THE EXTENT PERMITTED UNDER YOUR LOCAL - LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. - -11. LIMITATION ON AND EXCLUSION OF DAMAGES. YOU CAN RECOVER FROM - MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU - CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST - PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. - - This limitation applies to (a) anything related to the software, - services, content (including code) on third party Internet sites, or - third party applications; and (b) claims for breach of contract, - breach of warranty, guarantee or condition, strict liability, - negligence, or other tort to the extent permitted by applicable law. - - It also applies even if Microsoft knew or should have known about the - possibility of the damages. The above limitation or exclusion may not - apply to you because your country may not allow the exclusion or - limitation of incidental, consequential or other damages. - -Please note: As this software is distributed in Quebec, Canada, some -of the clauses in this agreement are provided below in French. - -Remarque : Ce logiciel étant distribué au Québec, Canada, certaines -des clauses dans ce contrat sont fournies ci-dessous en français. - -EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert -« tel quel ». Toute utilisation de ce logiciel est à votre seule -risque et péril. Microsoft n’accorde aucune autre garantie -expresse. Vous pouvez bénéficier de droits additionnels en vertu du -droit local sur la protection des consommateurs, que ce contrat ne -peut modifier. La ou elles sont permises par le droit locale, les -garanties implicites de qualité marchande, d’adéquation à un -usage particulier et d’absence de contrefaçon sont exclues. - -LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ -POUR LES DOMMAGES. Vous pouvez obtenir de Microsoft et de ses -fournisseurs une indemnisation en cas de dommages directs uniquement -à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune -indemnisation pour les autres dommages, y compris les dommages -spéciaux, indirects ou accessoires et pertes de bénéfices. +MICROSOFT SOFTWARE LICENSE TERMS -Cette limitation concerne: +MICROSOFT C/C++ EXTENSION FOR VISUAL STUDIO CODE +________________________________________ +These license terms are an agreement between you and Microsoft Corporation (or +one of its affiliates). They apply to the software named above and any +Microsoft services or software updates (except to the extent such services or +updates are accompanied by new or additional terms, in which case those +different terms apply prospectively and do not alter your or Microsoft’s +rights relating to pre-updated software or services). IF YOU COMPLY WITH THESE +LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT +THESE TERMS. + +1. INSTALLATION AND USE RIGHTS. +a) General. You may install and use any number of copies of the software +only with Microsoft Visual Studio, Visual Studio for Mac, Visual Studio Code, +Azure DevOps, Team Foundation Server, and successor Microsoft products and +services to develop and test your applications. Further, you may install, use +and/or deploy these software copies via a network management system or as part +of a desktop image within your internal corporate network to develop and test +your applications. +b) Third Party Components. The software may include third party components +with separate legal notices or governed by other agreements, as may be +described in the ThirdPartyNotices file(s) accompanying the software. + +2. SCOPE OF LICENSE. The software is licensed, not sold. This agreement +only gives you some rights to use the software. Microsoft reserves all other +rights. For clarification Microsoft, or its licensors, retains ownership of +all aspects of the software. Unless applicable law gives you more rights +despite this limitation, you may use the software only as expressly permitted +in this agreement. In doing so, you must comply with any technical limitations +in the software that only allow you to use it in certain ways. For example, if +Microsoft technically limits or disables extensibility for the software, you +may not extend the software by, among other things, loading or injecting into +the software any non-Microsoft add-ins, macros, or packages; modifying the +software registry settings; or adding features or functionality equivalent to +that found in Microsoft products and services. You may not: +a) work around any technical limitations in the software that only allow +you to use it in certain ways; +b) reverse engineer, decompile or disassemble the software, or otherwise +attempt to derive the source code for the software, except and to the extent +required by third party licensing terms governing use of certain open source +components that may be included in the software; +c) remove, minimize, block, or modify any notices of Microsoft or its +suppliers in the software; +d) use the software in any way that is against the law or to create or +propagate malware; or +e) share, publish, distribute, or lease the software (except for any +distributable code, subject to the terms above), provide the software as a +stand-alone offering for others to use, or transfer the software or this +agreement to any third party. + +3. DATA. +a) Data Collection. The software may collect information about you and +your use of the software, and send that to Microsoft. Microsoft may use this +information to provide services and improve our products and services. You may +opt-out of many of these scenarios, but not all, as described in the product +documentation. There are also some features in the software that may enable +you to collect data from users of your applications. If you use these features +to enable data collection in your applications, you must comply with applicable +law, including providing appropriate notices to users of your applications. You +can learn more about data collection and use in the help documentation and the +privacy statement at https://aka.ms/privacy. Your use of the software operates +as your consent to these practices. +b) Processing of Personal Data. To the extent Microsoft is a processor or +subprocessor of personal data in connection with the software, Microsoft makes +the commitments in the European Union General Data Protection Regulation Terms +of the Online Services Terms to all customers effective May 25, 2018, at +https://docs.microsoft.com/en-us/legal/gdpr. + +4. EXPORT RESTRICTIONS. You must comply with all domestic and +international export laws and regulations that apply to the software, which +include restrictions on destinations, end users, and end use. For further +information on export restrictions, visit https://aka.ms/exporting. + +5. SUPPORT SERVICES. Microsoft is not obligated under this agreement to +provide any support services for the software. Any support provided is “as +is”, “with all faults”, and without warranty of any kind. + +6. ENTIRE AGREEMENT. This agreement, and any other terms Microsoft may +provide for supplements, updates, or third-party applications, is the entire +agreement for the software. + +7. APPLICABLE LAW AND PLACE TO RESOLVE DISPUTES. If you acquired the +software in the United States or Canada, the laws of the state or province +where you live (or, if a business, where your principal place of business is +located) govern the interpretation of this agreement, claims for its breach, +and all other claims (including consumer protection, unfair competition, and +tort claims), regardless of conflict of laws principles. If you acquired the +software in any other country, its laws apply. If U.S. federal jurisdiction +exists, you and Microsoft consent to exclusive jurisdiction and venue in the +federal court in King County, Washington for all disputes heard in court. If +not, you and Microsoft consent to exclusive jurisdiction and venue in the +Superior Court of King County, Washington for all disputes heard in court. + +8. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain +legal rights. You may have other rights, including consumer rights, under the +laws of your state or country. Separate and apart from your relationship with +Microsoft, you may also have rights with respect to the party from which you +acquired the software. This agreement does not change those other rights if the +laws of your state or country do not permit it to do so. For example, if you +acquired the software in one of the below regions, or mandatory country law +applies, then the following provisions apply to you: +a) Australia. You have statutory guarantees under the Australian Consumer +Law and nothing in this agreement is intended to affect those rights. +b) Canada. If you acquired this software in Canada, you may stop receiving +updates by turning off the automatic update feature, disconnecting your device +from the Internet (if and when you re-connect to the Internet, however, the +software will resume checking for and installing updates), or uninstalling the +software. The product documentation, if any, may also specify how to turn off +updates for your specific device or software. +c) Germany and Austria. +i. Warranty. The properly licensed software will perform substantially as +described in any Microsoft materials that accompany the software. However, +Microsoft gives no contractual guarantee in relation to the licensed software. +ii. Limitation of Liability. In case of intentional conduct, gross +negligence, claims based on the Product Liability Act, as well as, in case of +death or personal or physical injury, Microsoft is liable according to the +statutory law. +Subject to the foregoing clause ii., Microsoft will only be liable for slight +negligence if Microsoft is in breach of such material contractual obligations, +the fulfillment of which facilitate the due performance of this agreement, the +breach of which would endanger the purpose of this agreement and the compliance +with which a party may constantly trust in (so-called "cardinal obligations"). +In other cases of slight negligence, Microsoft will not be liable for slight +negligence. + +9. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS IS.” YOU BEAR +THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR +CONDITIONS. TO THE EXTENT PERMITTED UNDER APPLICABLE LAWS, MICROSOFT EXCLUDES +ALL IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE, AND NON-INFRINGEMENT. + +10. LIMITATION ON AND EXCLUSION OF DAMAGES. IF YOU HAVE ANY BASIS FOR +RECOVERING DAMAGES DESPITE THE PRECEDING DISCLAIMER OF WARRANTY, YOU CAN +RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. +YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, +SPECIAL, INDIRECT, OR INCIDENTAL DAMAGES. +This limitation applies to (a) anything related to the software, services, +content (including code) on third party Internet sites, or third party +applications; and (b) claims for breach of contract, warranty, guarantee, or +condition; strict liability, negligence, or other tort; or any other claim; in +each case to the extent permitted by applicable law. +It also applies even if Microsoft knew or should have known about the +possibility of the damages. The above limitation or exclusion may not apply to +you because your state, province, or country may not allow the exclusion or +limitation of incidental, consequential, or other damages. + +Please note: As this software is distributed in Canada, some of the clauses in +this agreement are provided below in French. + +Remarque: Ce logiciel étant distribué au Canada, certaines des clauses dans +ce contrat sont fournies ci-dessous en français. + +EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel +quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. +Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier +de droits additionnels en vertu du droit local sur la protection des +consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par +le droit locale, les garanties implicites de qualité marchande, +d’adéquation à un usage particulier et d’absence de contrefaçon sont +exclues. + +LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES +DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une +indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. +Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y +compris les dommages spéciaux, indirects ou accessoires et pertes de +bénéfices. - * tout ce qui est relié au logiciel, aux services ou au contenu (y - compris le code) figurant sur des sites Internet tiers ou dans des - programmes tiers ; et - * les réclamations au titre de violation de contrat ou de garantie, - ou au titre de responsabilité stricte, de négligence ou d’une - autre faute dans la limite autorisée par la loi en vigueur. - -Elle s’applique également, même si Microsoft connaissait ou -devrait connaître l’éventualité d’un tel dommage. Si votre pays -n’autorise pas l’exclusion ou la limitation de responsabilité -pour les dommages indirects, accessoires ou de quelque nature que ce -soit, il se peut que la limitation ou l’exclusion ci-dessus ne -s’appliquera pas à votre égard. - -EFFET JURIDIQUE. Le présent contrat décrit certains droits -juridiques. Vous pourriez avoir d’autres droits prévus par les lois -de votre pays. Le présent contrat ne modifie pas les droits que vous -confèrent les lois de votre pays si celles-ci ne le permettent pas. \ No newline at end of file +Cette limitation concerne: +• tout ce qui est relié au logiciel, aux services ou au contenu (y +compris le code) figurant sur des sites Internet tiers ou dans des programmes +tiers; et +• les réclamations au titre de violation de contrat ou de garantie, ou +au titre de responsabilité stricte, de négligence ou d’une autre faute dans +la limite autorisée par la loi en vigueur. + +Elle s’applique également, même si Microsoft connaissait ou devrait +connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas +l’exclusion ou la limitation de responsabilité pour les dommages indirects, +accessoires ou de quelque nature que ce soit, il se peut que la limitation ou +l’exclusion ci-dessus ne s’appliquera pas à votre égard. + +EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous +pourriez avoir d’autres droits prévus par les lois de votre pays. Le +présent contrat ne modifie pas les droits que vous confèrent les lois de +votre pays si celles-ci ne le permettent pas. From 4ae2f001fac385245c142f4653b02da28c82fbaa Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Thu, 7 Jan 2021 14:59:07 -0800 Subject: [PATCH 41/65] Update link for Windows Debugger (#6750) * Update link for Windows Debugger This PR updated the License.txt when vsdbg is downloaded in debugAdapters. See https://github.com/microsoft/vscode-cpptools/pull/6735 * Update integreity hash for the Windows Debugger --- Extension/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Extension/package.json b/Extension/package.json index 327895d60c..78f19ef80d 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -2665,7 +2665,7 @@ }, { "description": "Visual Studio Windows Debugger", - "url": "https://go.microsoft.com/fwlink/?linkid=2082216", + "url": "https://go.microsoft.com/fwlink/?linkid=2152353", "platforms": [ "win32" ], @@ -2676,7 +2676,7 @@ "binaries": [ "./debugAdapters/vsdbg/bin/vsdbg.exe" ], - "integrity": "CF1A01AA75275F76800F6BC1D289F2066DCEBCD983376D344ABF6B03FDB8FEA0" + "integrity": "8299A112D1260C2CEA53AC74D18FA73DE8533C058AAAB254571B503FBAC37297" } ] } \ No newline at end of file From 438a7e337dfcfa5c608c352cdf4a2b1ed85b5b51 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Fri, 8 Jan 2021 17:46:13 -0800 Subject: [PATCH 42/65] Fix SwitchHeaderSource with RevealIfOpen (#6751) --- Extension/src/LanguageServer/extension.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index bcf0c17995..bc26fe0a27 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -806,14 +806,9 @@ function onSwitchHeaderSource(): void { vscode.window.showTextDocument(document, editor.viewColumn); } }); - // TODO: Handle non-visibleTextEditor...not sure how yet. + if (!foundEditor) { - if (vscode.window.activeTextEditor !== undefined) { - // TODO: Change to show it in a different column? - vscode.window.showTextDocument(document, vscode.window.activeTextEditor.viewColumn); - } else { - vscode.window.showTextDocument(document); - } + vscode.window.showTextDocument(document); } }); }); From 1bf090238d2edf357119613ae263b81570918da5 Mon Sep 17 00:00:00 2001 From: Elaheh Rashedi Date: Mon, 11 Jan 2021 10:49:13 -0800 Subject: [PATCH 43/65] edit to compile-commands take effect immediately (#6748) * draft * check CompileCommands * check CompileCommands * remove updateCompileCommandsFileWatchers * remove array of filewatchers for compile_commands * Revert "remove array of filewatchers for compile_commands" This reverts commit d557c6328cfb32adbe79a098df062c74f651d9e9. * Revert "remove updateCompileCommandsFileWatchers" This reverts commit 0e6c03a65b1dfad56b79ae39a4ddfbb9f2c35486. --- Extension/src/LanguageServer/client.ts | 1 + .../src/LanguageServer/configurations.ts | 35 +++++++++++++++---- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 1bea43c48f..ae08679e91 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -2592,6 +2592,7 @@ export class DefaultClient implements Client { if (this.innerLanguageClient !== undefined && this.configuration !== undefined) { this.languageClient.sendNotification(IntervalTimerNotification); this.configuration.checkCppProperties(); + this.configuration.checkCompileCommands(); } } diff --git a/Extension/src/LanguageServer/configurations.ts b/Extension/src/LanguageServer/configurations.ts index 28a0b6d836..a50e74abc0 100644 --- a/Extension/src/LanguageServer/configurations.ts +++ b/Extension/src/LanguageServer/configurations.ts @@ -120,7 +120,9 @@ export class CppProperties { private currentConfigurationIndex: PersistentFolderState | undefined; private configFileWatcher: vscode.FileSystemWatcher | null = null; private configFileWatcherFallbackTime: Date = new Date(); // Used when file watching fails. - private compileCommandFileWatchers: fs.FSWatcher[] = []; + private compileCommandsFile: vscode.Uri | undefined | null = undefined; + private compileCommandsFileWatchers: fs.FSWatcher[] = []; + private compileCommandsFileWatcherFallbackTime: Date = new Date(); // Used when file watching fails. private defaultCompilerPath: string | null = null; private knownCompilers?: KnownCompiler[]; private defaultCStandard: string | null = null; @@ -744,8 +746,8 @@ export class CppProperties { // paths are expected to have variables resolved already public updateCompileCommandsFileWatchers(): void { if (this.configurationJson) { - this.compileCommandFileWatchers.forEach((watcher: fs.FSWatcher) => watcher.close()); - this.compileCommandFileWatchers = []; // reset it + this.compileCommandsFileWatchers.forEach((watcher: fs.FSWatcher) => watcher.close()); + this.compileCommandsFileWatchers = []; // reset it const filePaths: Set = new Set(); this.configurationJson.configurations.forEach(c => { if (c.compileCommands) { @@ -757,7 +759,7 @@ export class CppProperties { }); try { filePaths.forEach((path: string) => { - this.compileCommandFileWatchers.push(fs.watch(path, (event: string, filename: string) => { + this.compileCommandsFileWatchers.push(fs.watch(path, (event: string, filename: string) => { // Wait 1 second after a change to allow time for the write to finish. if (this.compileCommandsFileWatcherTimer) { clearInterval(this.compileCommandsFileWatcherTimer); @@ -1669,12 +1671,33 @@ export class CppProperties { }); } + public checkCompileCommands(): void { + // Check for changes in case of file watcher failure. + const compileCommandsFile: string | undefined = this.CurrentConfiguration?.compileCommands; + if (!compileCommandsFile) { + return; + } + fs.stat(compileCommandsFile, (err, stats) => { + if (err) { + if (err.code === "ENOENT" && this.compileCommandsFile) { + this.compileCommandsFileWatchers = []; // reset file watchers + this.onCompileCommandsChanged(compileCommandsFile); + this.compileCommandsFile = null; // File deleted + } + } else if (stats.mtime > this.compileCommandsFileWatcherFallbackTime) { + this.compileCommandsFileWatcherFallbackTime = new Date(); + this.onCompileCommandsChanged(compileCommandsFile); + this.compileCommandsFile = vscode.Uri.file(compileCommandsFile); // File created. + } + }); + } + dispose(): void { this.disposables.forEach((d) => d.dispose()); this.disposables = []; - this.compileCommandFileWatchers.forEach((watcher: fs.FSWatcher) => watcher.close()); - this.compileCommandFileWatchers = []; // reset it + this.compileCommandsFileWatchers.forEach((watcher: fs.FSWatcher) => watcher.close()); + this.compileCommandsFileWatchers = []; // reset it this.diagnosticCollection.dispose(); } From 46e6b87d1384277093c30fef1a3f0488ce82be27 Mon Sep 17 00:00:00 2001 From: Michelle Matias <38734287+michelleangela@users.noreply.github.com> Date: Wed, 13 Jan 2021 15:05:30 -0800 Subject: [PATCH 44/65] Add triplet IntelliSense modes to support cross-compilation (#6745) --- Extension/bin/common.json | 33 +++++++++ Extension/bin/linux.clang.arm.json | 15 ++++ Extension/bin/linux.clang.arm64.json | 15 ++++ Extension/bin/linux.clang.x64.json | 15 ++++ Extension/bin/linux.clang.x86.json | 15 ++++ Extension/bin/linux.gcc.arm.json | 15 ++++ Extension/bin/linux.gcc.arm64.json | 15 ++++ Extension/bin/linux.gcc.x64.json | 15 ++++ Extension/bin/linux.gcc.x86.json | 15 ++++ Extension/bin/macos.clang.arm.json | 14 ++++ Extension/bin/macos.clang.arm64.json | 14 ++++ Extension/bin/macos.clang.x64.json | 14 ++++ Extension/bin/macos.clang.x86.json | 14 ++++ Extension/bin/macos.gcc.arm.json | 14 ++++ Extension/bin/macos.gcc.arm64.json | 14 ++++ Extension/bin/macos.gcc.x64.json | 14 ++++ Extension/bin/macos.gcc.x86.json | 14 ++++ Extension/bin/msvc.json | 33 --------- Extension/bin/msvc.x64.clang.json | 7 -- Extension/bin/msvc.x64.gcc.json | 7 -- Extension/bin/msvc.x86.clang.json | 7 -- Extension/bin/msvc.x86.gcc.json | 7 -- ...rm32.clang.json => windows.clang.arm.json} | 0 ...rm32.gcc.json => windows.clang.arm64.json} | 0 ...rm64.clang.json => windows.clang.x64.json} | 0 Extension/bin/windows.clang.x86.json | 7 ++ Extension/bin/windows.gcc.arm.json | 7 ++ ....arm64.gcc.json => windows.gcc.arm64.json} | 0 Extension/bin/windows.gcc.x64.json | 7 ++ Extension/bin/windows.gcc.x86.json | 7 ++ ....arm32.msvc.json => windows.msvc.arm.json} | 0 ...rm64.msvc.json => windows.msvc.arm64.json} | 0 ...vc.x64.msvc.json => windows.msvc.x64.json} | 0 ...vc.x86.msvc.json => windows.msvc.x86.json} | 0 Extension/c_cpp_properties.schema.json | 30 +++++++- Extension/package.json | 28 ++++++++ .../src/LanguageServer/configurations.ts | 9 +-- .../LanguageServer/cppBuildTaskProvider.ts | 2 +- Extension/src/common.ts | 68 ++++++++++++------- Extension/ui/settings.html | 30 +++++++- 40 files changed, 425 insertions(+), 96 deletions(-) create mode 100644 Extension/bin/common.json create mode 100644 Extension/bin/linux.clang.arm.json create mode 100644 Extension/bin/linux.clang.arm64.json create mode 100644 Extension/bin/linux.clang.x64.json create mode 100644 Extension/bin/linux.clang.x86.json create mode 100644 Extension/bin/linux.gcc.arm.json create mode 100644 Extension/bin/linux.gcc.arm64.json create mode 100644 Extension/bin/linux.gcc.x64.json create mode 100644 Extension/bin/linux.gcc.x86.json create mode 100644 Extension/bin/macos.clang.arm.json create mode 100644 Extension/bin/macos.clang.arm64.json create mode 100644 Extension/bin/macos.clang.x64.json create mode 100644 Extension/bin/macos.clang.x86.json create mode 100644 Extension/bin/macos.gcc.arm.json create mode 100644 Extension/bin/macos.gcc.arm64.json create mode 100644 Extension/bin/macos.gcc.x64.json create mode 100644 Extension/bin/macos.gcc.x86.json delete mode 100644 Extension/bin/msvc.json delete mode 100644 Extension/bin/msvc.x64.clang.json delete mode 100644 Extension/bin/msvc.x64.gcc.json delete mode 100644 Extension/bin/msvc.x86.clang.json delete mode 100644 Extension/bin/msvc.x86.gcc.json rename Extension/bin/{msvc.arm32.clang.json => windows.clang.arm.json} (100%) rename Extension/bin/{msvc.arm32.gcc.json => windows.clang.arm64.json} (100%) rename Extension/bin/{msvc.arm64.clang.json => windows.clang.x64.json} (100%) create mode 100644 Extension/bin/windows.clang.x86.json create mode 100644 Extension/bin/windows.gcc.arm.json rename Extension/bin/{msvc.arm64.gcc.json => windows.gcc.arm64.json} (100%) create mode 100644 Extension/bin/windows.gcc.x64.json create mode 100644 Extension/bin/windows.gcc.x86.json rename Extension/bin/{msvc.arm32.msvc.json => windows.msvc.arm.json} (100%) rename Extension/bin/{msvc.arm64.msvc.json => windows.msvc.arm64.json} (100%) rename Extension/bin/{msvc.x64.msvc.json => windows.msvc.x64.json} (100%) rename Extension/bin/{msvc.x86.msvc.json => windows.msvc.x86.json} (100%) diff --git a/Extension/bin/common.json b/Extension/bin/common.json new file mode 100644 index 0000000000..bf6e470e33 --- /dev/null +++ b/Extension/bin/common.json @@ -0,0 +1,33 @@ +{ + "defaults": [ + "cpfe", + "--wchar_t_keyword", + "--no_warnings", + "--rtti", + "--edge", + "--exceptions", + "--error_limit", + "25000", + "-D_EDG_COMPILER", + "-D_USE_DECLSPECS_FOR_SAL=1" + ], + "source_file_format": "-f %s", + "expressions": [ + { + "match": "^/I(.*)", + "replace": "-I\n$1" + }, + { + "match": "^/D(.*)", + "replace": "-D$1" + }, + { + "match": "^/AI(.*)", + "replace": "--using_directory\n$1" + }, + { + "match": "^/dE--header_only_fallback", + "replace": "--header_only_fallback" + } + ] +} \ No newline at end of file diff --git a/Extension/bin/linux.clang.arm.json b/Extension/bin/linux.clang.arm.json new file mode 100644 index 0000000000..f582efccff --- /dev/null +++ b/Extension/bin/linux.clang.arm.json @@ -0,0 +1,15 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-Dunix=1", + "-D__unix__=1", + "-D__linux__=1", + "-D__arm__=1", + "-D__ARM_32BIT_STATE=1", + "-D__PTRDIFF_TYPE__=int", + "-D__SIZE_TYPE__=unsigned int", + "-D__WCHAR_TYPE__=long int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/linux.clang.arm64.json b/Extension/bin/linux.clang.arm64.json new file mode 100644 index 0000000000..d75b8d805b --- /dev/null +++ b/Extension/bin/linux.clang.arm64.json @@ -0,0 +1,15 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-Dunix=1", + "-D__unix__=1", + "-D__linux__=1", + "-D__aarch64__=1", + "-D__ARM_64BIT_STATE=1", + "-D__PTRDIFF_TYPE__=long int", + "-D__SIZE_TYPE__=long unsigned int", + "-D__WCHAR_TYPE__=int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/linux.clang.x64.json b/Extension/bin/linux.clang.x64.json new file mode 100644 index 0000000000..24d8e78408 --- /dev/null +++ b/Extension/bin/linux.clang.x64.json @@ -0,0 +1,15 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-Dunix=1", + "-D__unix__=1", + "-D__linux__=1", + "-D__x86_64=1", + "-D__x86_64__=1", + "-D__PTRDIFF_TYPE__=long int", + "-D__SIZE_TYPE__=long unsigned int", + "-D__WCHAR_TYPE__=int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/linux.clang.x86.json b/Extension/bin/linux.clang.x86.json new file mode 100644 index 0000000000..d026cd030b --- /dev/null +++ b/Extension/bin/linux.clang.x86.json @@ -0,0 +1,15 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-Dunix=1", + "-D__unix__=1", + "-D__linux__=1", + "-D__i386=1", + "-D__i386__=1", + "-D__PTRDIFF_TYPE__=int", + "-D__SIZE_TYPE__=unsigned int", + "-D__WCHAR_TYPE__=long int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/linux.gcc.arm.json b/Extension/bin/linux.gcc.arm.json new file mode 100644 index 0000000000..f582efccff --- /dev/null +++ b/Extension/bin/linux.gcc.arm.json @@ -0,0 +1,15 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-Dunix=1", + "-D__unix__=1", + "-D__linux__=1", + "-D__arm__=1", + "-D__ARM_32BIT_STATE=1", + "-D__PTRDIFF_TYPE__=int", + "-D__SIZE_TYPE__=unsigned int", + "-D__WCHAR_TYPE__=long int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/linux.gcc.arm64.json b/Extension/bin/linux.gcc.arm64.json new file mode 100644 index 0000000000..d75b8d805b --- /dev/null +++ b/Extension/bin/linux.gcc.arm64.json @@ -0,0 +1,15 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-Dunix=1", + "-D__unix__=1", + "-D__linux__=1", + "-D__aarch64__=1", + "-D__ARM_64BIT_STATE=1", + "-D__PTRDIFF_TYPE__=long int", + "-D__SIZE_TYPE__=long unsigned int", + "-D__WCHAR_TYPE__=int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/linux.gcc.x64.json b/Extension/bin/linux.gcc.x64.json new file mode 100644 index 0000000000..b09cc36c35 --- /dev/null +++ b/Extension/bin/linux.gcc.x64.json @@ -0,0 +1,15 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-Dunix=1", + "-D__unix__=1", + "-D__linux__=1", + "-D__x86_64=1", + "-D__x86_64__=1", + "-D__PTRDIFF_TYPE__=long int", + "-D__SIZE_TYPE__=long unsigned int", + "-D__WCHAR_TYPE__=int" + ], + "defaults_op" : "merge" +} diff --git a/Extension/bin/linux.gcc.x86.json b/Extension/bin/linux.gcc.x86.json new file mode 100644 index 0000000000..d026cd030b --- /dev/null +++ b/Extension/bin/linux.gcc.x86.json @@ -0,0 +1,15 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-Dunix=1", + "-D__unix__=1", + "-D__linux__=1", + "-D__i386=1", + "-D__i386__=1", + "-D__PTRDIFF_TYPE__=int", + "-D__SIZE_TYPE__=unsigned int", + "-D__WCHAR_TYPE__=long int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/macos.clang.arm.json b/Extension/bin/macos.clang.arm.json new file mode 100644 index 0000000000..92823ac523 --- /dev/null +++ b/Extension/bin/macos.clang.arm.json @@ -0,0 +1,14 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-D__APPLE__=1", + "-D__MACH__=1", + "-D__arm__=1", + "-D__ARM_32BIT_STATE=1", + "-D__PTRDIFF_TYPE__=int", + "-D__SIZE_TYPE__=unsigned int", + "-D__WCHAR_TYPE__=long int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/macos.clang.arm64.json b/Extension/bin/macos.clang.arm64.json new file mode 100644 index 0000000000..18721f3eb6 --- /dev/null +++ b/Extension/bin/macos.clang.arm64.json @@ -0,0 +1,14 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-D__APPLE__=1", + "-D__MACH__=1", + "-D__aarch64__=1", + "-D__ARM_64BIT_STATE=1", + "-D__PTRDIFF_TYPE__=long int", + "-D__SIZE_TYPE__=long unsigned int", + "-D__WCHAR_TYPE__=int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/macos.clang.x64.json b/Extension/bin/macos.clang.x64.json new file mode 100644 index 0000000000..d049f22eaf --- /dev/null +++ b/Extension/bin/macos.clang.x64.json @@ -0,0 +1,14 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-D__APPLE__=1", + "-D__MACH__=1", + "-D__x86_64=1", + "-D__x86_64__=1", + "-D__PTRDIFF_TYPE__=long int", + "-D__SIZE_TYPE__=long unsigned int", + "-D__WCHAR_TYPE__=int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/macos.clang.x86.json b/Extension/bin/macos.clang.x86.json new file mode 100644 index 0000000000..b6189bb0a7 --- /dev/null +++ b/Extension/bin/macos.clang.x86.json @@ -0,0 +1,14 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-D__APPLE__=1", + "-D__MACH__=1", + "-D__i386=1", + "-D__i386__=1", + "-D__PTRDIFF_TYPE__=int", + "-D__SIZE_TYPE__=unsigned int", + "-D__WCHAR_TYPE__=long int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/macos.gcc.arm.json b/Extension/bin/macos.gcc.arm.json new file mode 100644 index 0000000000..92823ac523 --- /dev/null +++ b/Extension/bin/macos.gcc.arm.json @@ -0,0 +1,14 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-D__APPLE__=1", + "-D__MACH__=1", + "-D__arm__=1", + "-D__ARM_32BIT_STATE=1", + "-D__PTRDIFF_TYPE__=int", + "-D__SIZE_TYPE__=unsigned int", + "-D__WCHAR_TYPE__=long int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/macos.gcc.arm64.json b/Extension/bin/macos.gcc.arm64.json new file mode 100644 index 0000000000..18721f3eb6 --- /dev/null +++ b/Extension/bin/macos.gcc.arm64.json @@ -0,0 +1,14 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-D__APPLE__=1", + "-D__MACH__=1", + "-D__aarch64__=1", + "-D__ARM_64BIT_STATE=1", + "-D__PTRDIFF_TYPE__=long int", + "-D__SIZE_TYPE__=long unsigned int", + "-D__WCHAR_TYPE__=int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/macos.gcc.x64.json b/Extension/bin/macos.gcc.x64.json new file mode 100644 index 0000000000..d049f22eaf --- /dev/null +++ b/Extension/bin/macos.gcc.x64.json @@ -0,0 +1,14 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-D__APPLE__=1", + "-D__MACH__=1", + "-D__x86_64=1", + "-D__x86_64__=1", + "-D__PTRDIFF_TYPE__=long int", + "-D__SIZE_TYPE__=long unsigned int", + "-D__WCHAR_TYPE__=int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/macos.gcc.x86.json b/Extension/bin/macos.gcc.x86.json new file mode 100644 index 0000000000..b6189bb0a7 --- /dev/null +++ b/Extension/bin/macos.gcc.x86.json @@ -0,0 +1,14 @@ +{ + "defaults": [ + "--pack_alignment", + "8", + "-D__APPLE__=1", + "-D__MACH__=1", + "-D__i386=1", + "-D__i386__=1", + "-D__PTRDIFF_TYPE__=int", + "-D__SIZE_TYPE__=unsigned int", + "-D__WCHAR_TYPE__=long int" + ], + "defaults_op" : "merge" +} \ No newline at end of file diff --git a/Extension/bin/msvc.json b/Extension/bin/msvc.json deleted file mode 100644 index 2f9af22205..0000000000 --- a/Extension/bin/msvc.json +++ /dev/null @@ -1,33 +0,0 @@ - { - "defaults": [ - "cpfe", - "--wchar_t_keyword", - "--no_warnings", - "--rtti", - "--edge", - "--exceptions", - "--error_limit", - "25000", - "-D_EDG_COMPILER", - "-D_USE_DECLSPECS_FOR_SAL=1" - ], - "source_file_format": "-f %s", - "expressions": [ - { - "match": "^/I(.*)", - "replace": "-I\n$1" - }, - { - "match": "^/D(.*)", - "replace": "-D$1" - }, - { - "match": "^/AI(.*)", - "replace": "--using_directory\n$1" - }, - { - "match": "^/dE--header_only_fallback", - "replace": "--header_only_fallback" - } - ] - } diff --git a/Extension/bin/msvc.x64.clang.json b/Extension/bin/msvc.x64.clang.json deleted file mode 100644 index e0ac16a148..0000000000 --- a/Extension/bin/msvc.x64.clang.json +++ /dev/null @@ -1,7 +0,0 @@ - { - "defaults": [ - "--pack_alignment", - "8" - ], - "defaults_op" : "merge" - } \ No newline at end of file diff --git a/Extension/bin/msvc.x64.gcc.json b/Extension/bin/msvc.x64.gcc.json deleted file mode 100644 index e88706f682..0000000000 --- a/Extension/bin/msvc.x64.gcc.json +++ /dev/null @@ -1,7 +0,0 @@ - { - "defaults": [ - "--pack_alignment", - "8" - ], - "defaults_op" : "merge" - } diff --git a/Extension/bin/msvc.x86.clang.json b/Extension/bin/msvc.x86.clang.json deleted file mode 100644 index e0ac16a148..0000000000 --- a/Extension/bin/msvc.x86.clang.json +++ /dev/null @@ -1,7 +0,0 @@ - { - "defaults": [ - "--pack_alignment", - "8" - ], - "defaults_op" : "merge" - } \ No newline at end of file diff --git a/Extension/bin/msvc.x86.gcc.json b/Extension/bin/msvc.x86.gcc.json deleted file mode 100644 index e0ac16a148..0000000000 --- a/Extension/bin/msvc.x86.gcc.json +++ /dev/null @@ -1,7 +0,0 @@ - { - "defaults": [ - "--pack_alignment", - "8" - ], - "defaults_op" : "merge" - } \ No newline at end of file diff --git a/Extension/bin/msvc.arm32.clang.json b/Extension/bin/windows.clang.arm.json similarity index 100% rename from Extension/bin/msvc.arm32.clang.json rename to Extension/bin/windows.clang.arm.json diff --git a/Extension/bin/msvc.arm32.gcc.json b/Extension/bin/windows.clang.arm64.json similarity index 100% rename from Extension/bin/msvc.arm32.gcc.json rename to Extension/bin/windows.clang.arm64.json diff --git a/Extension/bin/msvc.arm64.clang.json b/Extension/bin/windows.clang.x64.json similarity index 100% rename from Extension/bin/msvc.arm64.clang.json rename to Extension/bin/windows.clang.x64.json diff --git a/Extension/bin/windows.clang.x86.json b/Extension/bin/windows.clang.x86.json new file mode 100644 index 0000000000..37e18b9268 --- /dev/null +++ b/Extension/bin/windows.clang.x86.json @@ -0,0 +1,7 @@ +{ + "defaults": [ + "--pack_alignment", + "8" + ], + "defaults_op": "merge" +} \ No newline at end of file diff --git a/Extension/bin/windows.gcc.arm.json b/Extension/bin/windows.gcc.arm.json new file mode 100644 index 0000000000..37e18b9268 --- /dev/null +++ b/Extension/bin/windows.gcc.arm.json @@ -0,0 +1,7 @@ +{ + "defaults": [ + "--pack_alignment", + "8" + ], + "defaults_op": "merge" +} \ No newline at end of file diff --git a/Extension/bin/msvc.arm64.gcc.json b/Extension/bin/windows.gcc.arm64.json similarity index 100% rename from Extension/bin/msvc.arm64.gcc.json rename to Extension/bin/windows.gcc.arm64.json diff --git a/Extension/bin/windows.gcc.x64.json b/Extension/bin/windows.gcc.x64.json new file mode 100644 index 0000000000..37e18b9268 --- /dev/null +++ b/Extension/bin/windows.gcc.x64.json @@ -0,0 +1,7 @@ +{ + "defaults": [ + "--pack_alignment", + "8" + ], + "defaults_op": "merge" +} \ No newline at end of file diff --git a/Extension/bin/windows.gcc.x86.json b/Extension/bin/windows.gcc.x86.json new file mode 100644 index 0000000000..37e18b9268 --- /dev/null +++ b/Extension/bin/windows.gcc.x86.json @@ -0,0 +1,7 @@ +{ + "defaults": [ + "--pack_alignment", + "8" + ], + "defaults_op": "merge" +} \ No newline at end of file diff --git a/Extension/bin/msvc.arm32.msvc.json b/Extension/bin/windows.msvc.arm.json similarity index 100% rename from Extension/bin/msvc.arm32.msvc.json rename to Extension/bin/windows.msvc.arm.json diff --git a/Extension/bin/msvc.arm64.msvc.json b/Extension/bin/windows.msvc.arm64.json similarity index 100% rename from Extension/bin/msvc.arm64.msvc.json rename to Extension/bin/windows.msvc.arm64.json diff --git a/Extension/bin/msvc.x64.msvc.json b/Extension/bin/windows.msvc.x64.json similarity index 100% rename from Extension/bin/msvc.x64.msvc.json rename to Extension/bin/windows.msvc.x64.json diff --git a/Extension/bin/msvc.x86.msvc.json b/Extension/bin/windows.msvc.x86.json similarity index 100% rename from Extension/bin/msvc.x86.msvc.json rename to Extension/bin/windows.msvc.x86.json diff --git a/Extension/c_cpp_properties.schema.json b/Extension/c_cpp_properties.schema.json index 7b0d004752..23aea605b5 100644 --- a/Extension/c_cpp_properties.schema.json +++ b/Extension/c_cpp_properties.schema.json @@ -90,9 +90,37 @@ } }, "intelliSenseMode": { - "description": "The IntelliSense mode to use that maps to an architecture-specific variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to msvc-x64, Linux defaults to gcc-x64, and macOS defaults to clang-x64.", + "description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "type": "string", "enum": [ + "macos-clang-x86", + "macos-clang-x64", + "macos-clang-arm", + "macos-clang-arm64", + "macos-gcc-x86", + "macos-gcc-x64", + "macos-gcc-arm", + "macos-gcc-arm64", + "linux-clang-x86", + "linux-clang-x64", + "linux-clang-arm", + "linux-clang-arm64", + "linux-gcc-x86", + "linux-gcc-x64", + "linux-gcc-arm", + "linux-gcc-arm64", + "windows-clang-x86", + "windows-clang-x64", + "windows-clang-arm", + "windows-clang-arm64", + "windows-gcc-x86", + "windows-gcc-x64", + "windows-gcc-arm", + "windows-gcc-arm64", + "windows-msvc-x86", + "windows-msvc-x64", + "windows-msvc-arm", + "windows-msvc-arm64", "clang-x86", "clang-x64", "clang-arm", diff --git a/Extension/package.json b/Extension/package.json index 78f19ef80d..933e6e77ce 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -927,6 +927,34 @@ "type": "string", "enum": [ "", + "macos-clang-x86", + "macos-clang-x64", + "macos-clang-arm", + "macos-clang-arm64", + "macos-gcc-x86", + "macos-gcc-x64", + "macos-gcc-arm", + "macos-gcc-arm64", + "linux-clang-x86", + "linux-clang-x64", + "linux-clang-arm", + "linux-clang-arm64", + "linux-gcc-x86", + "linux-gcc-x64", + "linux-gcc-arm", + "linux-gcc-arm64", + "windows-clang-x86", + "windows-clang-x64", + "windows-clang-arm", + "windows-clang-arm64", + "windows-gcc-x86", + "windows-gcc-x64", + "windows-gcc-arm", + "windows-gcc-arm64", + "windows-msvc-x86", + "windows-msvc-x64", + "windows-msvc-arm", + "windows-msvc-arm64", "clang-x86", "clang-x64", "clang-arm", diff --git a/Extension/src/LanguageServer/configurations.ts b/Extension/src/LanguageServer/configurations.ts index a50e74abc0..a8c5e7c7c1 100644 --- a/Extension/src/LanguageServer/configurations.ts +++ b/Extension/src/LanguageServer/configurations.ts @@ -440,10 +440,7 @@ export class CppProperties { const resolvedCompilerPath: string = this.resolvePath(configuration.compilerPath, true); const compilerPathAndArgs: util.CompilerPathAndArgs = util.extractCompilerPathAndArgs(resolvedCompilerPath); - // Valid compiler + IntelliSenseMode combinations: - // 1. compiler is cl/clang-cl and IntelliSenseMode is MSVC - // 2. compiler is not cl/clang-cl and IntelliSenseMode is not MSVC - const isValid: boolean = compilerPathAndArgs.compilerName.endsWith("cl.exe") === configuration.intelliSenseMode.startsWith("msvc"); + const isValid: boolean = (compilerPathAndArgs.compilerName.toLowerCase() === "cl.exe") === configuration.intelliSenseMode.includes("msvc"); if (isValid) { return ""; } else { @@ -1153,7 +1150,7 @@ export class CppProperties { const compilerPathAndArgs: util.CompilerPathAndArgs = util.extractCompilerPathAndArgs(resolvedCompilerPath); if (resolvedCompilerPath && // Don't error cl.exe paths because it could be for an older preview build. - !(isWindows && compilerPathAndArgs.compilerName === "cl.exe")) { + compilerPathAndArgs.compilerName.toLowerCase() !== "cl.exe") { resolvedCompilerPath = resolvedCompilerPath.trim(); // Error when the compiler's path has spaces without quotes but args are used. @@ -1443,7 +1440,7 @@ export class CppProperties { if (isCompilerPath) { resolvedPath = resolvedPath.trim(); const compilerPathAndArgs: util.CompilerPathAndArgs = util.extractCompilerPathAndArgs(resolvedPath); - if (isWindows && compilerPathAndArgs.compilerName === "cl.exe") { + if (compilerPathAndArgs.compilerName.toLowerCase() === "cl.exe") { continue; // Don't squiggle invalid cl.exe paths because it could be for an older preview build. } if (compilerPathAndArgs.compilerPath === undefined) { diff --git a/Extension/src/LanguageServer/cppBuildTaskProvider.ts b/Extension/src/LanguageServer/cppBuildTaskProvider.ts index e43d1df3e7..ed9ec1531d 100644 --- a/Extension/src/LanguageServer/cppBuildTaskProvider.ts +++ b/Extension/src/LanguageServer/cppBuildTaskProvider.ts @@ -154,7 +154,7 @@ export class CppBuildTaskProvider implements TaskProvider { private getTask: (compilerPath: string, appendSourceToName: boolean, compilerArgs?: string[], definition?: CppBuildTaskDefinition, detail?: string) => Task = (compilerPath: string, appendSourceToName: boolean, compilerArgs?: string[], definition?: CppBuildTaskDefinition, detail?: string) => { const compilerPathBase: string = path.basename(compilerPath); - const isCl: boolean = compilerPathBase === "cl.exe"; + const isCl: boolean = compilerPathBase.toLowerCase() === "cl.exe"; // Double-quote the command if it is not already double-quoted. let resolvedcompilerPath: string = isCl ? compilerPathBase : compilerPath; if (resolvedcompilerPath && !resolvedcompilerPath.startsWith("\"") && resolvedcompilerPath.includes(" ")) { diff --git a/Extension/src/common.ts b/Extension/src/common.ts index 366c72e49b..425357ea6e 100644 --- a/Extension/src/common.ts +++ b/Extension/src/common.ts @@ -544,19 +544,35 @@ export async function checkInstallBinariesExist(): Promise { export async function checkInstallJsonsExist(): Promise { let installJsonsExist: boolean = true; const jsonFiles: string[] = [ - "bin/msvc.arm32.clang.json", - "bin/msvc.arm32.gcc.json", - "bin/msvc.arm32.msvc.json", - "bin/msvc.arm64.clang.json", - "bin/msvc.arm64.gcc.json", - "bin/msvc.arm64.msvc.json", - "bin/msvc.json", - "bin/msvc.x64.clang.json", - "bin/msvc.x64.gcc.json", - "bin/msvc.x64.msvc.json", - "bin/msvc.x86.clang.json", - "bin/msvc.x86.gcc.json", - "bin/msvc.x86.msvc.json", + "bin/common.json", + "bin/linux.clang.arm.json", + "bin/linux.clang.arm64.json", + "bin/linux.clang.x64.json", + "bin/linux.clang.x86.json", + "bin/linux.gcc.arm.json", + "bin/linux.gcc.arm64.json", + "bin/linux.gcc.x64.json", + "bin/linux.gcc.x86.json", + "bin/macos.clang.arm.json", + "bin/macos.clang.arm64.json", + "bin/macos.clang.x64.json", + "bin/macos.clang.x86.json", + "bin/macos.gcc.arm.json", + "bin/macos.gcc.arm64.json", + "bin/macos.gcc.x64.json", + "bin/macos.gcc.x86.json", + "bin/windows.clang.arm.json", + "bin/windows.clang.arm64.json", + "bin/windows.clang.x64.json", + "bin/windows.clang.x86.json", + "bin/windows.gcc.arm.json", + "bin/windows.gcc.arm64.json", + "bin/windows.gcc.x64.json", + "bin/windows.gcc.x86.json", + "bin/windows.msvc.arm.json", + "bin/windows.msvc.arm64.json", + "bin/windows.msvc.x64.json", + "bin/windows.msvc.x86.json", "debugAdapters/bin/cppdbg.ad7Engine.json" ]; await Promise.all(jsonFiles.map(async (file) => { @@ -897,6 +913,7 @@ export function downloadFileToStr(urlStr: string, headers?: OutgoingHttpHeaders) }); } +/** CompilerPathAndArgs retains original casing of text input for compiler path and args */ export interface CompilerPathAndArgs { compilerPath?: string; compilerName: string; @@ -952,14 +969,13 @@ function extractArgs(argsString: string): string[] { export function extractCompilerPathAndArgs(inputCompilerPath?: string, inputCompilerArgs?: string[]): CompilerPathAndArgs { let compilerPath: string | undefined = inputCompilerPath; + const compilerPathLowercase: string | undefined = inputCompilerPath?.toLowerCase(); let compilerName: string = ""; let additionalArgs: string[] = []; - const isWindows: boolean = os.platform() === 'win32'; + if (compilerPath) { - if (compilerPath.endsWith("\\cl.exe") || compilerPath.endsWith("/cl.exe") || compilerPath === "cl.exe") { - // Input is only compiler name, this is only for cl.exe + if (compilerPathLowercase?.endsWith("\\cl.exe") || compilerPathLowercase?.endsWith("/cl.exe") || (compilerPathLowercase === "cl.exe")) { compilerName = path.basename(compilerPath); - } else if (compilerPath.startsWith("\"")) { // Input has quotes around compiler path const endQuote: number = compilerPath.substr(1).search("\"") + 1; @@ -969,12 +985,16 @@ export function extractCompilerPathAndArgs(inputCompilerPath?: string, inputComp compilerName = path.basename(compilerPath); } } else { - // Input has no quotes but can have a compiler path with spaces and args. - // Go from right to left checking if a valid path is to the left of a space. + // Input has no quotes around compiler path let spaceStart: number = compilerPath.lastIndexOf(" "); - if (spaceStart !== -1 && (!isWindows || !compilerPath.endsWith("cl.exe")) && !checkFileExistsSync(compilerPath)) { + if (checkFileExistsSync(compilerPath)) { + // Get compiler name if there are no args but path is valid. + compilerName = path.basename(compilerPath); + } else if (spaceStart !== -1 && !checkFileExistsSync(compilerPath)) { + // Get compiler name if compiler path has spaces and args. + // Go from right to left checking if a valid path is to the left of a space. let potentialCompilerPath: string = compilerPath.substr(0, spaceStart); - while ((!isWindows || !potentialCompilerPath.endsWith("cl.exe")) && !checkFileExistsSync(potentialCompilerPath)) { + while (!checkFileExistsSync(potentialCompilerPath)) { spaceStart = potentialCompilerPath.lastIndexOf(" "); if (spaceStart === -1) { // Reached the start without finding a valid path. Use the original value. @@ -987,12 +1007,8 @@ export function extractCompilerPathAndArgs(inputCompilerPath?: string, inputComp // Found a valid compilerPath and args. additionalArgs = extractArgs(compilerPath.substr(spaceStart + 1)); compilerPath = potentialCompilerPath; + compilerName = path.basename(potentialCompilerPath); } - compilerName = path.basename(compilerPath); - } - // Get compiler name if there are no args but path is valid or a valid path was found with args. - if (compilerPath === "cl.exe" || checkFileExistsSync(compilerPath)) { - compilerName = path.basename(compilerPath); } } } diff --git a/Extension/ui/settings.html b/Extension/ui/settings.html index 429e85a859..659d2567e8 100644 --- a/Extension/ui/settings.html +++ b/Extension/ui/settings.html @@ -504,11 +504,39 @@
IntelliSense mode
- The IntelliSense mode to use that maps to an architecture-specific variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to msvc-x64, Linux defaults to gcc-x64, and macOS defaults to clang-x64. Select a specific IntelliSense mode to override the ${default} mode. + The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64. Select a specific IntelliSense mode to override the ${default} mode.
@@ -473,6 +473,7 @@ +
diff --git a/Extension/ui/settings.ts b/Extension/ui/settings.ts index c97df52823..8451859da1 100644 --- a/Extension/ui/settings.ts +++ b/Extension/ui/settings.ts @@ -7,6 +7,7 @@ const elementId: { [key: string]: string } = { // Basic settings configName: "configName", + configNameInvalid: "configNameInvalid", configSelection: "configSelection", addConfigDiv: "addConfigDiv", addConfigBtn: "addConfigBtn", @@ -285,6 +286,7 @@ class SettingsApp { private updateErrors(errors: any): void { this.updating = true; try { + this.showErrorWithInfo(elementId.configNameInvalid, errors.name); this.showErrorWithInfo(elementId.intelliSenseModeInvalid, errors.intelliSenseMode); this.showErrorWithInfo(elementId.compilerPathInvalid, errors.compilerPath); this.showErrorWithInfo(elementId.includePathInvalid, errors.includePath); From 41b7678e627d58a3a62281f1c7ea1a01f91c8379 Mon Sep 17 00:00:00 2001 From: Bruce MacNaughton Date: Wed, 13 Jan 2021 18:09:01 -0800 Subject: [PATCH 47/65] implement addNodeAddonIncludePaths (#6731) * add addNodeAddonIncludePaths, fix for https://github.com/microsoft/vscode-cpptools/issues/4854 --- Extension/package.json | 8 +- Extension/package.nls.json | 1 + Extension/src/LanguageServer/client.ts | 5 ++ .../src/LanguageServer/configurations.ts | 80 ++++++++++++++++++- Extension/src/LanguageServer/settings.ts | 1 + 5 files changed, 92 insertions(+), 3 deletions(-) diff --git a/Extension/package.json b/Extension/package.json index 327895d60c..5f4b580e8c 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -1102,6 +1102,12 @@ "markdownDescription": "%c_cpp.configuration.vcpkg.enabled.markdownDescription%", "scope": "resource" }, + "C_Cpp.addNodeAddonIncludePaths": { + "type": "boolean", + "default": false, + "markdownDescription": "%c_cpp.configuration.addNodeAddonIncludePaths.description%", + "scope": "application" + }, "C_Cpp.renameRequiresIdentifier": { "type": "boolean", "default": true, @@ -2679,4 +2685,4 @@ "integrity": "CF1A01AA75275F76800F6BC1D289F2066DCEBCD983376D344ABF6B03FDB8FEA0" } ] -} \ No newline at end of file +} diff --git a/Extension/package.nls.json b/Extension/package.nls.json index 60486fda1e..6e155b04d3 100644 --- a/Extension/package.nls.json +++ b/Extension/package.nls.json @@ -160,6 +160,7 @@ "c_cpp.configuration.enhancedColorization.description": "If enabled, code is colorized based on IntelliSense. This setting only applies if intelliSenseEngine is set to \"Default\".", "c_cpp.configuration.codeFolding.description": "If enabled, code folding ranges are provided by the language server.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Enable integration services for the [vcpkg dependency manager](https://aka.ms/vcpkg/).", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "If true, 'Rename Symbol' will require a valid C/C++ identifier.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "If true, debugger shell command substitution will use obsolete backtick (`).", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: Other references results", diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 9087b726b5..0ef0b69485 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -1367,6 +1367,11 @@ export class DefaultClient implements Client { this.semanticTokensProvider = undefined; } } + // if addNodeAddonIncludePaths was turned on but no includes have been found yet then 1) presume that nan + // or node-addon-api was installed so prompt for reload. + if (changedSettings["addNodeAddonIncludePaths"] && settings.addNodeAddonIncludePaths && this.configuration.nodeAddonIncludesFound() === 0) { + util.promptForReloadWindowDueToSettingsChange(); + } } this.configuration.onDidChangeSettings(); telemetry.logLanguageServerEvent("CppSettingsChange", changedSettings, undefined); diff --git a/Extension/src/LanguageServer/configurations.ts b/Extension/src/LanguageServer/configurations.ts index 28a0b6d836..fe86468acd 100644 --- a/Extension/src/LanguageServer/configurations.ts +++ b/Extension/src/LanguageServer/configurations.ts @@ -130,6 +130,7 @@ export class CppProperties { private defaultWindowsSdkVersion: string | null = null; private vcpkgIncludes: string[] = []; private vcpkgPathReady: boolean = false; + private nodeAddonIncludes: string[] = []; private defaultIntelliSenseMode?: string; private defaultCustomConfigurationVariables?: { [key: string]: string }; private readonly configurationGlobPattern: string = "c_cpp_properties.json"; @@ -155,6 +156,7 @@ export class CppProperties { this.configFolder = path.join(rootPath, ".vscode"); this.diagnosticCollection = vscode.languages.createDiagnosticCollection(rootPath); this.buildVcpkgIncludePath(); + this.readNodeAddonIncludeLocations(rootPath); this.disposables.push(vscode.Disposable.from(this.configurationsChanged, this.selectionChanged, this.compileCommandsChanged)); } @@ -317,6 +319,7 @@ export class CppProperties { } else { configuration.includePath = [defaultFolder]; } + // browse.path is not set by default anymore. When it is not set, the includePath will be used instead. if (isUnset(settings.defaultDefines)) { configuration.defines = (process.platform === 'win32') ? ["_DEBUG", "UNICODE", "_UNICODE"] : []; @@ -386,6 +389,72 @@ export class CppProperties { } } + public nodeAddonIncludesFound(): number { + return this.nodeAddonIncludes.length; + } + + private async readNodeAddonIncludeLocations(rootPath: string): Promise { + let error: Error | undefined; + let pdjFound: boolean = false; + const package_json: any = await fs.promises.readFile(path.join(rootPath, "package.json"), "utf8") + .then(pdj => {pdjFound = true; return JSON.parse(pdj); }) + .catch(e => (error = e)); + + if (!error) { + try { + const pathToNode: string = which.sync("node"); + const nodeAddonMap: { [dependency: string]: string } = { + "nan": `"${pathToNode}" --no-warnings -e "require('nan')"`, + "node-addon-api": `"${pathToNode}" --no-warnings -p "require('node-addon-api').include"` + }; + + for (const dep in nodeAddonMap) { + if (dep in package_json.dependencies) { + const execCmd: string = nodeAddonMap[dep]; + let stdout: string = await util.execChildProcess(execCmd, rootPath); + if (!stdout) { + continue; + } + + // cleanup newlines + if (stdout[stdout.length - 1] === "\n") { + stdout = stdout.slice(0, -1); + } + // node-addon-api returns a quoted string, e.g., '"/home/user/dir/node_modules/node-addon-api"'. + if (stdout[0] === "\"" && stdout[stdout.length - 1] === "\"") { + stdout = stdout.slice(1, -1); + } + + // at this time both node-addon-api and nan return their own directory so this test is not really + // needed. but it does future proof the code. + if (!await util.checkDirectoryExists(stdout)) { + // nan returns a path relative to rootPath causing the previous check to fail because this code + // is executing in vscode's working directory. + stdout = path.join(rootPath, stdout); + if (!await util.checkDirectoryExists(stdout)) { + error = new Error(`${dep} directory ${stdout} doesn't exist`); + stdout = ''; + } + } + if (stdout) { + this.nodeAddonIncludes.push(stdout); + } + } + } + } catch (e) { + error = e; + } + } + if (error) { + if (pdjFound) { + // only log an error if package.json exists. + console.log('readNodeAddonIncludeLocations', error.message); + } + } else { + this.handleConfigurationChange(); + } + } + private getConfigIndexForPlatform(config: any): number | undefined { if (!this.configurationJson) { return undefined; @@ -627,6 +696,12 @@ export class CppProperties { const configuration: Configuration = this.configurationJson.configurations[i]; configuration.includePath = this.updateConfigurationStringArray(configuration.includePath, settings.defaultIncludePath, env); + // in case includePath is reset below + const origIncludePath: string[] | undefined = configuration.includePath; + if (settings.addNodeAddonIncludePaths) { + const includePath: string[] = origIncludePath || []; + configuration.includePath = includePath.concat(this.nodeAddonIncludes.filter(i => includePath.indexOf(i) < 0)); + } configuration.defines = this.updateConfigurationStringArray(configuration.defines, settings.defaultDefines, env); configuration.macFrameworkPath = this.updateConfigurationStringArray(configuration.macFrameworkPath, settings.defaultMacFrameworkPath, env); configuration.windowsSdkVersion = this.updateConfigurationString(configuration.windowsSdkVersion, settings.defaultWindowsSdkVersion, env); @@ -663,8 +738,9 @@ export class CppProperties { if (!configuration.windowsSdkVersion && !!this.defaultWindowsSdkVersion) { configuration.windowsSdkVersion = this.defaultWindowsSdkVersion; } - if (!configuration.includePath && !!this.defaultIncludes) { - configuration.includePath = this.defaultIncludes; + if (!origIncludePath && !!this.defaultIncludes) { + const includePath: string[] = configuration.includePath || []; + configuration.includePath = includePath.concat(this.defaultIncludes); } if (!configuration.macFrameworkPath && !!this.defaultFrameworks) { configuration.macFrameworkPath = this.defaultFrameworks; diff --git a/Extension/src/LanguageServer/settings.ts b/Extension/src/LanguageServer/settings.ts index 5e9e492422..14f02f0bd0 100644 --- a/Extension/src/LanguageServer/settings.ts +++ b/Extension/src/LanguageServer/settings.ts @@ -141,6 +141,7 @@ export class CppSettings extends Settings { public get preferredPathSeparator(): string | undefined { return super.Section.get("preferredPathSeparator"); } public get updateChannel(): string | undefined { return super.Section.get("updateChannel"); } public get vcpkgEnabled(): boolean | undefined { return super.Section.get("vcpkg.enabled"); } + public get addNodeAddonIncludePaths(): boolean | undefined { return super.Section.get("addNodeAddonIncludePaths"); } public get renameRequiresIdentifier(): boolean | undefined { return super.Section.get("renameRequiresIdentifier"); } public get defaultIncludePath(): string[] | undefined { return super.Section.get("default.includePath"); } public get defaultDefines(): string[] | undefined { return super.Section.get("default.defines"); } From 51557b5ae94fe5da3ed6c18c6a08d8e428d6000b Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Wed, 13 Jan 2021 18:40:22 -0800 Subject: [PATCH 48/65] 1.2.0-insiders changelog (#6776) * Update changelog for 1.2.0-insiders. * Update version. --- Extension/CHANGELOG.md | 41 +++++++++++++++++++++++++++++++++++------ Extension/package.json | 2 +- 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 489a8f2d55..b7d4c0faa2 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,25 +1,42 @@ # C/C++ for Visual Studio Code Change Log -## Version 1.2.0-preview: Decemeber 21, 2020 +## Version 1.2.0-insiders: January 14, 2021 +### New Features +* Add support for cross-compilation configurations for IntelliSense. For example, `intelliSenseMode` value "linux-gcc-x64" could be used on a Mac host machine. [#1083](https://github.com/microsoft/vscode-cpptools/issues/1083) +* Add `C_Cpp.addNodeAddonIncludePaths` setting to add include paths from `nan` and `node-addon-api` when they're dependencies. [#4854](https://github.com/microsoft/vscode-cpptools/issues/4854) + * Bruce MacNaughton (@bmacnaughton) [PR #67331](https://github.com/microsoft/vscode-cpptools/pull/6731) + ### Enhancements +* Show configuration squiggles when configurations with the same name exist. [#3412](https://github.com/microsoft/vscode-cpptools/issues/3412) * Add command `Generate EditorConfig contents from VC Format settings`. [#6018](https://github.com/microsoft/vscode-cpptools/issues/6018) +* Update to clang-format 11.1. [#6326](https://github.com/microsoft/vscode-cpptools/issues/6326) +* Add support for the `/await` flag with msvc IntelliSense. [#6596](https://github.com/microsoft/vscode-cpptools/issues/6596) +* Increase document/workspace symbol limit from 1000 to 10000. [#6766](https://github.com/microsoft/vscode-cpptools/issues/6766) ### Bug Fixes * Fix handling of `--sysroot` and `-isysroot` with `compileCommands`. [#1575](https://github.com/microsoft/vscode-cpptools/issues/1575) +* Fix IntelliSense not updating if a non-opened header is changed. [#1780](https://github.com/microsoft/vscode-cpptools/issues/1780) * Fix IntelliSense involving overflow for unsigned int values. [#2202](https://github.com/microsoft/vscode-cpptools/issues/2202) * Fix IntelliSense not switching the language mode after changing C versus C++ `files.associations`. [#2557](https://github.com/microsoft/vscode-cpptools/issues/2557) -* Fix #include completion not sorting _ last. [#3465](https://github.com/microsoft/vscode-cpptools/issues/3465) +* Fix Switch Header/Source not switching to an existing file in another column if it's not visible. [#2667](https://github.com/microsoft/vscode-cpptools/issues/2667), [#6749](https://github.com/microsoft/vscode-cpptools/issues/6749) +* Fix `#include` completion not sorting _ last. [#3465](https://github.com/microsoft/vscode-cpptools/issues/3465) * Fix crash when certain JavaScript files are parsed as C++. [#3858](https://github.com/microsoft/vscode-cpptools/issues/3858) * Fix IntelliSense squiggle about not being able to assign to an object of its own type. [#3883](https://github.com/microsoft/vscode-cpptools/issues/3883) * Fix hover and Find All References for template function overloads. [#4044](https://github.com/microsoft/vscode-cpptools/issues/4044), [#4249](https://github.com/microsoft/vscode-cpptools/issues/4249) * Fix the Outline view for nested namespaces. [#4456](https://github.com/microsoft/vscode-cpptools/issues/4456) +* Fix some IntelliSense parsing errors. [#4595](https://github.com/microsoft/vscode-cpptools/issues/4595), [#6362](https://github.com/microsoft/vscode-cpptools/issues/6362), [#6685](https://github.com/microsoft/vscode-cpptools/issues/6685) * Fix Outline view with`"**/.*"` in `files.exclude`. [#4602](https://github.com/microsoft/vscode-cpptools/issues/4602) * Fix the Outline view for nested structs/classes. [#4781](https://github.com/microsoft/vscode-cpptools/issues/4871) -* Fix code folding incorrectly matching an inactive }. [#5429](https://github.com/microsoft/vscode-cpptools/issues/5429) -* Fix IntelliSense clang version for Apple clang. [#5500](https://github.com/microsoft/vscode-cpptools/issues/5500) +* Fix `files.exclude` not applying to watched files handlers. [#5141](https://github.com/microsoft/vscode-cpptools/issues/5141) +* Fix code folding incorrectly matching an inactive `}`. [#5429](https://github.com/microsoft/vscode-cpptools/issues/5429) +* Fix IntelliSense Clang version for Apple Clang. [#5500](https://github.com/microsoft/vscode-cpptools/issues/5500) +* Fix `#include` completion to include results for non-standard header file extensions. [#5698](https://github.com/microsoft/vscode-cpptools/issues/5698) +* Fix clang-format failing due to missing libtinfo5 on Linux ARM/ARM64. [#6774](https://github.com/microsoft/vscode-cpptools/pull/6774) * Automatically configure to use a custom configuration provider if available and no other configuration exists. [#6150](https://github.com/microsoft/vscode-cpptools/issues/6150) +* Fix not being able to attach to cpptools on Mac (to get crash call stacks). [#6151](https://github.com/microsoft/vscode-cpptools/issues/6151) * Fix IntelliSense crashing with cl.exe with C++20 and span. [#6251](https://github.com/microsoft/vscode-cpptools/issues/6251) * Stop querying unsupported compilers. [#6314](https://github.com/microsoft/vscode-cpptools/issues/6314) +* Add a workaround for a missing compiler path for the `compile_commands.json` generated by Unreal Engine. [#6358](https://github.com/microsoft/vscode-cpptools/issues/6358) * Fix IntelliSense crash with coroutines. [#6363](https://github.com/microsoft/vscode-cpptools/issues/6363) * Add localized strings for `cppbuild` tasks. [#6436](https://github.com/microsoft/vscode-cpptools/issues/6436) * Fix IntelliSense squiggle with C++20 non-type templates. [#6462](https://github.com/microsoft/vscode-cpptools/issues/6462) @@ -29,13 +46,25 @@ * @guntern [PR #6490](https://github.com/microsoft/vscode-cpptools/pull/6490) * Disable Insiders prompt for Codespaces. [#6491](https://github.com/microsoft/vscode-cpptools/issues/6491) * Fix `compile_commands.json` not working correctly for `*.C` files. [#6497](https://github.com/microsoft/vscode-cpptools/issues/6497) +* Show an error message when gdb can't be found when generating a `launch.json` (instead of using an invalid `miDebuggerPath`). [#6511](https://github.com/microsoft/vscode-cpptools/issues/6511) * Fix IntelliSense crash with a parenthesized type followed by an initializer list. [#6554](https://github.com/microsoft/vscode-cpptools/issues/6554), [#6624](https://github.com/microsoft/vscode-cpptools/issues/6624) * Fix IntelliSense updating after pasting multi-line code. [#6565](https://github.com/microsoft/vscode-cpptools/issues/6565) -* Use "method" instead of "method" for semantic tokens. [#6569](https://github.com/microsoft/vscode-cpptools/issues/6569) +* Use "method" instead of "member" for semantic tokens. [#6569](https://github.com/microsoft/vscode-cpptools/issues/6569) * Fix `__builtin_coro_*` methods not recognized by IntelliSense in gcc mode with `-fcoroutines`. [#6575](https://github.com/microsoft/vscode-cpptools/issues/6575) * Fix the `else` snippet interfering with entering one line `else` statements. [#6582](https://github.com/microsoft/vscode-cpptools/issues/6582) * Fix hover doc comments not working if there's a selection. [#6583](https://github.com/microsoft/vscode-cpptools/issues/6583) -* Fix a cpptools crash and a multiple deadlocks. +* Stop showing an "unknown error" message after canceling the creation of a `launch.json`. [#6608](https://github.com/microsoft/vscode-cpptools/issues/6608) +* Fix the executed command not appearing with cppbuild tasks. [#6647](https://github.com/microsoft/vscode-cpptools/issues/6647) +* Fix `_Debug` not being defined when `/MDd` or `/MTd` are used. [#6690](https://github.com/microsoft/vscode-cpptools/issues/6690) +* Fix infinite IntelliSense processing when C++20, gcc mode, and `-fcoroutines` and used. [#6709](https://github.com/microsoft/vscode-cpptools/issues/6709) +* Allow the extension to run on M1 Macs. [#6713](https://github.com/microsoft/vscode-cpptools/issues/6713) + * Xiangyi Meng (@xymeng16) [PR #6601](https://github.com/microsoft/vscode-cpptools/pull/6601) +* Fix `.` to `->` completion with multiple cursors. [#6720](https://github.com/microsoft/vscode-cpptools/issues/6720) +* Fix bug with configured cl.exe path not being used to choose appropriate system include paths, or cl.exe not being used at all if it's not also installed via the VS Installer. [#6746](https://github.com/microsoft/vscode-cpptools/issues/6746) +* Fix bugs with parsing of quotes and escape sequences in compiler args. [#6761](https://github.com/microsoft/vscode-cpptools/issues/6761) +* Fix "D" command line warnings not appearing with cl.exe cppbuild build tasks. +* Fix cl.exe cppbuild tasks when `/nologo` is used (and make /nologo a default arg). +* Fix a cpptools crash and multiple deadlocks. ## Version 1.1.3: December 3, 2020 ### Bug Fixes diff --git a/Extension/package.json b/Extension/package.json index 381350f82c..8e67ba22a1 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -2,7 +2,7 @@ "name": "cpptools", "displayName": "C/C++", "description": "C/C++ IntelliSense, debugging, and code browsing.", - "version": "1.1.3-main", + "version": "1.2.0-main", "publisher": "ms-vscode", "icon": "LanguageCCPP_color_128x.png", "readme": "README.md", From 2a94a2b26df09588e22e27a7f885574580dff4c6 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Thu, 14 Jan 2021 17:05:50 -0800 Subject: [PATCH 49/65] Fix configuration status bar issue. Update changelog. (#6782) * Fix configuration status bar issue. Update changelog. --- Extension/CHANGELOG.md | 4 +++- Extension/src/LanguageServer/ui.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index b7d4c0faa2..59e38aed47 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,6 +1,6 @@ # C/C++ for Visual Studio Code Change Log -## Version 1.2.0-insiders: January 14, 2021 +## Version 1.2.0-insiders: January 14, 2021 ### New Features * Add support for cross-compilation configurations for IntelliSense. For example, `intelliSenseMode` value "linux-gcc-x64" could be used on a Mac host machine. [#1083](https://github.com/microsoft/vscode-cpptools/issues/1083) * Add `C_Cpp.addNodeAddonIncludePaths` setting to add include paths from `nan` and `node-addon-api` when they're dependencies. [#4854](https://github.com/microsoft/vscode-cpptools/issues/4854) @@ -10,6 +10,7 @@ * Show configuration squiggles when configurations with the same name exist. [#3412](https://github.com/microsoft/vscode-cpptools/issues/3412) * Add command `Generate EditorConfig contents from VC Format settings`. [#6018](https://github.com/microsoft/vscode-cpptools/issues/6018) * Update to clang-format 11.1. [#6326](https://github.com/microsoft/vscode-cpptools/issues/6326) +* Add clang-format built for Windows ARM64. [#6494](https://github.com/microsoft/vscode-cpptools/issues/6494) * Add support for the `/await` flag with msvc IntelliSense. [#6596](https://github.com/microsoft/vscode-cpptools/issues/6596) * Increase document/workspace symbol limit from 1000 to 10000. [#6766](https://github.com/microsoft/vscode-cpptools/issues/6766) @@ -62,6 +63,7 @@ * Fix `.` to `->` completion with multiple cursors. [#6720](https://github.com/microsoft/vscode-cpptools/issues/6720) * Fix bug with configured cl.exe path not being used to choose appropriate system include paths, or cl.exe not being used at all if it's not also installed via the VS Installer. [#6746](https://github.com/microsoft/vscode-cpptools/issues/6746) * Fix bugs with parsing of quotes and escape sequences in compiler args. [#6761](https://github.com/microsoft/vscode-cpptools/issues/6761) +* Fix the configuration not showing in the status bar when `c_cpp_properties.json` is active. [#6765](https://github.com/microsoft/vscode-cpptools/issues/6765) * Fix "D" command line warnings not appearing with cl.exe cppbuild build tasks. * Fix cl.exe cppbuild tasks when `/nologo` is used (and make /nologo a default arg). * Fix a cpptools crash and multiple deadlocks. diff --git a/Extension/src/LanguageServer/ui.ts b/Extension/src/LanguageServer/ui.ts index cd8d722e7e..9494d21350 100644 --- a/Extension/src/LanguageServer/ui.ts +++ b/Extension/src/LanguageServer/ui.ts @@ -165,7 +165,7 @@ export class UI { const isCpp: boolean = (activeEditor.document.uri.scheme === "file" && (activeEditor.document.languageId === "cpp" || activeEditor.document.languageId === "c")); let isCppPropertiesJson: boolean = false; - if (activeEditor.document.languageId === "json") { + if (activeEditor.document.languageId === "json" || activeEditor.document.languageId === "jsonc") { isCppPropertiesJson = activeEditor.document.fileName.endsWith("c_cpp_properties.json"); if (isCppPropertiesJson) { vscode.languages.setTextDocumentLanguage(activeEditor.document, "jsonc"); From 3e2488a9e781059d245ea6773bb308ee818db7ae Mon Sep 17 00:00:00 2001 From: Michelle Matias <38734287+michelleangela@users.noreply.github.com> Date: Thu, 14 Jan 2021 17:15:42 -0800 Subject: [PATCH 50/65] fix config name UI error (#6783) --- Extension/src/LanguageServer/configurations.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Extension/src/LanguageServer/configurations.ts b/Extension/src/LanguageServer/configurations.ts index f47381ca03..b7fee2d3c9 100644 --- a/Extension/src/LanguageServer/configurations.ts +++ b/Extension/src/LanguageServer/configurations.ts @@ -1375,8 +1375,9 @@ export class CppProperties { private isConfigNameUnique(configName: string): string | undefined { let errorMsg: string | undefined; + // TODO: make configName non-case sensitive. const occurrences: number | undefined = this.ConfigurationNames?.filter(function (name): boolean { return name === configName; }).length; - if (occurrences) { + if (occurrences && occurrences > 1) { errorMsg = localize('duplicate.name', "{0} is a duplicate. The configuration name should be unique.", configName); } return errorMsg; From 8e8482b52715453def38e7bb644e1259691128e1 Mon Sep 17 00:00:00 2001 From: Colen Garoutte-Carson <49173979+Colengms@users.noreply.github.com> Date: Thu, 14 Jan 2021 18:21:09 -0800 Subject: [PATCH 51/65] Fix issue with multiple didOpen (#6784) --- Extension/src/LanguageServer/extension.ts | 2 +- .../src/LanguageServer/protocolFilter.ts | 58 ++++++++++--------- 2 files changed, 31 insertions(+), 29 deletions(-) diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index bc26fe0a27..943f5e5f9b 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -432,10 +432,10 @@ export function processDelayedDidOpen(document: vscode.TextDocument): void { const client: Client = clients.getClientFor(document.uri); if (client) { // Log warm start. - clients.timeTelemetryCollector.setDidOpenTime(document.uri); if (clients.checkOwnership(client, document)) { if (!client.TrackedDocuments.has(document)) { // If not yet tracked, process as a newly opened file. (didOpen is sent to server in client.takeOwnership()). + clients.timeTelemetryCollector.setDidOpenTime(document.uri); client.TrackedDocuments.add(document); const finishDidOpen = (doc: vscode.TextDocument) => { client.provideCustomConfiguration(doc.uri, undefined); diff --git a/Extension/src/LanguageServer/protocolFilter.ts b/Extension/src/LanguageServer/protocolFilter.ts index b76697df40..433d6bdab6 100644 --- a/Extension/src/LanguageServer/protocolFilter.ts +++ b/Extension/src/LanguageServer/protocolFilter.ts @@ -26,40 +26,42 @@ export function createProtocolFilter(clients: ClientCollection): Middleware { didOpen: (document, sendMessage) => { const editor: vscode.TextEditor | undefined = vscode.window.visibleTextEditors.find(e => e.document === document); if (editor) { - // Log warm start. - clients.timeTelemetryCollector.setDidOpenTime(document.uri); // If the file was visible editor when we were activated, we will not get a call to // onDidChangeVisibleTextEditors, so immediately open any file that is visible when we receive didOpen. // Otherwise, we defer opening the file until it's actually visible. const me: Client = clients.getClientFor(document.uri); - if (clients.checkOwnership(me, document)) { - me.TrackedDocuments.add(document); - const finishDidOpen = (doc: vscode.TextDocument) => { - me.provideCustomConfiguration(doc.uri, undefined); - me.notifyWhenReady(() => { - sendMessage(doc); - me.onDidOpenTextDocument(doc); - if (editor && editor === vscode.window.activeTextEditor) { - onDidChangeActiveTextEditor(editor); - } - }); - }; - let languageChanged: boolean = false; - if ((document.uri.path.endsWith(".C") || document.uri.path.endsWith(".H")) && document.languageId === "c") { - const cppSettings: CppSettings = new CppSettings(); - if (cppSettings.autoAddFileAssociations) { - const fileName: string = path.basename(document.uri.fsPath); - const mappingString: string = fileName + "@" + document.uri.fsPath; - me.addFileAssociations(mappingString, false); - me.sendDidChangeSettings({ files: { associations: new OtherSettings().filesAssociations }}); - vscode.languages.setTextDocumentLanguage(document, "cpp").then((newDoc: vscode.TextDocument) => { - finishDidOpen(newDoc); + if (!me.TrackedDocuments.has(document)) { + // Log warm start. + clients.timeTelemetryCollector.setDidOpenTime(document.uri); + if (clients.checkOwnership(me, document)) { + me.TrackedDocuments.add(document); + const finishDidOpen = (doc: vscode.TextDocument) => { + me.provideCustomConfiguration(doc.uri, undefined); + me.notifyWhenReady(() => { + sendMessage(doc); + me.onDidOpenTextDocument(doc); + if (editor && editor === vscode.window.activeTextEditor) { + onDidChangeActiveTextEditor(editor); + } }); - languageChanged = true; + }; + let languageChanged: boolean = false; + if ((document.uri.path.endsWith(".C") || document.uri.path.endsWith(".H")) && document.languageId === "c") { + const cppSettings: CppSettings = new CppSettings(); + if (cppSettings.autoAddFileAssociations) { + const fileName: string = path.basename(document.uri.fsPath); + const mappingString: string = fileName + "@" + document.uri.fsPath; + me.addFileAssociations(mappingString, false); + me.sendDidChangeSettings({ files: { associations: new OtherSettings().filesAssociations }}); + vscode.languages.setTextDocumentLanguage(document, "cpp").then((newDoc: vscode.TextDocument) => { + finishDidOpen(newDoc); + }); + languageChanged = true; + } + } + if (!languageChanged) { + finishDidOpen(document); } - } - if (!languageChanged) { - finishDidOpen(document); } } } else { From 781e813abd6e83f0310e06caf2d160f0321fc0a8 Mon Sep 17 00:00:00 2001 From: Colen Garoutte-Carson <49173979+Colengms@users.noreply.github.com> Date: Fri, 15 Jan 2021 11:44:46 -0800 Subject: [PATCH 52/65] Fix issue with git cleanup in loc auto-pr script (#6786) --- Extension/translations_auto_pr.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Extension/translations_auto_pr.js b/Extension/translations_auto_pr.js index 5a3903f56e..3dc53ca466 100644 --- a/Extension/translations_auto_pr.js +++ b/Extension/translations_auto_pr.js @@ -150,7 +150,10 @@ octokit.pulls.list({ owner: repoOwner, repo: repoName }).then(({data}) => { console.log(`Restoring default git permissions`); cp.execSync('git remote remove origin'); cp.execSync(`git remote add origin https://github.com/${repoOwner}/${repoName}.git`); - + + console.log(`Run 'git fetch' against updated remote`); + cp.execSync('git fetch'); + console.log(`Switching back to main (git checkout main)`); cp.execSync('git checkout main'); From bbcc3fdcabbf06a2d38cdbb8c65245ca9366cf84 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Fri, 15 Jan 2021 15:57:20 -0800 Subject: [PATCH 53/65] Fix Go to Symbol in Workspace (#6795) * Fix Go to Symbol in Workspace --- .../LanguageServer/Providers/workspaceSymbolProvider.ts | 4 +++- Extension/src/LanguageServer/client.ts | 8 +++++++- Extension/src/common.ts | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Extension/src/LanguageServer/Providers/workspaceSymbolProvider.ts b/Extension/src/LanguageServer/Providers/workspaceSymbolProvider.ts index 44c97981a0..31fa30680a 100644 --- a/Extension/src/LanguageServer/Providers/workspaceSymbolProvider.ts +++ b/Extension/src/LanguageServer/Providers/workspaceSymbolProvider.ts @@ -28,11 +28,13 @@ export class WorkspaceSymbolProvider implements vscode.WorkspaceSymbolProvider { if (suffix.length) { name = name + ' (' + suffix + ')'; } + const range: vscode.Range = new vscode.Range(symbol.location.range.start.line, symbol.location.range.start.character, symbol.location.range.end.line, symbol.location.range.end.character); + const uri: vscode.Uri = vscode.Uri.parse(symbol.location.uri.toString()); const vscodeSymbol: vscode.SymbolInformation = new vscode.SymbolInformation( name, symbol.kind, symbol.containerName, - symbol.location + new vscode.Location(uri, range) ); resultSymbols.push(vscodeSymbol); }); diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index f5e9d9f9cf..0162eeaeed 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -302,10 +302,16 @@ export interface LocalizeDocumentSymbol { children: LocalizeDocumentSymbol[]; } +/** Differs from vscode.Location, which has a uri of type vscode.Uri. */ +interface Location { + uri: string; + range: Range; +} + interface LocalizeSymbolInformation { name: string; kind: vscode.SymbolKind; - location: vscode.Location; + location: Location; containerName: string; suffix: LocalizeStringParams; } diff --git a/Extension/src/common.ts b/Extension/src/common.ts index 425357ea6e..9d04bfeffb 100644 --- a/Extension/src/common.ts +++ b/Extension/src/common.ts @@ -516,7 +516,7 @@ export function getInstalledBinaryPlatform(): string | undefined { return installedPlatform; } -/* Check if the core binaries exists in extension's installation folder */ +/** Check if the core binaries exists in extension's installation folder */ export async function checkInstallBinariesExist(): Promise { if (!checkInstallLockFile()) { return false; @@ -540,7 +540,7 @@ export async function checkInstallBinariesExist(): Promise { return installBinariesExist; } -/* Check if the core Json files exists in extension's installation folder */ +/** Check if the core Json files exists in extension's installation folder */ export async function checkInstallJsonsExist(): Promise { let installJsonsExist: boolean = true; const jsonFiles: string[] = [ From e4809d9f905470e8672d6a0910986709136de901 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Fri, 15 Jan 2021 16:10:21 -0800 Subject: [PATCH 54/65] Remove .dylib filtering. (#6796) * Remove .dylib filtering. --- Extension/src/LanguageServer/extension.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index 943f5e5f9b..22769544f6 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -1179,7 +1179,9 @@ function handleCrashFileRead(err: NodeJS.ErrnoException | undefined | null, data const lines: string[] = data.split("\n"); data = ""; lines.forEach((line: string) => { - if (!line.includes(".dylib") && !line.includes("???")) { + if (// Temporarily (?) remove .dylib filtering. + // !line.includes(".dylib") && + !line.includes("???")) { line = line.replace(/^\d+\s+/, ""); // Remove from the start of the line. line = line.replace(/std::__1::/g, "std::"); // __1:: is not helpful. data += (line + "\n"); From 51fff8eb42e9cdafa0563db5e0fb223f5ec6ce4c Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Fri, 15 Jan 2021 18:09:56 -0800 Subject: [PATCH 55/65] Add new "console" launch config for cppvsdbg (#6794) * Add new "console" launch config for vsdbg This PR adds new console support for the cppvsdbg debug type. This removes the legacy 'externalConsole' flag with 'console'. Console has four enums: - internalConsole: Output to the VS Code Debug Console. This doesn't support reading console input (ex:Console.ReadLine) - integratedTerminal: VS Code's integrated terminal - externalTerminal: External terminal that can be configured via user settings - newExternalWindow: Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored. --- Extension/package.json | 21 +++++++++++++++++-- Extension/package.nls.json | 7 ++++++- .../src/Debugger/configurationProvider.ts | 11 +++++++++- Extension/src/Debugger/configurations.ts | 2 +- Extension/tools/OptionsSchema.json | 17 +++++++++++++++ 5 files changed, 53 insertions(+), 5 deletions(-) diff --git a/Extension/package.json b/Extension/package.json index 8e67ba22a1..2113acea6c 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -1989,6 +1989,23 @@ "description": "%c_cpp.debuggers.cppvsdbg.externalConsole.description%", "default": false }, + "console": { + "type": "string", + "enum": [ + "internalConsole", + "integratedTerminal", + "externalTerminal", + "newExternalWindow" + ], + "enumDescriptions": [ + "%c_cpp.debuggers.cppvsdbg.console.internalConsole.description%", + "%c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description%", + "%c_cpp.debuggers.cppvsdbg.console.externalTerminal.description%", + "%c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description%" + ], + "description": "%c_cpp.debuggers.cppvsdbg.console.description%", + "default": "externalTerminal" + }, "sourceFileMap": { "type": "object", "description": "%c_cpp.debuggers.sourceFileMap.description%", @@ -2730,7 +2747,7 @@ }, { "description": "Visual Studio Windows Debugger", - "url": "https://go.microsoft.com/fwlink/?linkid=2152353", + "url": "https://go.microsoft.com/fwlink/?linkid=2153010", "platforms": [ "win32" ], @@ -2741,7 +2758,7 @@ "binaries": [ "./debugAdapters/vsdbg/bin/vsdbg.exe" ], - "integrity": "8299A112D1260C2CEA53AC74D18FA73DE8533C058AAAB254571B503FBAC37297" + "integrity": "52C4234976D527A7BF02EB2E8844F3C605DC4BD1D3847F83C8675CD23967BAB3" } ] } diff --git a/Extension/package.nls.json b/Extension/package.nls.json index 6e155b04d3..22479404bd 100644 --- a/Extension/package.nls.json +++ b/Extension/package.nls.json @@ -213,7 +213,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "Optional time, in milliseconds, for the debugger to wait for the debugServer to start up. Default is 10000.", "c_cpp.debuggers.coreDumpPath.description": "Optional full path to a core dump file for the specified program. Defaults to null.", "c_cpp.debuggers.cppdbg.externalConsole.description": "If true, a console is launched for the debuggee. If false, on Linux and Windows, it will appear in the Integrated Console.", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "VS Code's integrated terminal", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "If true, disables debuggee console redirection that is required for Integrated Terminal support.", "c_cpp.debuggers.sourceFileMap.description": "Optional source file mappings passed to the debug engine. Example: '{ \"/original/source/path\":\"/current/source/path\" }'", "c_cpp.debuggers.processId.anyOf.description": "Optional process id to attach the debugger to. Use \"${command:pickProcess}\" to get a list of local running processes to attach to. Note that some platforms require administrator privileges in order to attach to a process.", diff --git a/Extension/src/Debugger/configurationProvider.ts b/Extension/src/Debugger/configurationProvider.ts index 0c0eef308a..ab532ef057 100644 --- a/Extension/src/Debugger/configurationProvider.ts +++ b/Extension/src/Debugger/configurationProvider.ts @@ -182,7 +182,7 @@ class CppConfigurationProvider implements vscode.DebugConfigurationProvider { newConfig.name = compilerName + buildAndDebugActiveFileStr(); newConfig.preLaunchTask = task.name; - newConfig.externalConsole = false; + newConfig.console = "externalTerminal"; const exeName: string = path.join("${fileDirname}", "${fileBasenameNoExtension}"); const isWindows: boolean = platform === 'win32'; newConfig.program = isWindows ? exeName + ".exe" : exeName; @@ -246,6 +246,15 @@ class CppConfigurationProvider implements vscode.DebugConfigurationProvider { } if (config.type === 'cppvsdbg') { + // Handle legacy 'externalConsole' bool and convert to console: "externalTerminal" + if (config.hasOwnProperty("externalConsole")) { + logger.getOutputChannelLogger().showWarningMessage(localize("debugger.deprecated.config", "The key '{0}' is deprecated. Please use '{1}' instead.", "externalConsole", "console")); + if (config.externalConsole && !config.console) { + config.console = "externalTerminal"; + } + delete config.externalConsole; + } + // Fail if cppvsdbg type is running on non-Windows if (os.platform() !== 'win32') { logger.getOutputChannelLogger().showWarningMessage(localize("debugger.not.available", "Debugger of type: '{0}' is only available on Windows. Use type: '{1}' on the current OS platform.", "cppvsdbg", "cppdbg")); diff --git a/Extension/src/Debugger/configurations.ts b/Extension/src/Debugger/configurations.ts index 5ed3a0c17a..4a4908ff7d 100644 --- a/Extension/src/Debugger/configurations.ts +++ b/Extension/src/Debugger/configurations.ts @@ -44,7 +44,7 @@ function createLaunchString(name: string, type: string, executable: string): str "stopAtEntry": false, "cwd": "$\{workspaceFolder\}", "environment": [], -"externalConsole": false +"console": "externalTerminal" `; } diff --git a/Extension/tools/OptionsSchema.json b/Extension/tools/OptionsSchema.json index 1cee13b3ef..8b4290e74f 100644 --- a/Extension/tools/OptionsSchema.json +++ b/Extension/tools/OptionsSchema.json @@ -546,6 +546,23 @@ "description": "%c_cpp.debuggers.cppvsdbg.externalConsole.description%", "default": false }, + "console": { + "type": "string", + "enum": [ + "internalConsole", + "integratedTerminal", + "externalTerminal", + "newExternalWindow" + ], + "enumDescriptions": [ + "%c_cpp.debuggers.cppvsdbg.console.internalConsole.description%", + "%c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description%", + "%c_cpp.debuggers.cppvsdbg.console.externalTerminal.description%", + "%c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description%" + ], + "description": "%c_cpp.debuggers.cppvsdbg.console.description%", + "default": "internalConsole" + }, "sourceFileMap": { "type": "object", "description": "%c_cpp.debuggers.sourceFileMap.description%", From f9b6d18af49de12f4b69c02814fadaad27d9bea8 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Fri, 15 Jan 2021 22:09:16 -0800 Subject: [PATCH 56/65] Revert "Remove .dylib filtering. (#6796)" (#6797) This reverts commit e4809d9f905470e8672d6a0910986709136de901. --- Extension/src/LanguageServer/extension.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index 22769544f6..943f5e5f9b 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -1179,9 +1179,7 @@ function handleCrashFileRead(err: NodeJS.ErrnoException | undefined | null, data const lines: string[] = data.split("\n"); data = ""; lines.forEach((line: string) => { - if (// Temporarily (?) remove .dylib filtering. - // !line.includes(".dylib") && - !line.includes("???")) { + if (!line.includes(".dylib") && !line.includes("???")) { line = line.replace(/^\d+\s+/, ""); // Remove from the start of the line. line = line.replace(/std::__1::/g, "std::"); // __1:: is not helpful. data += (line + "\n"); From 5f94a645d5468933eca1571e867544d3c5465a10 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 19 Jan 2021 18:20:44 -0800 Subject: [PATCH 57/65] 1.2.0-insiders2 changelog (#6817) * Update changelog. --- Extension/CHANGELOG.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 59e38aed47..44e84cdb26 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,5 +1,19 @@ # C/C++ for Visual Studio Code Change Log + +## Version 1.2.0-insiders2: January 20, 2021 +### Enhancement +* Add new "console" launch config for cppvsdbg. [PR #6794](https://github.com/microsoft/vscode-cpptools/pull/6794) + +### Bug Fixes +* Fix autocomplete not working with `for` loop variables with C code. [#2946](https://github.com/microsoft/vscode-cpptools/issues/2946) +* Fix an entry not found error for files in `compile_commands.json` that didn't initially exist. [#6311](https://github.com/microsoft/vscode-cpptools/issues/6311) +* Fix IntelliSense errors with C++20 std::ranges in gcc/clang modes. [#6342](https://github.com/microsoft/vscode-cpptools/issues/6342) +* Fix `compile_commands.json` not working correctly for `*.C` files. [#6497](https://github.com/microsoft/vscode-cpptools/issues/6497) +* Fix IntelliSense errors when "module" is used as a variable name with C++20. [#6719](https://github.com/microsoft/vscode-cpptools/issues/6719) +* Fix a runtime failure on macOS 10.13 or older. [#6787](https://github.com/microsoft/vscode-cpptools/issues/6787) +* Fix `Go to Symbol in Workspace`. [#6793](https://github.com/microsoft/vscode-cpptools/issues/6793) + ## Version 1.2.0-insiders: January 14, 2021 ### New Features * Add support for cross-compilation configurations for IntelliSense. For example, `intelliSenseMode` value "linux-gcc-x64" could be used on a Mac host machine. [#1083](https://github.com/microsoft/vscode-cpptools/issues/1083) @@ -21,6 +35,7 @@ * Fix IntelliSense not switching the language mode after changing C versus C++ `files.associations`. [#2557](https://github.com/microsoft/vscode-cpptools/issues/2557) * Fix Switch Header/Source not switching to an existing file in another column if it's not visible. [#2667](https://github.com/microsoft/vscode-cpptools/issues/2667), [#6749](https://github.com/microsoft/vscode-cpptools/issues/6749) * Fix `#include` completion not sorting _ last. [#3465](https://github.com/microsoft/vscode-cpptools/issues/3465) +* Fix completion not working for templates in gcc/clang mode. [#3501](https://github.com/microsoft/vscode-cpptools/issues/3501) * Fix crash when certain JavaScript files are parsed as C++. [#3858](https://github.com/microsoft/vscode-cpptools/issues/3858) * Fix IntelliSense squiggle about not being able to assign to an object of its own type. [#3883](https://github.com/microsoft/vscode-cpptools/issues/3883) * Fix hover and Find All References for template function overloads. [#4044](https://github.com/microsoft/vscode-cpptools/issues/4044), [#4249](https://github.com/microsoft/vscode-cpptools/issues/4249) @@ -46,7 +61,6 @@ * Fix gcc problem matcher when the column is missing. * @guntern [PR #6490](https://github.com/microsoft/vscode-cpptools/pull/6490) * Disable Insiders prompt for Codespaces. [#6491](https://github.com/microsoft/vscode-cpptools/issues/6491) -* Fix `compile_commands.json` not working correctly for `*.C` files. [#6497](https://github.com/microsoft/vscode-cpptools/issues/6497) * Show an error message when gdb can't be found when generating a `launch.json` (instead of using an invalid `miDebuggerPath`). [#6511](https://github.com/microsoft/vscode-cpptools/issues/6511) * Fix IntelliSense crash with a parenthesized type followed by an initializer list. [#6554](https://github.com/microsoft/vscode-cpptools/issues/6554), [#6624](https://github.com/microsoft/vscode-cpptools/issues/6624) * Fix IntelliSense updating after pasting multi-line code. [#6565](https://github.com/microsoft/vscode-cpptools/issues/6565) From f73a5d169ad1d64ed59e41334c1d04b01258df75 Mon Sep 17 00:00:00 2001 From: Michelle Matias <38734287+michelleangela@users.noreply.github.com> Date: Thu, 21 Jan 2021 13:01:56 -0800 Subject: [PATCH 58/65] Use cpptools API v5 (#6823) --- Extension/package.json | 2 +- Extension/src/LanguageServer/client.ts | 34 ++++++++++++------- .../src/LanguageServer/configurations.ts | 12 +++---- .../src/LanguageServer/customProviders.ts | 4 +-- Extension/yarn.lock | 8 ++--- 5 files changed, 35 insertions(+), 25 deletions(-) diff --git a/Extension/package.json b/Extension/package.json index 2113acea6c..92b550fb58 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -2450,7 +2450,7 @@ "mkdirp": "^0.5.1", "plist": "^3.0.1", "tmp": "^0.1.0", - "vscode-cpptools": "^4.0.1", + "vscode-cpptools": "^5.0.0", "vscode-extension-telemetry": "^0.1.2", "vscode-languageclient": "^5.2.1", "vscode-nls": "^4.1.1", diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 0162eeaeed..e986d8ff5c 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -1702,7 +1702,7 @@ export class DefaultClient implements Client { return this.callTaskWithTimeout(provideConfigurationAsync, configProviderTimeout, tokenSource).then( (configs?: SourceFileConfigurationItem[] | null) => { if (configs && configs.length > 0) { - this.sendCustomConfigurations(configs); + this.sendCustomConfigurations(configs, provider.version); } onFinished(); }, @@ -2364,19 +2364,24 @@ export class DefaultClient implements Client { this.notifyWhenReady(() => this.languageClient.sendNotification(ChangeCompileCommandsNotification, params)); } - private isSourceFileConfigurationItem(input: any): input is SourceFileConfigurationItem { + private isSourceFileConfigurationItem(input: any, providerVersion: Version): input is SourceFileConfigurationItem { + // IntelliSenseMode and standard are optional for version 5+. However, they are required when compilerPath is not defined. + let areOptionalsValid: boolean = false; + if (providerVersion < Version.v5 || input.configuration.compilerPath === undefined) { + areOptionalsValid = util.isString(input.configuration.intelliSenseMode) && util.isString(input.configuration.standard); + } else if (util.isString(input.configuration.compilerPath)) { + areOptionalsValid = util.isOptionalString(input.configuration.intelliSenseMode) && util.isOptionalString(input.configuration.standard); + } return (input && (util.isString(input.uri) || util.isUri(input.uri)) && input.configuration && + areOptionalsValid && util.isArrayOfString(input.configuration.includePath) && util.isArrayOfString(input.configuration.defines) && - util.isString(input.configuration.intelliSenseMode) && - util.isString(input.configuration.standard) && - util.isOptionalString(input.configuration.compilerPath) && util.isOptionalArrayOfString(input.configuration.compilerArgs) && util.isOptionalArrayOfString(input.configuration.forcedInclude)); } - private sendCustomConfigurations(configs: any): void { + private sendCustomConfigurations(configs: any, providerVersion: Version): void { // configs is marked as 'any' because it is untrusted data coming from a 3rd-party. We need to sanitize it before sending it to the language server. if (!configs || !(configs instanceof Array)) { console.warn("discarding invalid SourceFileConfigurationItems[]: " + configs); @@ -2390,7 +2395,7 @@ export class DefaultClient implements Client { } const sanitized: SourceFileConfigurationItemAdapter[] = []; configs.forEach(item => { - if (this.isSourceFileConfigurationItem(item)) { + if (this.isSourceFileConfigurationItem(item, providerVersion)) { this.configurationLogging.set(item.uri.toString(), JSON.stringify(item.configuration, null, 4)); if (settings.loggingLevel === "Debug") { out.appendLine(` uri: ${item.uri.toString()}`); @@ -2432,6 +2437,15 @@ export class DefaultClient implements Client { private browseConfigurationLogging: string = ""; private configurationLogging: Map = new Map(); + private isWorkspaceBrowseConfiguration(input: any): boolean { + const areOptionalsValid: boolean = (input.compilerPath === undefined && util.isString(input.standard)) || + (util.isString(input.compilerPath) && util.isOptionalString(input.standard)); + return areOptionalsValid && + util.isArrayOfString(input.browsePath) && + util.isOptionalString(input.compilerArgs) && + util.isOptionalString(input.windowsSdkVersion); + } + private sendCustomBrowseConfiguration(config: any, providerId?: string, timeoutOccured?: boolean): void { const rootFolder: vscode.WorkspaceFolder | undefined = this.RootFolder; if (!rootFolder) { @@ -2461,11 +2475,7 @@ export class DefaultClient implements Client { } sanitized = {...config}; - if (!util.isArrayOfString(sanitized.browsePath) || - !util.isOptionalString(sanitized.compilerPath) || - !util.isOptionalArrayOfString(sanitized.compilerArgs) || - !util.isOptionalString(sanitized.standard) || - !util.isOptionalString(sanitized.windowsSdkVersion)) { + if (!this.isWorkspaceBrowseConfiguration(sanitized)) { console.log("Received an invalid browse configuration from configuration provider."); const configValue: WorkspaceBrowseConfiguration | undefined = lastCustomBrowseConfiguration.Value; if (configValue) { diff --git a/Extension/src/LanguageServer/configurations.ts b/Extension/src/LanguageServer/configurations.ts index b7fee2d3c9..213f739f57 100644 --- a/Extension/src/LanguageServer/configurations.ts +++ b/Extension/src/LanguageServer/configurations.ts @@ -481,18 +481,18 @@ export class CppProperties { private getIntelliSenseModeForPlatform(name?: string): string { // Do the built-in configs first. if (name === "Linux") { - return "gcc-x64"; + return "linux-gcc-x64"; } else if (name === "Mac") { - return "clang-x64"; + return "macos-clang-x64"; } else if (name === "Win32") { - return "msvc-x64"; + return "windows-msvc-x64"; } else if (process.platform === 'win32') { // Custom configs default to the OS's preference. - return "msvc-x64"; + return "windows-msvc-x64"; } else if (process.platform === 'darwin') { - return "clang-x64"; + return "macos-clang-x64"; } else { - return "gcc-x64"; + return "linux-gcc-x64"; } } diff --git a/Extension/src/LanguageServer/customProviders.ts b/Extension/src/LanguageServer/customProviders.ts index d47d50e889..83b51e7b43 100644 --- a/Extension/src/LanguageServer/customProviders.ts +++ b/Extension/src/LanguageServer/customProviders.ts @@ -83,7 +83,7 @@ class CustomProviderWrapper implements CustomConfigurationProvider1 { return this._version < Version.v2 ? Promise.resolve(false) : this.provider.canProvideBrowseConfiguration(token); } - public provideBrowseConfiguration(token?: vscode.CancellationToken): Thenable { + public provideBrowseConfiguration(token?: vscode.CancellationToken): Thenable { console.assert(this._version >= Version.v2); return this._version < Version.v2 ? Promise.resolve({browsePath: []}) : this.provider.provideBrowseConfiguration(token); } @@ -92,7 +92,7 @@ class CustomProviderWrapper implements CustomConfigurationProvider1 { return this._version < Version.v3 ? Promise.resolve(false) : this.provider.canProvideBrowseConfigurationsPerFolder(token); } - public provideFolderBrowseConfiguration(uri: vscode.Uri, token?: vscode.CancellationToken): Thenable { + public provideFolderBrowseConfiguration(uri: vscode.Uri, token?: vscode.CancellationToken): Thenable { console.assert(this._version >= Version.v3); return this._version < Version.v3 ? Promise.resolve({browsePath: []}) : this.provider.provideFolderBrowseConfiguration(uri, token); } diff --git a/Extension/yarn.lock b/Extension/yarn.lock index 46520202e6..68fbcd35ab 100644 --- a/Extension/yarn.lock +++ b/Extension/yarn.lock @@ -5631,10 +5631,10 @@ vm-browserify@^1.0.1: resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ== -vscode-cpptools@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/vscode-cpptools/-/vscode-cpptools-4.0.1.tgz#7e591572b437a6aca47b767487b52bc253e6d911" - integrity sha512-2IjtWe7rjIp20J+5m0Yjpa8TjGhdQWChwE49iYJBUUTHFqJDFq0aXNAyiDNw6BDWI1Q2Z/gmeQGsJBoxTb0J0Q== +vscode-cpptools@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/vscode-cpptools/-/vscode-cpptools-5.0.0.tgz#f1195736af1cfa10727482be57093a3997c8f63b" + integrity sha512-TPG6/o9+DisDj2U4AiTOihtfjEzBb/4CErYaB1JIWFMZTQE7zlNTdsgCs+l4xIS2Y34us0RMBIC6On1mBuwxww== vscode-debugadapter@^1.35.0: version "1.38.0" From 89cdae04563a1658dac931cb96898b11e85f2064 Mon Sep 17 00:00:00 2001 From: Elaheh Rashedi Date: Thu, 21 Jan 2021 13:48:41 -0800 Subject: [PATCH 59/65] avoid throwing error for single-file mode task configuration (#6828) * change master to main * ignore single-mode files error * linter error --- .../LanguageServer/cppBuildTaskProvider.ts | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/Extension/src/LanguageServer/cppBuildTaskProvider.ts b/Extension/src/LanguageServer/cppBuildTaskProvider.ts index ed9ec1531d..86a18ff10c 100644 --- a/Extension/src/LanguageServer/cppBuildTaskProvider.ts +++ b/Extension/src/LanguageServer/cppBuildTaskProvider.ts @@ -5,7 +5,7 @@ import * as path from 'path'; import { TaskDefinition, Task, TaskGroup, ShellExecution, Uri, workspace, - TaskProvider, TaskScope, CustomExecution, ProcessExecution, TextEditor, Pseudoterminal, EventEmitter, Event, TerminalDimensions, window + TaskProvider, TaskScope, CustomExecution, ProcessExecution, TextEditor, Pseudoterminal, EventEmitter, Event, TerminalDimensions, window, WorkspaceFolder } from 'vscode'; import * as os from 'os'; import * as util from '../common'; @@ -181,13 +181,18 @@ export class CppBuildTaskProvider implements TaskProvider { }; } - const activeClient: Client = ext.getActiveClient(); - const uri: Uri | undefined = activeClient.RootUri; - if (!uri) { - throw new Error("No client URI found in getBuildTasks()"); - } - if (!workspace.getWorkspaceFolder(uri)) { - throw new Error("No target WorkspaceFolder found in getBuildTasks()"); + const editor: TextEditor | undefined = window.activeTextEditor; + const folder: WorkspaceFolder | undefined = editor ? workspace.getWorkspaceFolder(editor.document.uri) : undefined; + // Check uri exists (single-mode files are ignored). + if (folder) { + const activeClient: Client = ext.getActiveClient(); + const uri: Uri | undefined = activeClient.RootUri; + if (!uri) { + throw new Error("No client URI found in getBuildTasks()"); + } + if (!workspace.getWorkspaceFolder(uri)) { + throw new Error("No target WorkspaceFolder found in getBuildTasks()"); + } } const scope: TaskScope = TaskScope.Workspace; From fdda9c2db5642a49bee7044b69c4bdb40c27a12b Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 26 Jan 2021 16:59:19 -0800 Subject: [PATCH 60/65] Update changelog. (#6852) * Update changelog. --- Extension/CHANGELOG.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 44e84cdb26..7faa3efbea 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,5 +1,14 @@ # C/C++ for Visual Studio Code Change Log +## Version 1.2.0-insiders3: January 26, 2021 +### Bug Fixes +* Fix build tasks errors in single file mode. [#4638](https://github.com/microsoft/vscode-cpptools/issues/4638), [#6764](https://github.com/microsoft/vscode-cpptools/issues/6764) +* Fix IntelliSense not supporting `__float128` (and `Q` literals) on x64 Linux. [#6574](https://github.com/microsoft/vscode-cpptools/issues/6574) +* Fix IntelliSense process infinitely restarting after crashing. [#6724](https://github.com/microsoft/vscode-cpptools/issues/6724) +* Fix not being able to attach to cpptools-srv on Mac (to get crash call stacks). [#6736](https://github.com/microsoft/vscode-cpptools/issues/6736) +* Fix compiler querying with compilers that do not output `__STD_VERSION__` by default (gcc <= 4.8.x). [#6792](https://github.com/microsoft/vscode-cpptools/issues/6792) +* Fix document symbols when nested symbols have the same name as a parent. [#6830](https://github.com/microsoft/vscode-cpptools/issues/6830) +* Fix automatic adding of header files to `files.associations` after `Go to Definition` on a `#include`. [#6845](https://github.com/microsoft/vscode-cpptools/issues/6845) ## Version 1.2.0-insiders2: January 20, 2021 ### Enhancement @@ -17,11 +26,11 @@ ## Version 1.2.0-insiders: January 14, 2021 ### New Features * Add support for cross-compilation configurations for IntelliSense. For example, `intelliSenseMode` value "linux-gcc-x64" could be used on a Mac host machine. [#1083](https://github.com/microsoft/vscode-cpptools/issues/1083) -* Add `C_Cpp.addNodeAddonIncludePaths` setting to add include paths from `nan` and `node-addon-api` when they're dependencies. [#4854](https://github.com/microsoft/vscode-cpptools/issues/4854) - * Bruce MacNaughton (@bmacnaughton) [PR #67331](https://github.com/microsoft/vscode-cpptools/pull/6731) ### Enhancements * Show configuration squiggles when configurations with the same name exist. [#3412](https://github.com/microsoft/vscode-cpptools/issues/3412) +* Add `C_Cpp.addNodeAddonIncludePaths` setting to add include paths from `nan` and `node-addon-api` when they're dependencies. [#4854](https://github.com/microsoft/vscode-cpptools/issues/4854) + * Bruce MacNaughton (@bmacnaughton) [PR #67331](https://github.com/microsoft/vscode-cpptools/pull/6731) * Add command `Generate EditorConfig contents from VC Format settings`. [#6018](https://github.com/microsoft/vscode-cpptools/issues/6018) * Update to clang-format 11.1. [#6326](https://github.com/microsoft/vscode-cpptools/issues/6326) * Add clang-format built for Windows ARM64. [#6494](https://github.com/microsoft/vscode-cpptools/issues/6494) @@ -46,8 +55,9 @@ * Fix `files.exclude` not applying to watched files handlers. [#5141](https://github.com/microsoft/vscode-cpptools/issues/5141) * Fix code folding incorrectly matching an inactive `}`. [#5429](https://github.com/microsoft/vscode-cpptools/issues/5429) * Fix IntelliSense Clang version for Apple Clang. [#5500](https://github.com/microsoft/vscode-cpptools/issues/5500) +* Fix hover doc comments not working if there's a selection. [#5635](https://github.com/microsoft/vscode-cpptools/issues/5635), [#6583](https://github.com/microsoft/vscode-cpptools/issues/6583) * Fix `#include` completion to include results for non-standard header file extensions. [#5698](https://github.com/microsoft/vscode-cpptools/issues/5698) -* Fix clang-format failing due to missing libtinfo5 on Linux ARM/ARM64. [#6774](https://github.com/microsoft/vscode-cpptools/pull/6774) +* Fix clang-format failing due to missing libtinfo5 on Linux ARM/ARM64. [#5958](https://github.com/microsoft/vscode-cpptools/issues/5958) * Automatically configure to use a custom configuration provider if available and no other configuration exists. [#6150](https://github.com/microsoft/vscode-cpptools/issues/6150) * Fix not being able to attach to cpptools on Mac (to get crash call stacks). [#6151](https://github.com/microsoft/vscode-cpptools/issues/6151) * Fix IntelliSense crashing with cl.exe with C++20 and span. [#6251](https://github.com/microsoft/vscode-cpptools/issues/6251) @@ -67,8 +77,8 @@ * Use "method" instead of "member" for semantic tokens. [#6569](https://github.com/microsoft/vscode-cpptools/issues/6569) * Fix `__builtin_coro_*` methods not recognized by IntelliSense in gcc mode with `-fcoroutines`. [#6575](https://github.com/microsoft/vscode-cpptools/issues/6575) * Fix the `else` snippet interfering with entering one line `else` statements. [#6582](https://github.com/microsoft/vscode-cpptools/issues/6582) -* Fix hover doc comments not working if there's a selection. [#6583](https://github.com/microsoft/vscode-cpptools/issues/6583) * Stop showing an "unknown error" message after canceling the creation of a `launch.json`. [#6608](https://github.com/microsoft/vscode-cpptools/issues/6608) +* Fix potential extension activation delay. [#6630](https://github.com/microsoft/vscode-cpptools/issues/6630) * Fix the executed command not appearing with cppbuild tasks. [#6647](https://github.com/microsoft/vscode-cpptools/issues/6647) * Fix `_Debug` not being defined when `/MDd` or `/MTd` are used. [#6690](https://github.com/microsoft/vscode-cpptools/issues/6690) * Fix infinite IntelliSense processing when C++20, gcc mode, and `-fcoroutines` and used. [#6709](https://github.com/microsoft/vscode-cpptools/issues/6709) From fb89c1c2d822f91e40d3004cfaff223e06cee832 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Tue, 26 Jan 2021 17:24:06 -0800 Subject: [PATCH 61/65] Add crash count telemetry. (#6851) * Add crash count telemetry. --- Extension/src/LanguageServer/extension.ts | 25 +++++++++++++++-------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index 943f5e5f9b..ab3fbf28ca 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -1106,10 +1106,10 @@ function reportMacCrashes(): void { fs.readFile(path.resolve(crashFolder, filename), 'utf8', (err, data) => { if (err) { // Try again? - fs.readFile(path.resolve(crashFolder, filename), 'utf8', handleCrashFileRead); + fs.readFile(path.resolve(crashFolder, filename), 'utf8', handleMacCrashFileRead); return; } - handleCrashFileRead(err, data); + handleMacCrashFileRead(err, data); }); }, 5000); }); @@ -1120,15 +1120,22 @@ function reportMacCrashes(): void { } } -function logCrashTelemetry(data: string): void { +let previousMacCrashData: string; +let previousMacCrashCount: number = 0; + +function logMacCrashTelemetry(data: string): void { const crashObject: { [key: string]: string } = {}; + const crashCountObject: { [key: string]: number } = {}; crashObject["CrashingThreadCallStack"] = data; - telemetry.logLanguageServerEvent("MacCrash", crashObject, undefined); + previousMacCrashCount = data === previousMacCrashData ? previousMacCrashCount + 1 : 0; + previousMacCrashData = data; + crashCountObject["CrashCount"] = previousMacCrashCount; + telemetry.logLanguageServerEvent("MacCrash", crashObject, crashCountObject); } -function handleCrashFileRead(err: NodeJS.ErrnoException | undefined | null, data: string): void { +function handleMacCrashFileRead(err: NodeJS.ErrnoException | undefined | null, data: string): void { if (err) { - return logCrashTelemetry("readFile: " + err.code); + return logMacCrashTelemetry("readFile: " + err.code); } // Extract the crashing process version, because the version might not match @@ -1145,7 +1152,7 @@ function handleCrashFileRead(err: NodeJS.ErrnoException | undefined | null, data const crashStart: string = " Crashed:"; let startCrash: number = data.indexOf(crashStart); if (startCrash < 0) { - return logCrashTelemetry("No crash start"); + return logMacCrashTelemetry("No crash start"); } startCrash += crashStart.length + 1; // Skip past crashStart. let endCrash: number = data.indexOf("Thread ", startCrash); @@ -1153,7 +1160,7 @@ function handleCrashFileRead(err: NodeJS.ErrnoException | undefined | null, data endCrash = data.length - 1; // Not expected, but just in case. } if (endCrash <= startCrash) { - return logCrashTelemetry("No crash end"); + return logMacCrashTelemetry("No crash end"); } data = data.substr(startCrash, endCrash - startCrash); @@ -1191,7 +1198,7 @@ function handleCrashFileRead(err: NodeJS.ErrnoException | undefined | null, data data = data.substr(0, 8189) + "..."; } - logCrashTelemetry(data); + logMacCrashTelemetry(data); } export function deactivate(): Thenable { From b1deef866d15e7d7097c78260990727ff7dd8764 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 1 Feb 2021 12:47:28 -0800 Subject: [PATCH 62/65] Fix updateChannel for code-exploration. (#6882) --- Extension/src/packageVersion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/src/packageVersion.ts b/Extension/src/packageVersion.ts index 8281c30bdb..e0e61d4ef7 100644 --- a/Extension/src/packageVersion.ts +++ b/Extension/src/packageVersion.ts @@ -51,7 +51,7 @@ export class PackageVersion { } public isVsCodeVersionGreaterThan(other: PackageVersion): boolean { - return this.isGreaterThan(other, 'insider'); + return this.isGreaterThan(other, 'insider') || this.isGreaterThan(other, 'exploration'); } public isExtensionVersionGreaterThan(other: PackageVersion): boolean { From 5746586532c299ebea65c1f31b6fe01acfd4e050 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 1 Feb 2021 12:58:25 -0800 Subject: [PATCH 63/65] Fix cl.exe not appearing in the compiler list. (#6884) --- .../src/LanguageServer/cppBuildTaskProvider.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Extension/src/LanguageServer/cppBuildTaskProvider.ts b/Extension/src/LanguageServer/cppBuildTaskProvider.ts index 86a18ff10c..f3d9b7f465 100644 --- a/Extension/src/LanguageServer/cppBuildTaskProvider.ts +++ b/Extension/src/LanguageServer/cppBuildTaskProvider.ts @@ -114,6 +114,8 @@ export class CppBuildTaskProvider implements TaskProvider { } } + const isCompilerValid: boolean = userCompilerPath ? await util.checkFileExists(userCompilerPath) : false; + // Get known compiler paths. Do not include the known compiler path that is the same as user compiler path. // Filter them based on the file type to get a reduced list appropriate for the active file. const knownCompilerPathsSet: Set = new Set(); @@ -121,8 +123,8 @@ export class CppBuildTaskProvider implements TaskProvider { if (knownCompilers) { knownCompilers = knownCompilers.filter(info => ((fileIsCpp && !info.isC) || (fileIsC && info.isC)) && - userCompilerPathAndArgs && - (path.basename(info.path) !== userCompilerPathAndArgs.compilerName) && + (!isCompilerValid || (userCompilerPathAndArgs && + (path.basename(info.path) !== userCompilerPathAndArgs.compilerName))) && (!isWindows || !info.path.startsWith("/"))); // TODO: Add WSL compiler support. knownCompilers.map(info => { knownCompilerPathsSet.add(info.path); @@ -143,11 +145,8 @@ export class CppBuildTaskProvider implements TaskProvider { result = knownCompilerPaths.map(compilerPath => this.getTask(compilerPath, appendSourceToName, undefined)); } // Task for valid user compiler path setting - if (userCompilerPath) { - const isCompilerValid: boolean = await util.checkFileExists(userCompilerPath); - if (isCompilerValid) { - result.push(this.getTask(userCompilerPath, appendSourceToName, userCompilerPathAndArgs?.additionalArgs)); - } + if (isCompilerValid && userCompilerPath) { + result.push(this.getTask(userCompilerPath, appendSourceToName, userCompilerPathAndArgs?.additionalArgs)); } return result; } From 3faceeb86350c64248eb01abadcb776583db5664 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 1 Feb 2021 13:49:24 -0800 Subject: [PATCH 64/65] Update changelog and fwlinks (#6872) * Update changelog. * Update fwlinks and hashes. --- Extension/CHANGELOG.md | 40 +++++++++++++++------------------------- Extension/package.json | 26 +++++++++++++------------- 2 files changed, 28 insertions(+), 38 deletions(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 7faa3efbea..2cbb7f20e3 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,29 +1,6 @@ # C/C++ for Visual Studio Code Change Log -## Version 1.2.0-insiders3: January 26, 2021 -### Bug Fixes -* Fix build tasks errors in single file mode. [#4638](https://github.com/microsoft/vscode-cpptools/issues/4638), [#6764](https://github.com/microsoft/vscode-cpptools/issues/6764) -* Fix IntelliSense not supporting `__float128` (and `Q` literals) on x64 Linux. [#6574](https://github.com/microsoft/vscode-cpptools/issues/6574) -* Fix IntelliSense process infinitely restarting after crashing. [#6724](https://github.com/microsoft/vscode-cpptools/issues/6724) -* Fix not being able to attach to cpptools-srv on Mac (to get crash call stacks). [#6736](https://github.com/microsoft/vscode-cpptools/issues/6736) -* Fix compiler querying with compilers that do not output `__STD_VERSION__` by default (gcc <= 4.8.x). [#6792](https://github.com/microsoft/vscode-cpptools/issues/6792) -* Fix document symbols when nested symbols have the same name as a parent. [#6830](https://github.com/microsoft/vscode-cpptools/issues/6830) -* Fix automatic adding of header files to `files.associations` after `Go to Definition` on a `#include`. [#6845](https://github.com/microsoft/vscode-cpptools/issues/6845) - -## Version 1.2.0-insiders2: January 20, 2021 -### Enhancement -* Add new "console" launch config for cppvsdbg. [PR #6794](https://github.com/microsoft/vscode-cpptools/pull/6794) - -### Bug Fixes -* Fix autocomplete not working with `for` loop variables with C code. [#2946](https://github.com/microsoft/vscode-cpptools/issues/2946) -* Fix an entry not found error for files in `compile_commands.json` that didn't initially exist. [#6311](https://github.com/microsoft/vscode-cpptools/issues/6311) -* Fix IntelliSense errors with C++20 std::ranges in gcc/clang modes. [#6342](https://github.com/microsoft/vscode-cpptools/issues/6342) -* Fix `compile_commands.json` not working correctly for `*.C` files. [#6497](https://github.com/microsoft/vscode-cpptools/issues/6497) -* Fix IntelliSense errors when "module" is used as a variable name with C++20. [#6719](https://github.com/microsoft/vscode-cpptools/issues/6719) -* Fix a runtime failure on macOS 10.13 or older. [#6787](https://github.com/microsoft/vscode-cpptools/issues/6787) -* Fix `Go to Symbol in Workspace`. [#6793](https://github.com/microsoft/vscode-cpptools/issues/6793) - -## Version 1.2.0-insiders: January 14, 2021 +## Version 1.2.0: February 1, 2021 ### New Features * Add support for cross-compilation configurations for IntelliSense. For example, `intelliSenseMode` value "linux-gcc-x64" could be used on a Mac host machine. [#1083](https://github.com/microsoft/vscode-cpptools/issues/1083) @@ -36,6 +13,7 @@ * Add clang-format built for Windows ARM64. [#6494](https://github.com/microsoft/vscode-cpptools/issues/6494) * Add support for the `/await` flag with msvc IntelliSense. [#6596](https://github.com/microsoft/vscode-cpptools/issues/6596) * Increase document/workspace symbol limit from 1000 to 10000. [#6766](https://github.com/microsoft/vscode-cpptools/issues/6766) +* Add new "console" launch config for cppvsdbg. [PR #6794](https://github.com/microsoft/vscode-cpptools/pull/6794) ### Bug Fixes * Fix handling of `--sysroot` and `-isysroot` with `compileCommands`. [#1575](https://github.com/microsoft/vscode-cpptools/issues/1575) @@ -43,6 +21,7 @@ * Fix IntelliSense involving overflow for unsigned int values. [#2202](https://github.com/microsoft/vscode-cpptools/issues/2202) * Fix IntelliSense not switching the language mode after changing C versus C++ `files.associations`. [#2557](https://github.com/microsoft/vscode-cpptools/issues/2557) * Fix Switch Header/Source not switching to an existing file in another column if it's not visible. [#2667](https://github.com/microsoft/vscode-cpptools/issues/2667), [#6749](https://github.com/microsoft/vscode-cpptools/issues/6749) +* Fix autocomplete not working with `for` loop variables with C code. [#2946](https://github.com/microsoft/vscode-cpptools/issues/2946) * Fix `#include` completion not sorting _ last. [#3465](https://github.com/microsoft/vscode-cpptools/issues/3465) * Fix completion not working for templates in gcc/clang mode. [#3501](https://github.com/microsoft/vscode-cpptools/issues/3501) * Fix crash when certain JavaScript files are parsed as C++. [#3858](https://github.com/microsoft/vscode-cpptools/issues/3858) @@ -51,6 +30,7 @@ * Fix the Outline view for nested namespaces. [#4456](https://github.com/microsoft/vscode-cpptools/issues/4456) * Fix some IntelliSense parsing errors. [#4595](https://github.com/microsoft/vscode-cpptools/issues/4595), [#6362](https://github.com/microsoft/vscode-cpptools/issues/6362), [#6685](https://github.com/microsoft/vscode-cpptools/issues/6685) * Fix Outline view with`"**/.*"` in `files.exclude`. [#4602](https://github.com/microsoft/vscode-cpptools/issues/4602) +* Fix build tasks errors in single file mode. [#4638](https://github.com/microsoft/vscode-cpptools/issues/4638), [#6764](https://github.com/microsoft/vscode-cpptools/issues/6764) * Fix the Outline view for nested structs/classes. [#4781](https://github.com/microsoft/vscode-cpptools/issues/4871) * Fix `files.exclude` not applying to watched files handlers. [#5141](https://github.com/microsoft/vscode-cpptools/issues/5141) * Fix code folding incorrectly matching an inactive `}`. [#5429](https://github.com/microsoft/vscode-cpptools/issues/5429) @@ -59,9 +39,11 @@ * Fix `#include` completion to include results for non-standard header file extensions. [#5698](https://github.com/microsoft/vscode-cpptools/issues/5698) * Fix clang-format failing due to missing libtinfo5 on Linux ARM/ARM64. [#5958](https://github.com/microsoft/vscode-cpptools/issues/5958) * Automatically configure to use a custom configuration provider if available and no other configuration exists. [#6150](https://github.com/microsoft/vscode-cpptools/issues/6150) -* Fix not being able to attach to cpptools on Mac (to get crash call stacks). [#6151](https://github.com/microsoft/vscode-cpptools/issues/6151) +* Fix not being able to attach to cpptools and cpptools-srv on Mac (to get crash call stacks). [#6151](https://github.com/microsoft/vscode-cpptools/issues/6151), [#6736](https://github.com/microsoft/vscode-cpptools/issues/6736) * Fix IntelliSense crashing with cl.exe with C++20 and span. [#6251](https://github.com/microsoft/vscode-cpptools/issues/6251) * Stop querying unsupported compilers. [#6314](https://github.com/microsoft/vscode-cpptools/issues/6314) +* Fix an entry not found error for files in `compile_commands.json` that didn't initially exist. [#6311](https://github.com/microsoft/vscode-cpptools/issues/6311) +* Fix IntelliSense errors with C++20 std::ranges in gcc/clang modes. [#6342](https://github.com/microsoft/vscode-cpptools/issues/6342) * Add a workaround for a missing compiler path for the `compile_commands.json` generated by Unreal Engine. [#6358](https://github.com/microsoft/vscode-cpptools/issues/6358) * Fix IntelliSense crash with coroutines. [#6363](https://github.com/microsoft/vscode-cpptools/issues/6363) * Add localized strings for `cppbuild` tasks. [#6436](https://github.com/microsoft/vscode-cpptools/issues/6436) @@ -71,7 +53,9 @@ * Fix gcc problem matcher when the column is missing. * @guntern [PR #6490](https://github.com/microsoft/vscode-cpptools/pull/6490) * Disable Insiders prompt for Codespaces. [#6491](https://github.com/microsoft/vscode-cpptools/issues/6491) +* Fix `compile_commands.json` not working correctly for `*.C` files. [#6497](https://github.com/microsoft/vscode-cpptools/issues/6497) * Show an error message when gdb can't be found when generating a `launch.json` (instead of using an invalid `miDebuggerPath`). [#6511](https://github.com/microsoft/vscode-cpptools/issues/6511) +* Fix IntelliSense not supporting `__float128` (and `Q` literals) on x64 Linux. [#6574](https://github.com/microsoft/vscode-cpptools/issues/6574) * Fix IntelliSense crash with a parenthesized type followed by an initializer list. [#6554](https://github.com/microsoft/vscode-cpptools/issues/6554), [#6624](https://github.com/microsoft/vscode-cpptools/issues/6624) * Fix IntelliSense updating after pasting multi-line code. [#6565](https://github.com/microsoft/vscode-cpptools/issues/6565) * Use "method" instead of "member" for semantic tokens. [#6569](https://github.com/microsoft/vscode-cpptools/issues/6569) @@ -80,14 +64,20 @@ * Stop showing an "unknown error" message after canceling the creation of a `launch.json`. [#6608](https://github.com/microsoft/vscode-cpptools/issues/6608) * Fix potential extension activation delay. [#6630](https://github.com/microsoft/vscode-cpptools/issues/6630) * Fix the executed command not appearing with cppbuild tasks. [#6647](https://github.com/microsoft/vscode-cpptools/issues/6647) +* Fix IntelliSense crash on Mac due to IPCH file corruption. [#6673](https://github.com/microsoft/vscode-cpptools/issues/6673) * Fix `_Debug` not being defined when `/MDd` or `/MTd` are used. [#6690](https://github.com/microsoft/vscode-cpptools/issues/6690) * Fix infinite IntelliSense processing when C++20, gcc mode, and `-fcoroutines` and used. [#6709](https://github.com/microsoft/vscode-cpptools/issues/6709) * Allow the extension to run on M1 Macs. [#6713](https://github.com/microsoft/vscode-cpptools/issues/6713) * Xiangyi Meng (@xymeng16) [PR #6601](https://github.com/microsoft/vscode-cpptools/pull/6601) +* Fix IntelliSense errors when "module" is used as a variable name with C++20. [#6719](https://github.com/microsoft/vscode-cpptools/issues/6719) * Fix `.` to `->` completion with multiple cursors. [#6720](https://github.com/microsoft/vscode-cpptools/issues/6720) * Fix bug with configured cl.exe path not being used to choose appropriate system include paths, or cl.exe not being used at all if it's not also installed via the VS Installer. [#6746](https://github.com/microsoft/vscode-cpptools/issues/6746) * Fix bugs with parsing of quotes and escape sequences in compiler args. [#6761](https://github.com/microsoft/vscode-cpptools/issues/6761) * Fix the configuration not showing in the status bar when `c_cpp_properties.json` is active. [#6765](https://github.com/microsoft/vscode-cpptools/issues/6765) +* Fix compiler querying with compilers that do not output `__STD_VERSION__` by default (gcc <= 4.8.x). [#6792](https://github.com/microsoft/vscode-cpptools/issues/6792) +* Fix document symbols when nested symbols have the same name as a parent. [#6830](https://github.com/microsoft/vscode-cpptools/issues/6830) +* Fix automatic adding of header files to `files.associations` after `Go to Definition` on a `#include`. [#6845](https://github.com/microsoft/vscode-cpptools/issues/6845) +* Fix `"Insiders"` `updateChannel` for VS Code - Exploration. [#6875](https://github.com/microsoft/vscode-cpptools/issues/6875) * Fix "D" command line warnings not appearing with cl.exe cppbuild build tasks. * Fix cl.exe cppbuild tasks when `/nologo` is used (and make /nologo a default arg). * Fix a cpptools crash and multiple deadlocks. diff --git a/Extension/package.json b/Extension/package.json index 92b550fb58..b336a7f718 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -2472,7 +2472,7 @@ "runtimeDependencies": [ { "description": "C/C++ language components (Linux / x86_64)", - "url": "https://go.microsoft.com/fwlink/?linkid=2144140", + "url": "https://go.microsoft.com/fwlink/?linkid=2153757", "platforms": [ "linux" ], @@ -2483,11 +2483,11 @@ "./bin/cpptools", "./bin/cpptools-srv" ], - "integrity": "B5030E8762BE43D7864536FE8C8A6253036523D9E0C350750D5874963DA42F2F" + "integrity": "916D4F27CBA79A790485CD542A4A7E31B4AB311E04FB91F9D96DE7B5BD4FBFD0" }, { "description": "C/C++ language components (Linux / armhf)", - "url": "https://go.microsoft.com/fwlink/?linkid=2144141", + "url": "https://go.microsoft.com/fwlink/?linkid=2153855", "platforms": [ "linux" ], @@ -2498,11 +2498,11 @@ "./bin/cpptools", "./bin/cpptools-srv" ], - "integrity": "5F0F29B2D59D8453A072D433324C68E0819923AFAC85D0CD1987F7AA275D7516" + "integrity": "7241F23E844789E756CE7F17D73E6076A172994546F2125E24355FAB95AD652D" }, { "description": "C/C++ language components (Linux / aarch64)", - "url": "https://go.microsoft.com/fwlink/?linkid=2143991", + "url": "https://go.microsoft.com/fwlink/?linkid=2153756", "platforms": [ "linux" ], @@ -2513,11 +2513,11 @@ "./bin/cpptools", "./bin/cpptools-srv" ], - "integrity": "099A94F440BB570B4CDCA07D5FE813657E8B7CBB3915F64C5C8A681DFBB28D3C" + "integrity": "AB34A470E2C3E4835A0AA68AE9BFB575AE3999E81522CCB5425B11C3EA774BDD" }, { "description": "C/C++ language components (OS X)", - "url": "https://go.microsoft.com/fwlink/?linkid=2143992", + "url": "https://go.microsoft.com/fwlink/?linkid=2153758", "platforms": [ "darwin" ], @@ -2525,11 +2525,11 @@ "./bin/cpptools", "./bin/cpptools-srv" ], - "integrity": "AEC6509B1667DE9B0C0BF867BB5A3B79F1F47C1B8D5A728C1FD8CA6E9240CEA7" + "integrity": "80B5C3396F92F88A0D2F7A187CCE64D9E661904169743EE97D1155C1C397E5BC" }, { "description": "C/C++ language components (Windows)", - "url": "https://go.microsoft.com/fwlink/?linkid=2144139", + "url": "https://go.microsoft.com/fwlink/?linkid=2153759", "platforms": [ "win32" ], @@ -2541,11 +2541,11 @@ "./bin/cpptools.exe", "./bin/cpptools-srv.exe" ], - "integrity": "F67AC16D698FE1F473C857912EBAD38EEB2007E57BF81F7F42CBD01F5B609B94" + "integrity": "015EF8C9DFFD96EDD0E993770592C48BDF2A40CB87CB95E8FC98187FB121F10B" }, { "description": "C/C++ language components (Windows ARM64)", - "url": "https://go.microsoft.com/fwlink/?linkid=2144139", + "url": "https://go.microsoft.com/fwlink/?linkid=2153854", "platforms": [ "win32" ], @@ -2556,7 +2556,7 @@ "./bin/cpptools.exe", "./bin/cpptools-srv.exe" ], - "integrity": "F67AC16D698FE1F473C857912EBAD38EEB2007E57BF81F7F42CBD01F5B609B94" + "integrity": "7FA77651FF011735102D637749A23F6F71E1F43901B51F73478DBC453C1A4B8C" }, { "description": "ClangFormat (Linux / x86_64)", @@ -2761,4 +2761,4 @@ "integrity": "52C4234976D527A7BF02EB2E8844F3C605DC4BD1D3847F83C8675CD23967BAB3" } ] -} +} \ No newline at end of file From 880277c47352f7ffd698de3b137797eab823f253 Mon Sep 17 00:00:00 2001 From: csigs Date: Mon, 1 Feb 2021 13:59:47 -0800 Subject: [PATCH 65/65] Localization - Translated Strings (#6822) Co-authored-by: DevDiv Build Lab - Dev14 --- Extension/i18n/chs/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/chs/package.i18n.json | 8 +++++++- .../i18n/chs/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/chs/src/LanguageServer/configurations.i18n.json | 1 + .../chs/src/LanguageServer/cppBuildTaskProvider.i18n.json | 2 +- Extension/i18n/chs/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/chs/ui/settings.html.i18n.json | 2 +- Extension/i18n/cht/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/cht/package.i18n.json | 8 +++++++- .../i18n/cht/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/cht/src/LanguageServer/configurations.i18n.json | 1 + .../cht/src/LanguageServer/cppBuildTaskProvider.i18n.json | 2 +- Extension/i18n/cht/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/cht/ui/settings.html.i18n.json | 2 +- Extension/i18n/csy/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/csy/package.i18n.json | 8 +++++++- .../i18n/csy/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/csy/src/LanguageServer/configurations.i18n.json | 1 + Extension/i18n/csy/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/csy/ui/settings.html.i18n.json | 2 +- Extension/i18n/deu/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/deu/package.i18n.json | 8 +++++++- .../i18n/deu/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/deu/src/LanguageServer/configurations.i18n.json | 1 + Extension/i18n/deu/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/deu/ui/settings.html.i18n.json | 2 +- Extension/i18n/esn/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/esn/package.i18n.json | 8 +++++++- .../i18n/esn/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/esn/src/LanguageServer/configurations.i18n.json | 1 + .../esn/src/LanguageServer/cppBuildTaskProvider.i18n.json | 2 +- Extension/i18n/esn/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/esn/ui/settings.html.i18n.json | 2 +- Extension/i18n/fra/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/fra/package.i18n.json | 8 +++++++- .../i18n/fra/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/fra/src/LanguageServer/configurations.i18n.json | 1 + Extension/i18n/fra/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/fra/ui/settings.html.i18n.json | 2 +- Extension/i18n/ita/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/ita/package.i18n.json | 8 +++++++- .../i18n/ita/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/ita/src/LanguageServer/configurations.i18n.json | 1 + .../ita/src/LanguageServer/cppBuildTaskProvider.i18n.json | 2 +- Extension/i18n/ita/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/ita/ui/settings.html.i18n.json | 2 +- Extension/i18n/jpn/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/jpn/package.i18n.json | 8 +++++++- .../i18n/jpn/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/jpn/src/LanguageServer/configurations.i18n.json | 1 + Extension/i18n/jpn/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/jpn/src/packageManager.i18n.json | 4 ++-- Extension/i18n/jpn/ui/settings.html.i18n.json | 2 +- Extension/i18n/kor/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/kor/package.i18n.json | 8 +++++++- .../i18n/kor/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/kor/src/LanguageServer/configurations.i18n.json | 1 + Extension/i18n/kor/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/kor/ui/settings.html.i18n.json | 2 +- Extension/i18n/plk/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/plk/package.i18n.json | 8 +++++++- .../i18n/plk/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/plk/src/LanguageServer/configurations.i18n.json | 1 + Extension/i18n/plk/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/plk/ui/settings.html.i18n.json | 2 +- Extension/i18n/ptb/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/ptb/package.i18n.json | 8 +++++++- .../i18n/ptb/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/ptb/src/LanguageServer/configurations.i18n.json | 1 + .../ptb/src/LanguageServer/cppBuildTaskProvider.i18n.json | 2 +- Extension/i18n/ptb/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/ptb/ui/settings.html.i18n.json | 2 +- Extension/i18n/rus/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/rus/package.i18n.json | 8 +++++++- .../i18n/rus/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/rus/src/LanguageServer/configurations.i18n.json | 1 + .../rus/src/LanguageServer/cppBuildTaskProvider.i18n.json | 2 +- Extension/i18n/rus/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/rus/ui/settings.html.i18n.json | 2 +- Extension/i18n/trk/c_cpp_properties.schema.json.i18n.json | 2 +- Extension/i18n/trk/package.i18n.json | 8 +++++++- .../i18n/trk/src/Debugger/configurationProvider.i18n.json | 2 ++ .../i18n/trk/src/LanguageServer/configurations.i18n.json | 1 + Extension/i18n/trk/src/nativeStrings.i18n.json | 3 ++- Extension/i18n/trk/ui/settings.html.i18n.json | 2 +- 85 files changed, 190 insertions(+), 60 deletions(-) diff --git a/Extension/i18n/chs/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/chs/c_cpp_properties.schema.json.i18n.json index c34e140f1c..554c2c569b 100644 --- a/Extension/i18n/chs/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/chs/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Intellisense 引擎在 Mac 框架中搜索包含的标头时要使用的路径的列表。仅在 Mac 配置中受支持。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "要在 Windows 上使用的 Windows SDK 包含路径的版本,例如 \"10.0.17134.0\"。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "分析文件时 IntelliSense 引擎要使用的预处理器定义的列表。(可选)使用 = 设置值,例如 VERSION=1。", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "要使用的 IntelliSense 模式,该模式映射到 MSVC、gcc 或 Clang 的体系结构专属变体。如果未设置或设置为 ${default},则扩展将选择该平台的默认值。Windows 默认为 msvc-x64,Linux 默认为 gcc-x64,macOS 默认为 clang-x64。", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "应在翻译单元中包括在任何包含文件之前的文件的列表。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "可为源文件提供 IntelliSense 配置信息的 VS Code 扩展的 ID。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "如果为 true,则仅处理以标头形式直接或间接包含的文件;如果为 false,则处理指定的包含路径下的所有文件。", diff --git a/Extension/i18n/chs/package.i18n.json b/Extension/i18n/chs/package.i18n.json index 6e1245de6e..b5da2e57a7 100644 --- a/Extension/i18n/chs/package.i18n.json +++ b/Extension/i18n/chs/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "如果启用,则根据 IntelliSense 对代码设定颜色。此设置仅在 intelliSenseEngine 设置为“默认”时适用。", "c_cpp.configuration.codeFolding.description": "如果启用,则由语言服务器提供代码折叠范围。", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "为 [vcpkg 依赖关系管理器] 启用集成服务(https://aka.ms/vcpkg/)。", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "如果为 true,则“重命名符号”将需要有效的 C/C++ 标识符。", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "如果为 true,调试程序 shell 命令替换将使用过时的反引号(`)。", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: 其他引用结果", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "调试程序等待 debugServer 启动的可选时间(毫秒)。默认为 10000。", "c_cpp.debuggers.coreDumpPath.description": "指定程序的核心转储文件的可选完整路径。默认为 null。", "c_cpp.debuggers.cppdbg.externalConsole.description": "如果为 true,则为调试对象启动控制台。如果为 false,它在 Linux 和 Windows 上会显示在集成控制台中。", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "如果为 true,将为调试对象启动控制台。如果为 false,将不启动任何控制台。", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "VS Code 的集成终端", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "如果为 true,则禁用集成终端支持所需的调试对象控制台重定向。", "c_cpp.debuggers.sourceFileMap.description": "传递到调试引擎的可选源文件映射。示例: \"{ \"/original/source/path\":\"/current/source/path\" }\"", "c_cpp.debuggers.processId.anyOf.description": "要将调试程序附加到的可选进程 ID。使用 \"${command:pickProcess}\" 获取要附加到的本地运行进程的列表。请注意,一些平台需要管理员权限才能附加到进程。", diff --git a/Extension/i18n/chs/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/chs/src/Debugger/configurationProvider.i18n.json index c4b659f363..8d6b21d677 100644 --- a/Extension/i18n/chs/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/chs/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "默认配置", "select.configuration": "选择配置", "cl.exe.not.available": "仅当从 VS 开发人员命令提示符处运行 VS Code 时,{0} 生成和调试才可用。", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "类型为“{0}”的调试程序仅在 Windows 上可用。在当前 OS 平台上使用类型“{1}”。", "lldb.framework.install.xcode": "详细信息", "lldb.framework.not.found": "找不到用于 lldb-mi 的 \"LLDB.framework\"。请安装 XCode 或 XCode 命令行工具。", diff --git a/Extension/i18n/chs/src/LanguageServer/configurations.i18n.json b/Extension/i18n/chs/src/LanguageServer/configurations.i18n.json index 63caa5651b..4fa834c304 100644 --- a/Extension/i18n/chs/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/chs/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "输入无效,无法解析编译器路径", "path.is.not.a.file": "路径不是文件: {0}", "path.is.not.a.directory": "路径不是目录: {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "无法找到“{0}”。" } \ No newline at end of file diff --git a/Extension/i18n/chs/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/chs/src/LanguageServer/cppBuildTaskProvider.i18n.json index 51790e171f..bdb594618d 100644 --- a/Extension/i18n/chs/src/LanguageServer/cppBuildTaskProvider.i18n.json +++ b/Extension/i18n/chs/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -8,7 +8,7 @@ "compiler_details": "编译器:", "task_generated_by_debugger": "调试器生成的任务。", "starting_build": "正在启动生成...", - "build_finished_with_error": "生成已完成,但发生错误", + "build_finished_with_error": "生成已完成,但出现错误", "build_finished_with_warnings": "生成已完成,但收到警告", "build finished successfully": "生成已成功完成。" } \ No newline at end of file diff --git a/Extension/i18n/chs/src/nativeStrings.i18n.json b/Extension/i18n/chs/src/nativeStrings.i18n.json index 897d664f6c..146fa0e7e8 100644 --- a/Extension/i18n/chs/src/nativeStrings.i18n.json +++ b/Extension/i18n/chs/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "检测到未处理的目标参数值: {0}", "memory_limit_shutting_down_intellisense": "正在关闭 IntelliSense 服务器: {0}。内存使用量为 {1} MB,已超过 {2} MB 的限制。", "failed_to_query_for_standard_version": "未能在路径 \"{0}\" 处查询编译器以获得默认标准版本。已对此编译器禁用编译器查询。", - "unrecognized_language_standard_version": "编译器查询返回了无法识别的语言标准版本。将改用受支持的最新版本。" + "unrecognized_language_standard_version": "编译器查询返回了无法识别的语言标准版本。将改用受支持的最新版本。", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/chs/ui/settings.html.i18n.json b/Extension/i18n/chs/ui/settings.html.i18n.json index 4c7ee7b648..18ad9e2660 100644 --- a/Extension/i18n/chs/ui/settings.html.i18n.json +++ b/Extension/i18n/chs/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "用于修改所使用的包含或定义的编译器参数,例如 {0}、{1} 等。", "one.argument.per.line": "每行一个参数。", "intellisense.mode": "IntelliSense 模式", - "intellisense.mode.description": "要使用的 IntelliSense 模式,该模式映射到 MSVC、gcc 或 Clang 的体系结构专属变体。如果未设置或设置为 {0},则扩展将选择该平台的默认值。Windows 默认为 {1},Linux 默认为 {2},macOS 默认为 {3}。选择特定 IntelliSense 模式以替代 {4} 模式。", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "包含路径", "include.path.description": "include 路径是包括源文件中随附的头文件(如 {0})的文件夹。指定 IntelliSense 引擎在搜索包含的头文件时要使用的列表路径。对这些路径进行的搜索不是递归搜索。指定 {1} 可指示递归搜索。例如,{2} 将搜索所有子目录,而 {3} 则不会。如果在安装了 Visual Studio 的 Windows 上,或者在 {4} 设置中指定了编译器,则无需在此列表中列出系统 include 路径。", "one.include.path.per.line": "每行一个包含路径。", diff --git a/Extension/i18n/cht/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/cht/c_cpp_properties.schema.json.i18n.json index 97b3506938..f19e263c84 100644 --- a/Extension/i18n/cht/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/cht/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "供 Intellisense 引擎在 Mac 架構中搜尋包含的標頭時使用的路徑清單。僅支援用於 Mac 組態。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "要在 Windows 上使用的 Windows SDK 包含路徑版本,例如 '10.0.17134.0'。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "剖析檔案時,IntelliSense 引擎要使用的前置處理器定義清單。您可使用 = 來設定值,例如 VERSION=1。", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "要使用的 IntelliSense 模式 (對應到 MSVC、gcc 或 Clang 的架構專屬變體)。如果未設定或設為 ${default},延伸模組會選擇該平台的預設。Windows 預設為 msvc-x64、Linux 預設為 gcc-x64、macOS 預設為 clang-x64。", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "應包含在編譯單位中任何 include 檔案之前的檔案清單。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "提供原始程式檔 IntelliSense 組態資訊的 VS Code 延伸模組識別碼。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "設為 true,就會只處理直接或間接以標頭形式包含的檔案; 設為 false,則會處理位於指定 include 路徑下的所有檔案。", diff --git a/Extension/i18n/cht/package.i18n.json b/Extension/i18n/cht/package.i18n.json index 472dabf0f9..586d72e004 100644 --- a/Extension/i18n/cht/package.i18n.json +++ b/Extension/i18n/cht/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "若啟用,將會依據 IntelliSense 顯示彩色的程式碼。僅當 intelliSenseEngine 設為 \"Default\" 時,才適用此設定。", "c_cpp.configuration.codeFolding.description": "若啟用,則由語言伺服器提供程式碼摺疊功能範圍。", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "啟用 [vcpkg 相依性管理員](https://aka.ms/vcpkg/)的整合服務。", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "若為 true,則「重新命名符號」需要有效的 C/C++ 識別碼。", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "若為 true,偵錯工具殼層命令替代將會使用已淘汰的反引號 (`)。", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: 其他參考結果", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "偵錯工具等待 debugServer 啟動的選擇性時間,以毫秒為單位。預設為 10000。", "c_cpp.debuggers.coreDumpPath.description": "指定程式的核心傾印檔案選擇性完整路徑。預設為 null。", "c_cpp.debuggers.cppdbg.externalConsole.description": "若為 true,將會啟動偵錯項目的主控台。若為 false,則在 Linux 和 Windows 上會出現在整合式主控台內。", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "若為 true,將會啟動偵錯項目的主控台。若為 false,則不會啟動任何主控台。", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "VS Code 的整合式終端機", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "若為 true,則停用整合式終端機支援需要的偵錯項目主控台重新導向。", "c_cpp.debuggers.sourceFileMap.description": "傳遞給偵錯引擎的選擇性來源檔案對應。範例: '{ \"/original/source/path\":\"/current/source/path\" }'", "c_cpp.debuggers.processId.anyOf.description": "要附加偵錯工具的選擇性處理序識別碼。使用 \"${command:pickProcess}\" 可取得要附加的本機執行中處理序清單。請注意,某些平台需要系統管理員權限才能附加至處理序。", diff --git a/Extension/i18n/cht/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/cht/src/Debugger/configurationProvider.i18n.json index 2b6709aa35..447bc1094f 100644 --- a/Extension/i18n/cht/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/cht/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "預設組態", "select.configuration": "選取組態", "cl.exe.not.available": "只有從 VS 的開發人員命令提示字元執行 VS Code 時,才可使用 {0} 組建和偵錯。", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "只能在 Windows 上使用類型為 '{0}' 的偵錯工具。在目前的 OS 平台上使用類型 '{1}'。", "lldb.framework.install.xcode": "更多資訊", "lldb.framework.not.found": "找不到 lldb-mi 的 'LLDB.framework'。請安裝 XCode 或 XCode 命令列工具。", diff --git a/Extension/i18n/cht/src/LanguageServer/configurations.i18n.json b/Extension/i18n/cht/src/LanguageServer/configurations.i18n.json index d883518228..13d8a701cf 100644 --- a/Extension/i18n/cht/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/cht/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "輸入無效,無法解析編譯器路徑", "path.is.not.a.file": "路徑不是檔案: {0}", "path.is.not.a.directory": "路徑不是目錄: {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "找不到 \"{0}\"。" } \ No newline at end of file diff --git a/Extension/i18n/cht/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/cht/src/LanguageServer/cppBuildTaskProvider.i18n.json index 72d8e0d9ec..d4015019bc 100644 --- a/Extension/i18n/cht/src/LanguageServer/cppBuildTaskProvider.i18n.json +++ b/Extension/i18n/cht/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -8,7 +8,7 @@ "compiler_details": "編譯器:", "task_generated_by_debugger": "偵錯工具產生的工作。", "starting_build": "正在開始建置...", - "build_finished_with_error": "建置已完成,但出現錯誤", + "build_finished_with_error": "建置已完成,但發生錯誤", "build_finished_with_warnings": "建置已完成,但出現警告", "build finished successfully": "已成功完成建置。" } \ No newline at end of file diff --git a/Extension/i18n/cht/src/nativeStrings.i18n.json b/Extension/i18n/cht/src/nativeStrings.i18n.json index 1b0a8f3d3e..e0d2c73bf5 100644 --- a/Extension/i18n/cht/src/nativeStrings.i18n.json +++ b/Extension/i18n/cht/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "偵測到未處理的目標引數值: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense 伺服器即將關機: {0}。記憶體使用量為 {1} MB,超過了 {2} MB 的限制。", "failed_to_query_for_standard_version": "無法查詢位於路徑 \"{0}\" 的編譯器預設標準版本。已停用此編譯器的編譯器查詢。", - "unrecognized_language_standard_version": "編譯器查詢傳回無法辨識的語言標準版本。將改用支援的最新版本。" + "unrecognized_language_standard_version": "編譯器查詢傳回無法辨識的語言標準版本。將改用支援的最新版本。", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/cht/ui/settings.html.i18n.json b/Extension/i18n/cht/ui/settings.html.i18n.json index 713e48b0c3..280a591b96 100644 --- a/Extension/i18n/cht/ui/settings.html.i18n.json +++ b/Extension/i18n/cht/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "用來修改所使用之包含或定義的編譯器引數,例如 {0}、{1} 等。", "one.argument.per.line": "每行一個引數。", "intellisense.mode": "IntelliSense 模式", - "intellisense.mode.description": "要使用的 IntelliSense 模式 (對應到 MSVC、gcc 或 Clang 的架構專屬變體)。如果未設定或設為 {0},延伸模組會選擇該平台的預設。Windows 預設為 {1}、Linux 預設為 {2}、macOS 預設為 {3}。選取特定的 IntelliSense 模式即可覆寫 {4} 模式。", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "包含路徑", "include.path.description": "include 路徑是包含來源檔案所含之標頭檔 (例如 {0}) 的資料夾。請為 Intellisense 引擎指定搜尋所含標頭檔時所要使用的路徑清單。這些路徑不會重複搜尋。若要重複搜尋,請指定 {1}。例如 {2} 會搜尋所有子目錄,而 {3} 不會。若在安裝了 Visual Studio 的 Windows 上,或在 {4} 設定中指定了編譯器,就無須在此清單中列出系統的 include 路徑。", "one.include.path.per.line": "每行一個包含路徑。", diff --git a/Extension/i18n/csy/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/csy/c_cpp_properties.schema.json.i18n.json index a17d8ddb0a..4b97f1e563 100644 --- a/Extension/i18n/csy/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/csy/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Seznam cest pro modul IntelliSense, který se použije při hledání zahrnutých hlaviček z architektur Mac. Podporuje se jen pro konfiguraci pro Mac.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Verze cesty pro vložené soubory sady Windows SDK, která se má použít ve Windows, např. 10.0.17134.0", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "Seznam definic preprocesoru, které modul IntelliSense použije při parsování souborů. Volitelně můžete pomocí = nastavit hodnotu, třeba VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "Režim IntelliSense, který se použije a který se mapuje na variantu MSVC, gcc nebo Clangu specifickou pro architekturu. Pokud se nenastaví nebo nastaví na ${default}, rozšíření zvolí výchozí režim pro danou platformu. Výchozí možnost pro Windows je mscv-x64, pro Linux gcc-x64 a pro macOS clang-x64.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Seznam souborů, které by se měly zahrnout dříve než kterýkoli vložený soubor v jednotce překladu", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "ID rozšíření VS Code, které může funkci IntelliSense poskytnout informace o konfiguraci pro zdrojové soubory.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "True, pokud chcete zpracovat jen soubory přímo nebo nepřímo zahrnuté jako hlavičky, false, pokud chcete zpracovat všechny soubory na zadaných cestách pro vložené soubory", diff --git a/Extension/i18n/csy/package.i18n.json b/Extension/i18n/csy/package.i18n.json index 7091dfd598..4f57ce2839 100644 --- a/Extension/i18n/csy/package.i18n.json +++ b/Extension/i18n/csy/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "Když se tato možnost povolí, kód se bude obarvovat podle IntelliSense. Toto nastavení se použije jen v případě, že možnost intelliSenseEngine je nastavená na Default.", "c_cpp.configuration.codeFolding.description": "Když se tato možnost povolí, rozsahy sbalování kódu bude poskytovat jazykový server.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Povolte integrační služby pro [správce závislostí vcpkg](https://aka.ms/vcpkg/).", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "Když se tato hodnota nastaví na true, operace Přejmenovat symbol bude vyžadovat platný identifikátor C/C++.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "Když se nastaví na true, nahrazování příkazů shellu ladicího programu bude používat starou verzi obrácené čárky (`).", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: výsledky jiných odkazů", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "Volitelný čas (v milisekundách) čekání ladicího programu, než se spustí debugServer. Výchozí hodnota je 10000.", "c_cpp.debuggers.coreDumpPath.description": "Volitelná úplná cesta k základnímu souboru výpisu pro zadaný program. Výchozí hodnota je null.", "c_cpp.debuggers.cppdbg.externalConsole.description": "Pokud se nastaví na true, spustí se pro laděný proces konzola. Pokud se nastaví hodnota false, v Linuxu a ve Windows se zobrazí integrovaná konzola.", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "Pokud se nastaví na true, spustí se pro laděný proces konzola. Pokud se nastaví hodnota false, konzola se nespustí.", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "Integrovaný terminál VS Code", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "Pokud se nastaví na true, zakáže přesměrování konzoly laděného procesu, které se vyžaduje pro podporu integrovaného terminálu.", "c_cpp.debuggers.sourceFileMap.description": "Nepovinná mapování zdrojových souborů předaná ladicímu stroji. Příklad: { \"/original/source/path\":\"/current/source/path \"}", "c_cpp.debuggers.processId.anyOf.description": "Nepovinné ID procesu, ke kterému se má ladicí program připojit. Pokud chcete získat seznam místních spuštěných procesů, ke kterým se dá připojit, použijte ${command:pickProcess}. Poznámka: Některé platformy vyžadují pro připojení k procesu oprávnění správce.", diff --git a/Extension/i18n/csy/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/csy/src/Debugger/configurationProvider.i18n.json index 12748613e9..9962493d96 100644 --- a/Extension/i18n/csy/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/csy/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "Výchozí konfigurace", "select.configuration": "Vybrat konfiguraci", "cl.exe.not.available": "Sestavení a ladění {0} je k dispozici jen v případě, že se nástroj VS Code spustil z nástroje Developer Command Prompt pro VS.", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "Ladicí program typu {0} je k dispozici jen ve Windows. Na aktuální platformě operačního systému použijte typ {1}.", "lldb.framework.install.xcode": "Další informace", "lldb.framework.not.found": "Nepovedlo se najít LLDB.framework pro lldb-mi. Nainstalujte prosím XCode nebo jeho nástroje příkazového řádku.", diff --git a/Extension/i18n/csy/src/LanguageServer/configurations.i18n.json b/Extension/i18n/csy/src/LanguageServer/configurations.i18n.json index 93d1efb2ca..b33cc7b621 100644 --- a/Extension/i18n/csy/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/csy/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "Neplatný vstup, nedá se přeložit cesta ke kompilátoru.", "path.is.not.a.file": "Cesta není soubor: {0}", "path.is.not.a.directory": "Cesta není adresář: {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "Nejde najít {0}." } \ No newline at end of file diff --git a/Extension/i18n/csy/src/nativeStrings.i18n.json b/Extension/i18n/csy/src/nativeStrings.i18n.json index 4c7209ee96..1ab66755d8 100644 --- a/Extension/i18n/csy/src/nativeStrings.i18n.json +++ b/Extension/i18n/csy/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "Zjistila se neošetřená hodnota argumentu target: {0}", "memory_limit_shutting_down_intellisense": "Vypíná se server technologie IntelliSense: {0}. Využití paměti je {1} MB a překročilo limit {2} MB.", "failed_to_query_for_standard_version": "Nepovedlo se dotázat kompilátor na cestě {0} na výchozí standardní verze. Dotazování je pro tento kompilátor zakázané.", - "unrecognized_language_standard_version": "Dotaz na kompilátor vrátil nerozpoznanou standardní verzi jazyka. Místo ní se použije nejnovější podporovaná verze." + "unrecognized_language_standard_version": "Dotaz na kompilátor vrátil nerozpoznanou standardní verzi jazyka. Místo ní se použije nejnovější podporovaná verze.", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/csy/ui/settings.html.i18n.json b/Extension/i18n/csy/ui/settings.html.i18n.json index 3bf08bffb0..cbf65b70cf 100644 --- a/Extension/i18n/csy/ui/settings.html.i18n.json +++ b/Extension/i18n/csy/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Argumenty kompilátoru, které upraví použité direktivy include a define, např. {0}, {1} atd.", "one.argument.per.line": "Na každý řádek jeden argument", "intellisense.mode": "Režim IntelliSense", - "intellisense.mode.description": "Režim IntelliSense, který se použije a který se mapuje na variantu MSVC, gcc nebo Clangu specifickou pro architekturu. Pokud se nenastaví nebo nastaví na {0}, rozšíření zvolí výchozí režim pro danou platformu. Výchozí možnost pro Windows je {1}, pro Linux {2} a pro macOS {3}. Pokud chcete přepsat režim {4}, vyberte konkrétní režim IntelliSense.", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "Zahrnout cestu", "include.path.description": "Cesta pro vložené soubory je složka, která obsahuje hlavičkové soubory (třeba {0}) zahrnuté do zdrojového souboru. Zadejte seznam cest, které modul IntelliSense použije při hledání zahrnutých hlavičkových souborů. Vyhledávání v těchto cestách není rekurzivní. Rekurzivní vyhledávání můžete zapnout zadáním přepínače {1}. Například při zadání {2} se budou prohledávat všechny podadresáře, zatímco při zadání {3} nebudou. Pokud používáte Windows s nainstalovanou sadou Visual Studio nebo pokud je v nastavení {4} zadaný kompilátor, není nutné v tomto seznamu uvádět cesty pro systémové vložené soubory.", "one.include.path.per.line": "Na každý řádek jedna cesta pro vložené soubory", diff --git a/Extension/i18n/deu/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/deu/c_cpp_properties.schema.json.i18n.json index c493c12b2f..4bf8e97ac4 100644 --- a/Extension/i18n/deu/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/deu/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Eine Liste der Pfade für die IntelliSense-Engine, die beim Suchen nach eingeschlossenen Headern aus Mac-Frameworks verwendet werden sollen. Wird nur in der Mac-Konfiguration unterstützt.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Die Version des Windows SDK-Includepfads zur Verwendung unter Windows, z. B. \"10.0.17134.0\".", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "Eine Liste der Präprozessordefinitionen für die IntelliSense-Engine, die beim Analysieren von Dateien verwendet werden sollen. Verwenden Sie optional \"=\", um einen Wert festzulegen. Beispiel: VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "Der zu verwendende IntelliSense-Modus, der einer architekturspezifischen Variante von MSVC, gcc oder Clang zugeordnet wird. Wenn er nicht oder auf \"${default}\" festgelegt wird, wählt die Erweiterung den Standardwert für diese Plattform aus. Bei Windows lautet dieser \"msvc-x64\", bei Linux \"gcc-x64\" und bei macOS \"clang-x64\".", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Eine Liste der Dateien, die vor einer Includedatei in einer Übersetzungseinheit enthalten sein sollen.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "Die ID einer VS Code-Erweiterung, die IntelliSense-Konfigurationsinformationen für Quelldateien bereitstellen kann.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "TRUE, um nur die direkt oder indirekt als Header enthaltenen Dateien zu verarbeiten; FALSE, um alle Dateien unter den angegebenen Includepfaden zu verarbeiten.", diff --git a/Extension/i18n/deu/package.i18n.json b/Extension/i18n/deu/package.i18n.json index b651111ae3..c0f91d653d 100644 --- a/Extension/i18n/deu/package.i18n.json +++ b/Extension/i18n/deu/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "Wenn diese Option aktiviert ist, wird der Code basierend auf IntelliSense eingefärbt. Diese Einstellung gilt nur, wenn \"intelliSenseEngine\" auf \"Default\" festgelegt ist.", "c_cpp.configuration.codeFolding.description": "Wenn diese Option aktiviert ist, werden Codefaltbereiche vom Sprachserver bereitgestellt.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Hiermit aktivieren Sie Integrationsdienste für den [vcpkg-Abhängigkeits-Manager](https://aka.ms/vcpkg/).", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "Bei TRUE ist für \"Symbol umbenennen\" ein gültiger C-/C++-Bezeichner erforderlich.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "Bei Festlegung auf TRUE verwendet die Befehlsersetzung der Debugger-Shell obsolete Backtick-Zeichen (`).", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: andere Verweisergebnisse", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "Optionale Zeit in Millisekunden, während der der Debugger auf den Start von debugServer wartet. Der Standardwert ist 10.000.", "c_cpp.debuggers.coreDumpPath.description": "Optionaler vollständiger Pfad zu einer Kern-Speicherabbilddatei für das angegebene Programm. Der Standardwert ist \"NULL\".", "c_cpp.debuggers.cppdbg.externalConsole.description": "Wenn dieser Wert auf TRUE festgelegt ist, wird eine Konsole für die zu debuggende Komponente gestartet. Bei FALSE wird die Komponente unter Linux und Windows in der integrierten Konsole angezeigt.", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "Wenn dieser Wert auf TRUE festgelegt ist, wird eine Konsole für die zu debuggende Komponente gestartet. Bei FALSE wird keine Konsole gestartet.", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "Das integrierte Terminal von VS Code", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "Wenn dieser Wert auf TRUE festgelegt ist, wird für die zu debuggende Komponente die Konsolenumleitung deaktiviert, die für die Unterstützung des integrierten Terminals erforderlich ist.", "c_cpp.debuggers.sourceFileMap.description": "Optionale Quelldateizuordnungen, die an die Debug-Engine übergeben werden. Beispiel: { \"/original/source/path\":\"/current/source/path\" }", "c_cpp.debuggers.processId.anyOf.description": "Optionale Prozess-ID, an die der Debugger angefügt werden soll. Verwenden Sie \"${command:pickProcess}\", um eine Liste der lokalen ausgeführten Prozesse abzurufen, an die angefügt werden kann. Beachten Sie, dass einige Plattformen Administratorrechte erfordern, damit an einen Prozess angefügt werden kann.", diff --git a/Extension/i18n/deu/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/deu/src/Debugger/configurationProvider.i18n.json index 42264da2e0..764d8a9e33 100644 --- a/Extension/i18n/deu/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/deu/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "Standardkonfiguration", "select.configuration": "Konfiguration auswählen", "cl.exe.not.available": "{0}-Build und -Debuggen können nur verwendet werden, wenn VS Code von der Developer-Eingabeaufforderung für VS ausgeführt wird.", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "Der Debugger vom Typ \"{0}\" ist nur unter Windows verfügbar. Verwenden Sie auf der aktuellen Betriebssystemplattform den Typ \"{1}\".", "lldb.framework.install.xcode": "Details", "lldb.framework.not.found": "\"LLDB.framework\" wurde für LLDB-Mi nicht gefunden. Installieren Sie XCode oder die XCode-Befehlszeilentools.", diff --git a/Extension/i18n/deu/src/LanguageServer/configurations.i18n.json b/Extension/i18n/deu/src/LanguageServer/configurations.i18n.json index d1d02c2d48..6a1ace0a34 100644 --- a/Extension/i18n/deu/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/deu/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "Ungültige Eingabe, Compilerpfad kann nicht aufgelöst werden.", "path.is.not.a.file": "Der Pfad ist keine Datei: {0}", "path.is.not.a.directory": "Der Pfad ist kein Verzeichnis: {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "\"{0}\" wurde nicht gefunden." } \ No newline at end of file diff --git a/Extension/i18n/deu/src/nativeStrings.i18n.json b/Extension/i18n/deu/src/nativeStrings.i18n.json index e62b9dcee0..5b64815206 100644 --- a/Extension/i18n/deu/src/nativeStrings.i18n.json +++ b/Extension/i18n/deu/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "Unbehandelter Zielargumentwert erkannt: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense-Server wird heruntergefahren: {0}. Die Arbeitsspeicherauslastung beträgt {1} MB und hat das Limit von {2} MB überschritten.", "failed_to_query_for_standard_version": "Der Compiler im Pfad \"{0}\" konnte nicht nach standardmäßigen Standardversionen abgefragt werden. Die Compilerabfrage ist für diesen Compiler deaktiviert.", - "unrecognized_language_standard_version": "Die Compilerabfrage hat eine unbekannte Sprachstandardversion zurückgegeben. Stattdessen wird die neueste unterstützte Version verwendet." + "unrecognized_language_standard_version": "Die Compilerabfrage hat eine unbekannte Sprachstandardversion zurückgegeben. Stattdessen wird die neueste unterstützte Version verwendet.", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/deu/ui/settings.html.i18n.json b/Extension/i18n/deu/ui/settings.html.i18n.json index ba9c0e6920..d62ae87ed3 100644 --- a/Extension/i18n/deu/ui/settings.html.i18n.json +++ b/Extension/i18n/deu/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Compilerargumente zum Ändern der verwendeten Include- oder Define-Anweisungen. Beispiel: \"{0}\", \"{1}\" usw.", "one.argument.per.line": "Ein Argument pro Zeile.", "intellisense.mode": "IntelliSense-Modus", - "intellisense.mode.description": "Der zu verwendende IntelliSense-Modus, der einer architekturspezifischen Variante von MSVC, gcc oder Clang zugeordnet wird. Wenn er nicht oder auf \"{0}\" festgelegt wird, wählt die Erweiterung den Standardwert für diese Plattform aus. Bei Windows lautet dieser \"{1}\", bei Linux \"{2}\" und bei macOS \"{3}\". Wählen Sie einen bestimmten IntelliSense-Modus aus, um den Modus \"{4}\" zu überschreiben.", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "Pfad einbeziehen", "include.path.description": "Ein Includepfad ist ein Ordner, der Headerdateien (z. B. \"{0}\") enthält, die in einer Quelldatei enthalten sind. Geben Sie eine Liste mit Pfaden an, die von der IntelliSense-Engine bei der Suche nach eingeschlossenen Headerdateien verwendet werden sollen. Es wird keine rekursive Suche in diesen Pfaden durchgeführt. Geben Sie \"{1}\" an, um eine rekursive Suche durchzuführen. Beispielsweise werden mit der Einstellung \"{2}\" alle Unterverzeichnisse durchsucht, mit der Einstellung \"{3}\" hingegen nicht. Unter Windows mit Visual Studio-Installation oder bei Angabe eines Compilers in der Einstellung \"{4}\" ist es nicht erforderlich, die Systemincludepfade in dieser Liste aufzuführen.", "one.include.path.per.line": "Ein Includepfad pro Zeile.", diff --git a/Extension/i18n/esn/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/esn/c_cpp_properties.schema.json.i18n.json index 7af7ae1fde..30b555df85 100644 --- a/Extension/i18n/esn/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/esn/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Lista de rutas de acceso que el motor de IntelliSense necesita usar para buscar los encabezados incluidos de las plataformas Mac. Solo se admite en configuraciones para Mac.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Versión de la ruta de acceso de inclusión del SDK de Windows que debe usarse en Windows; por ejemplo, \"10.0.17134.0\".", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "Lista de definiciones del preprocesador que usará el motor de IntelliSense al analizar los archivos. También se puede usar “=” para establecer un valor (por ejemplo, VERSION=1).", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "Modo IntelliSense que se usará y que se asigna a una variante específica de la arquitectura de MSVC, gcc o Clang. Si se establece en ${default} o no se configura, la extensión usará el valor predeterminado para esa plataforma. Windows usa de forma predeterminada msvc-x64, Linux usa gcc-x64 y macOS usa clang-x64.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Lista de archivos que tienen que incluirse antes que cualquier archivo de inclusión en una unidad de traducción.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "El identificador de una extensión de VS Code que puede proporcionar información de configuración de IntelliSense para los archivos de código fuente.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "true para procesar únicamente los archivos incluidos directa o indirectamente como encabezados; false para procesar todos los archivos en las rutas de acceso de inclusión especificadas.", diff --git a/Extension/i18n/esn/package.i18n.json b/Extension/i18n/esn/package.i18n.json index 2f64f786f3..2184969793 100644 --- a/Extension/i18n/esn/package.i18n.json +++ b/Extension/i18n/esn/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "Si se habilita esta opción, el código se colorea de acuerdo con IntelliSense. Esta configuración solo se aplica si intelliSenseEngine se establece en \"Predeterminado\".", "c_cpp.configuration.codeFolding.description": "Si está habilitada, el servidor de lenguaje proporciona intervalos de plegado de código.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Habilita los servicios de integración para el [administrador de dependencias de vcpkg] (https://aka.ms/vcpkg/).", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "Si es true, \"Cambiar el nombre del símbolo\" requerirá un identificador de C/C++ válido.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "Si es true, la sustitución de comandos del shell del depurador usará la marca de comilla simple (') obsoleta.", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: resultados de otras referencias", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "Tiempo opcional, en milisegundos, que el depurador debe esperar a que se inicie debugServer. El valor predeterminado es 10000.", "c_cpp.debuggers.coreDumpPath.description": "Ruta de acceso completa opcional a un archivo de volcado de memoria básico para el programa especificado. El valor predeterminado es NULL.", "c_cpp.debuggers.cppdbg.externalConsole.description": "Si se establece en true, se inicia una consola para el depurado. Si se establece en false, en Linux y Windows aparecerá en la consola integrada.", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "Si se establece en true, se inicia una consola para el depurado. Si se establece en false, no se inicia ninguna consola.", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "Terminal integrado de VS Code", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "Si se establece en true, se deshabilita la redirección de la consola del depurado necesaria para la compatibilidad con el terminal integrado.", "c_cpp.debuggers.sourceFileMap.description": "Asignaciones de archivo de código fuente opcionales que se pasan al motor de depuración. Ejemplo: \"{ \"/original/source/path\":\"/current/source/path\" }\"", "c_cpp.debuggers.processId.anyOf.description": "Id. de proceso opcional al que debe asociarse el depurador. Use \"${command:pickProcess}\" para obtener una lista de los procesos locales en ejecución a los que se puede asociar. Tenga en cuenta que algunas plataformas requieren privilegios de administrador para poder asociar el depurador a un proceso.", diff --git a/Extension/i18n/esn/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/esn/src/Debugger/configurationProvider.i18n.json index 384aad19f6..e3acfe50e8 100644 --- a/Extension/i18n/esn/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/esn/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "Configuración predeterminada", "select.configuration": "Seleccionar una configuración", "cl.exe.not.available": "La compilación y depuración de {0} solo se puede usar cuando VS Code se ejecuta desde el Símbolo del sistema para desarrolladores de Visual Studio.", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "El depurador de tipo \"{0}\" solo está disponible en Windows. Use el tipo \"{1}\" en la plataforma de sistema operativo actual.", "lldb.framework.install.xcode": "Más información", "lldb.framework.not.found": "No se encuentra \"LLDB.framework\" para lldb-mi. Instale XCode o las herramientas de línea de comandos de XCode.", diff --git a/Extension/i18n/esn/src/LanguageServer/configurations.i18n.json b/Extension/i18n/esn/src/LanguageServer/configurations.i18n.json index c1cb48253c..ebedc46638 100644 --- a/Extension/i18n/esn/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/esn/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "Entrada no válida. No se puede resolver la ruta de acceso del compilador.", "path.is.not.a.file": "La ruta de acceso no es un archivo: {0}", "path.is.not.a.directory": "La ruta de acceso no es un directorio: {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "No se encuentra \"{0}\"." } \ No newline at end of file diff --git a/Extension/i18n/esn/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/esn/src/LanguageServer/cppBuildTaskProvider.i18n.json index e644cc54cc..d2891bff08 100644 --- a/Extension/i18n/esn/src/LanguageServer/cppBuildTaskProvider.i18n.json +++ b/Extension/i18n/esn/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -8,7 +8,7 @@ "compiler_details": "compilador:", "task_generated_by_debugger": "Tarea generada por el depurador.", "starting_build": "Iniciando la compilación...", - "build_finished_with_error": "La compilación finalizó con errores.", + "build_finished_with_error": "La compilación finalizó con errores", "build_finished_with_warnings": "La compilación finalizó con advertencias.", "build finished successfully": "La compilación finalizó correctamente." } \ No newline at end of file diff --git a/Extension/i18n/esn/src/nativeStrings.i18n.json b/Extension/i18n/esn/src/nativeStrings.i18n.json index 88e51fc7ce..7ee070dc71 100644 --- a/Extension/i18n/esn/src/nativeStrings.i18n.json +++ b/Extension/i18n/esn/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "Se detectó un valor del argumento de destino no controlado: {0}", "memory_limit_shutting_down_intellisense": "Cerrando el servidor de IntelliSense: {0}. El uso de la memoria es de {1} MB y ha superado el límite de {2} MB.", "failed_to_query_for_standard_version": "No se pudo consultar el compilador en la ruta de acceso \"{0}\" para las versiones estándar predeterminadas. La consulta del compilador está deshabilitada para este.", - "unrecognized_language_standard_version": "La consulta del compilador devolvió una versión estándar del lenguaje no reconocida. En su lugar se usará la última versión admitida." + "unrecognized_language_standard_version": "La consulta del compilador devolvió una versión estándar del lenguaje no reconocida. En su lugar se usará la última versión admitida.", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/esn/ui/settings.html.i18n.json b/Extension/i18n/esn/ui/settings.html.i18n.json index a6a99f2303..55faa2cc7e 100644 --- a/Extension/i18n/esn/ui/settings.html.i18n.json +++ b/Extension/i18n/esn/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Argumentos del compilador para modificar las inclusiones o definiciones utilizadas; por ejemplo, {0}, {1}, etc.", "one.argument.per.line": "Un argumento por línea.", "intellisense.mode": "Modo de IntelliSense", - "intellisense.mode.description": "Modo IntelliSense que se usará y que se asigna a una variante específica de la arquitectura de MSVC, gcc o Clang. Si se establece en {0} o no se configura, la extensión usará el valor predeterminado para esa plataforma. Windows usa de forma predeterminada {1}, Linux usa {2} y macOS usa {3}. Seleccione un modo IntelliSense específico para reemplazar el modo {4}.", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "Ruta de acceso de inclusión", "include.path.description": "Una ruta de acceso de inclusión es una carpeta que contiene archivos de encabezado (como {0}) que se incluyen en un archivo de código fuente. Especifique una lista de rutas de acceso que el motor de IntelliSense debe usar al buscar los archivos de encabezado incluidos. La búsqueda en estas rutas de acceso no es recursiva. Especifique {1} para indicar una búsqueda recursiva. Por ejemplo, {2} buscará en todos los subdirectorios, mientras que {3} no lo hará. Si usa Windows y tiene instalado Visual Studio, o bien si se especifica un compilador en la opción {4}, no es necesario mostrar en esta lista las rutas de acceso de inclusión del sistema.", "one.include.path.per.line": "Una ruta de acceso de inclusión por línea.", diff --git a/Extension/i18n/fra/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/fra/c_cpp_properties.schema.json.i18n.json index cc359470ce..f191793c25 100644 --- a/Extension/i18n/fra/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/fra/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Liste de chemins que le moteur IntelliSense doit utiliser pour la recherche des en-têtes inclus dans les frameworks Mac. Prise en charge uniquement sur la configuration Mac.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Version du chemin d'inclusion du SDK Windows à utiliser sur Windows, par ex., '10.0.17134.0'.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "Liste des définitions de préprocesseur que le moteur IntelliSense doit utiliser pendant l'analyse des fichiers. Vous pouvez aussi utiliser = pour définir une valeur, par ex., VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "Mode IntelliSense à utiliser qui correspond à une variante spécifique de l'architecture de MSVC, GCC ou Clang. Si la valeur n'est pas définie ou si elle est définie sur ${default}, l'extension choisit la valeur par défaut pour cette plateforme. Windows utilise la valeur par défaut msvc-x64, Linux utilise la valeur par défaut gcc-x64 et macOS la valeur par défaut clang-x64.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Liste des fichiers qui doivent être inclus avant tout fichier d'inclusion dans une unité de traduction.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "ID d'une extension VS Code pouvant fournir des informations de configuration IntelliSense pour les fichiers sources.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "true pour traiter uniquement les fichiers inclus directement ou indirectement comme des en-têtes, false pour traiter tous les fichiers sous les chemins d'inclusion spécifiés.", diff --git a/Extension/i18n/fra/package.i18n.json b/Extension/i18n/fra/package.i18n.json index 93e9a589f9..debadbc292 100644 --- a/Extension/i18n/fra/package.i18n.json +++ b/Extension/i18n/fra/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "Si cette option est activée, le code prend une couleur qui dépend d'IntelliSense. Ce paramètre s'applique uniquement si intelliSenseEngine a la valeur \"Default\".", "c_cpp.configuration.codeFolding.description": "Si cette fonctionnalité est activée, les plages de pliage de code sont fournies par le serveur de langage.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Activez les services d'intégration pour le [gestionnaire de dépendances vcpkg] (https://aka.ms/vcpkg/).", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "Si la valeur est true, l'opération Renommer le symbole nécessite un identificateur C/C++ valide.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "Si la valeur est true, le remplacement de la commande d'interpréteur de commandes du débogueur utilise un accent grave (`) obsolète.", "c_cpp.contributes.views.cppReferencesView.title": "C/C++ : Autres résultats des références", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "Temps facultatif, en millisecondes, pendant lequel le débogueur doit attendre que debugServer démarre. La valeur par défaut est 10 000.", "c_cpp.debuggers.coreDumpPath.description": "Chemin complet facultatif d'un fichier d'image mémoire principal pour le programme spécifié. La valeur par défaut est null.", "c_cpp.debuggers.cppdbg.externalConsole.description": "Si la valeur est true, une console est lancée pour l'élément débogué. Si la valeur est false, sur Linux et Windows, il s'affiche dans la console intégrée.", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "Si la valeur est true, une console est lancée pour l'élément débogué. Si la valeur est false, aucune console n'est lancée.", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "terminal intégré de VS Code", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "Si la valeur est true, désactive la redirection de la console de l'élément débogué nécessaire pour prendre en charge le terminal intégré.", "c_cpp.debuggers.sourceFileMap.description": "Mappages de fichier source facultatifs passés au moteur de débogage. Exemple : '{\"/original/source/path\":\"/current/source/path\" }'", "c_cpp.debuggers.processId.anyOf.description": "ID de processus facultatif auquel attacher le débogueur. Utilisez \"${command:pickProcess}\" pour obtenir la liste des processus locaux en cours d'exécution à attacher. Notez que certaines plateformes nécessitent des privilèges d'administrateur pour attacher un processus.", diff --git a/Extension/i18n/fra/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/fra/src/Debugger/configurationProvider.i18n.json index f9adb11f58..de9af6aec8 100644 --- a/Extension/i18n/fra/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/fra/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "Configuration par défaut", "select.configuration": "Sélectionner une configuration", "cl.exe.not.available": "La génération et le débogage de {0} peuvent être utilisés uniquement quand VS Code est exécuté à partir de l'invite de commandes développeur pour VS.", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "Le débogueur de type '{0}' est disponible seulement sur Windows. Utilisez le type '{1}' sur la plateforme OS actuelle.", "lldb.framework.install.xcode": "En savoir plus", "lldb.framework.not.found": "Impossible de localiser 'LLDB.framework' pour lldb-mi. Installez XCode ou les outils en ligne de commande XCode.", diff --git a/Extension/i18n/fra/src/LanguageServer/configurations.i18n.json b/Extension/i18n/fra/src/LanguageServer/configurations.i18n.json index e74efe400b..b882c828b2 100644 --- a/Extension/i18n/fra/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/fra/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "Entrée non valide, impossible de résoudre le chemin du compilateur", "path.is.not.a.file": "Le chemin n'est pas un fichier : {0}", "path.is.not.a.directory": "Le chemin n'est pas un répertoire : {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "\"{0}\" est introuvable." } \ No newline at end of file diff --git a/Extension/i18n/fra/src/nativeStrings.i18n.json b/Extension/i18n/fra/src/nativeStrings.i18n.json index 0328e51122..02a22891ad 100644 --- a/Extension/i18n/fra/src/nativeStrings.i18n.json +++ b/Extension/i18n/fra/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "Détection d'une valeur d'argument cible non prise en charge : {0}", "memory_limit_shutting_down_intellisense": "Arrêt du serveur IntelliSense : {0}. L'utilisation de la mémoire est de {1} Mo et a dépassé la limite fixée à {2} Mo.", "failed_to_query_for_standard_version": "Échec de l'interrogation du compilateur sur le chemin \"{0}\" pour les versions normalisées par défaut. L'interrogation du compilateur est désactivée pour ce compilateur.", - "unrecognized_language_standard_version": "L'interrogation du compilateur a retourné une version de norme de langage non reconnue. La toute dernière version prise en charge va être utilisée à la place." + "unrecognized_language_standard_version": "L'interrogation du compilateur a retourné une version de norme de langage non reconnue. La toute dernière version prise en charge va être utilisée à la place.", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/fra/ui/settings.html.i18n.json b/Extension/i18n/fra/ui/settings.html.i18n.json index e75fb4fe7d..63c55beaf7 100644 --- a/Extension/i18n/fra/ui/settings.html.i18n.json +++ b/Extension/i18n/fra/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Arguments du compilateur permettant de modifier les inclusions ou les définitions utilisées, par exemple, {0}, {1}, etc.", "one.argument.per.line": "Un argument par ligne.", "intellisense.mode": "Mode IntelliSense", - "intellisense.mode.description": "Mode IntelliSense à utiliser qui correspond à une variante spécifique de l'architecture de MSVC, GCC ou Clang. Si la valeur n'est pas définie ou si elle est définie sur {0}, l'extension choisit la valeur par défaut pour cette plateforme. Windows utilise la valeur par défaut {1}, Linux utilise la valeur par défaut {2} et macOS la valeur par défaut {3}. Sélectionnez un mode IntelliSense spécifique pour remplacer le mode {4}.", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "Inclure le chemin", "include.path.description": "Un chemin d'inclusion est un dossier qui contient les fichiers d'en-tête (par exemple {0}) inclus dans un fichier source. Spécifiez une liste de chemins à utiliser par le moteur IntelliSense durant la recherche de fichiers d'en-tête inclus. La recherche dans ces chemins n'est pas récursive. Spécifiez {1} pour indiquer une recherche récursive. Par exemple, {2} permet d'effectuer une recherche parmi tous les sous-répertoires, ce qui n'est pas le cas de {3}. Si Visual Studio est installé sur Windows, ou si un compilateur est spécifié dans le paramètre {4}, il n'est pas nécessaire de faire figurer les chemins d'inclusion système dans cette liste.", "one.include.path.per.line": "Un chemin d'inclusion par ligne.", diff --git a/Extension/i18n/ita/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/ita/c_cpp_properties.schema.json.i18n.json index 6282041226..2b6d67f435 100644 --- a/Extension/i18n/ita/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/ita/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Elenco di percorsi che il motore IntelliSense userà durante la ricerca delle intestazioni incluse da framework Mac. Supportato solo nella configurazione Mac.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Versione del percorso di inclusione di Windows SDK da usare in Windows, ad esempio '10.0.17134.0'.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "Elenco di definizioni del preprocessore che il motore IntelliSense userà durante l'analisi dei file. Facoltativamente, usare = per impostare un valore, ad esempio VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "Modalità IntelliSense da usare per eseguire il mapping a una variante specifica dell'architettura di MSVC, gcc o Clang. Se non è impostata o se è impostata su ${default}, sarà l'estensione a scegliere il valore predefinito per tale piattaforma. L'impostazione predefinita di Windows è msvc-x64, quella di Linux è gcc-x64 e quella di macOS è clang-x64.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Elenco di file che devono essere inclusi prima di qualsiasi file include in un'unità di conversione.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "ID di un'estensione VS Code che può fornire informazioni di configurazione IntelliSense per i file di origine.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "true per elaborare solo i file inclusi direttamente o indirettamente come intestazioni; false per elaborare tutti i file nei percorsi di inclusione specificati.", diff --git a/Extension/i18n/ita/package.i18n.json b/Extension/i18n/ita/package.i18n.json index f1de29e0fa..525f8d28c7 100644 --- a/Extension/i18n/ita/package.i18n.json +++ b/Extension/i18n/ita/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "Se questa opzione è abilitata, il codice viene colorato in base a IntelliSense. Questa impostazione si applica solo se intelliSenseEngine è impostato su \"Default\".", "c_cpp.configuration.codeFolding.description": "Se è abilitata, gli intervalli di riduzione del codice vengono fornite dal server di linguaggio.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Abilita i servizi di integrazione per l'[utilità di gestione dipendenze di vcpkg] (https://aka.ms/vcpkg/).", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "Se è true, con 'Rinomina simbolo' sarà richiesto un identificatore C/C++ valido.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "Se è true, per la sostituzione del comando della shell del debugger verrà usato il carattere backtick obsoleto (`).", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: Risultati altri riferimenti", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "Tempo facoltativo in millisecondi in cui il debugger deve attendere l'avvio di debugServer. L'impostazione predefinita è 10000.", "c_cpp.debuggers.coreDumpPath.description": "Percorso completo facoltativo di un file dump di base per il programma specificato. L'impostazione predefinita è null.", "c_cpp.debuggers.cppdbg.externalConsole.description": "Se è true, viene avviata una console per l'oggetto del debug. Se è false, in Linux e Windows verrà visualizzato nella console integrata.", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "Se è true, viene avviata una console per l'oggetto del debug. Se è false, non viene avviata alcuna console.", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "terminale integrato di Visual Studio Code", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "Se è true, disabilita il reindirizzamento della console dell'oggetto del debug richiesto per il supporto del terminale integrato.", "c_cpp.debuggers.sourceFileMap.description": "Mapping facoltativi dei file di origine passati al motore di debug. Esempio: '{ \"/original/source/path\":\"/current/source/path\" }'", "c_cpp.debuggers.processId.anyOf.description": "ID processo facoltativo a cui collegare il debugger. Usare \"${command:pickProcess}\" per ottenere un elenco dei processi locali in esecuzione a cui collegarsi. Tenere presente che alcune piattaforme richiedono privilegi di amministratore per collegarsi a un processo.", diff --git a/Extension/i18n/ita/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/ita/src/Debugger/configurationProvider.i18n.json index 84211a6623..516285d71a 100644 --- a/Extension/i18n/ita/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/ita/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "Configurazione predefinita", "select.configuration": "Seleziona una configurazione", "cl.exe.not.available": "La compilazione e il debug di {0} sono utilizzabili solo quando VS Code viene eseguito da Prompt dei comandi per gli sviluppatori per Visual Studio.", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "Il debugger di tipo '{0}' è disponibile solo in Windows. Usare il tipo '{1}' nella piattaforma corrente del sistema operativo.", "lldb.framework.install.xcode": "Ulteriori informazioni", "lldb.framework.not.found": "Non è possibile trovare 'LLDB.framework' per lldb-mi. Installare Xcode o gli strumenti da riga di comando Xcode.", diff --git a/Extension/i18n/ita/src/LanguageServer/configurations.i18n.json b/Extension/i18n/ita/src/LanguageServer/configurations.i18n.json index 840f1025b9..883d3fe2b6 100644 --- a/Extension/i18n/ita/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/ita/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "Input non valido. Non è possibile risolvere il percorso del compilatore", "path.is.not.a.file": "Il percorso non è un file: {0}", "path.is.not.a.directory": "Il percorso non è una directory: {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "Non è possibile trovare \"{0}\"." } \ No newline at end of file diff --git a/Extension/i18n/ita/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/ita/src/LanguageServer/cppBuildTaskProvider.i18n.json index 4fee52e093..523dee81b2 100644 --- a/Extension/i18n/ita/src/LanguageServer/cppBuildTaskProvider.i18n.json +++ b/Extension/i18n/ita/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -8,7 +8,7 @@ "compiler_details": "compilatore:", "task_generated_by_debugger": "Attività generata dal debugger.", "starting_build": "Avvio della compilazione...", - "build_finished_with_error": "La compilazione è terminata con uno o più errori", + "build_finished_with_error": "La compilazione è terminata con errore/i", "build_finished_with_warnings": "La compilazione è terminata con uno o più avvisi", "build finished successfully": "La compilazione è terminata." } \ No newline at end of file diff --git a/Extension/i18n/ita/src/nativeStrings.i18n.json b/Extension/i18n/ita/src/nativeStrings.i18n.json index 67fb8eb25f..26fb7bbb98 100644 --- a/Extension/i18n/ita/src/nativeStrings.i18n.json +++ b/Extension/i18n/ita/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "È stato rilevato un valore dell'argomento di destinazione non gestito: {0}", "memory_limit_shutting_down_intellisense": "Il server IntelliSense verrà arrestato: {0}. La memoria utilizzata è {1} MB e ha superato il limite di {2} MB.", "failed_to_query_for_standard_version": "Non è stato possibile eseguire una query sul compilatore nel percorso \"{0}\" per le versioni standard predefinite. L'esecuzione di query del compilatore è disabilitata per questo compilatore.", - "unrecognized_language_standard_version": "La query del compilatore ha restituito una versione standard del linguaggio non riconosciuta. In alternativa, verrà usata la versione più recente supportata." + "unrecognized_language_standard_version": "La query del compilatore ha restituito una versione standard del linguaggio non riconosciuta. In alternativa, verrà usata la versione più recente supportata.", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/ita/ui/settings.html.i18n.json b/Extension/i18n/ita/ui/settings.html.i18n.json index 5ac2d95871..4a33201915 100644 --- a/Extension/i18n/ita/ui/settings.html.i18n.json +++ b/Extension/i18n/ita/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Argomenti del compilatore per modificare le direttive include o define usate, ad esempio {0}, {1} e così via.", "one.argument.per.line": "Un argomento per riga.", "intellisense.mode": "Modalità IntelliSense", - "intellisense.mode.description": "Modalità IntelliSense da usare per eseguire il mapping a una variante specifica dell'architettura di MSVC, gcc o Clang. Se non è impostata o se è impostata su {0}, sarà l'estensione a scegliere il valore predefinito per tale piattaforma. L'impostazione predefinita di Windows è {1}, quella di Linux è {2} e quella di macOS è {3}. Selezionare una modalità IntelliSense specifica per eseguire l'override della modalità {4}.", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "Includi percorso", "include.path.description": "Un percorso di inclusione è una cartella che contiene i file di intestazione, ad esempio {0}, inclusi in un file di origine. Specificare un elenco di percorsi che il motore IntelliSense userà durante la ricerca dei file di intestazione inclusi. La ricerca in questi percorsi non è ricorsiva. Specificare {1} per indicare la ricerca ricorsiva. Ad esempio, con {2} la ricerca sarà estesa a tutte le sottodirectory, mentre con {3} sarà limitata a quella corrente. Se in Windows è installato Visual Studio o se nell'impostazione {4} è specificato un compilatore, non è necessario elencare i percorsi di inclusione di sistema in questo elenco.", "one.include.path.per.line": "Un percorso di inclusione per riga.", diff --git a/Extension/i18n/jpn/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/jpn/c_cpp_properties.schema.json.i18n.json index 4e22888acc..904dca7db9 100644 --- a/Extension/i18n/jpn/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/jpn/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Mac フレームワークからインクルードされたヘッダーを検索する際に Intellisense エンジンが使用するパスの一覧です。Mac 構成でのみサポートされます。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Windows で使用する Windows SDK インクルード パスのバージョン (例: '10.0.17134.0')。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "ファイルを解析する際に IntelliSense エンジンが使用するプリプロセッサ定義の一覧です。必要に応じて、= を使用して値を設定します (例: VERSION=1)。", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "MSVC、gcc、Clang のアーキテクチャ固有のバリアントにマップするために使用する IntelliSense モードです。値が設定されていない場合または ${default} に設定されている場合、拡張機能はそのプラットフォームの既定値を選択します。Windows の既定値は msvc-x64、Linux の既定値は gcc-x64、macOS の既定値は clang-x64 です。", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "翻訳単位のインクルード ファイルの前に含める必要があるファイルの一覧。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "ソース ファイルの IntelliSense 構成情報を提供できる VS Code 拡張機能の ID です。", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "ヘッダーとして直接的または間接的にインクルードされたファイルのみを処理する場合は true、指定したインクルード パスにあるすべてのファイルを処理する場合は false です。", diff --git a/Extension/i18n/jpn/package.i18n.json b/Extension/i18n/jpn/package.i18n.json index 398f7007d9..b79747a70e 100644 --- a/Extension/i18n/jpn/package.i18n.json +++ b/Extension/i18n/jpn/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "有効にすると、IntelliSense に基づいてコードが色分けされます。この設定は、intelliSenseEngine が \"Default\" に設定されている場合にのみ適用されます。", "c_cpp.configuration.codeFolding.description": "有効にした場合、コードの折りたたみの範囲は言語サーバーによって指定されます。", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "[vcpkg 依存関係マネージャー](https://aka.ms/vcpkg/) の統合サービスを有効にします。", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "true の場合、'シンボルの名前変更' には有効な C/C++ 識別子が必要です。", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "True の場合、デバッガー シェルのコマンド置換では古いバックティック (') が使用されます。", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: その他の参照結果", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "デバッガーが debugServer の起動を待機する時間 (ミリ秒、省略可能)。既定値は 10000 です。", "c_cpp.debuggers.coreDumpPath.description": "指定したプログラムのコア ダンプ ファイルへの完全なパス (省略可能)。既定値は null です。", "c_cpp.debuggers.cppdbg.externalConsole.description": "true の場合、デバッグ対象のためにコンソールが起動します。false の場合、Linux および Windows では、統合コンソールに表示されます。", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "true の場合、デバッグ対象のためにコンソールが起動します。false の場合、コンソールは起動しません。", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "VS Code の統合ターミナルです", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "true の場合、統合ターミナルのサポートに必要なデバッグ対象のコンソール リダイレクトが無効になります。", "c_cpp.debuggers.sourceFileMap.description": "デバッグ エンジンに渡されたソース ファイル マッピングです (オプション)。例: '{ \"/original/source/path\":\"/current/source/path\" }'", "c_cpp.debuggers.processId.anyOf.description": "デバッガーをアタッチするためのオプションのプロセス ID です。\"${command:pickProcess}\" を使用すれば、アタッチ先のローカルで実行されているプロセスの一覧を取得できます。一部のプラットフォームでは、プロセスにアタッチするには管理者特権が必要です。", diff --git a/Extension/i18n/jpn/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/jpn/src/Debugger/configurationProvider.i18n.json index eacd9a1ecb..c5c45fad54 100644 --- a/Extension/i18n/jpn/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/jpn/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "既定の構成", "select.configuration": "構成の選択", "cl.exe.not.available": "{0} のビルドとデバッグを使用できるのは、VS 用開発者コマンド プロンプトから VS Code を実行する場合のみです。", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "タイプ '{0}' のデバッガーは、Windows でのみ使用できます。現在の OS プラットフォームでは、タイプ '{1}' を使用してください。", "lldb.framework.install.xcode": "詳細", "lldb.framework.not.found": "lldb-mi の 'LLDB.framework' が見つかりません。XCode または XCode コマンド ライン ツールをインストールしてください。", diff --git a/Extension/i18n/jpn/src/LanguageServer/configurations.i18n.json b/Extension/i18n/jpn/src/LanguageServer/configurations.i18n.json index 28368d77e5..5c0659bd94 100644 --- a/Extension/i18n/jpn/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/jpn/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "無効な入力です。コンパイラ パスを解決できません", "path.is.not.a.file": "パスがファイルではありません: {0}", "path.is.not.a.directory": "パスがディレクトリではありません: {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "\"{0}\" が見つかりません。" } \ No newline at end of file diff --git a/Extension/i18n/jpn/src/nativeStrings.i18n.json b/Extension/i18n/jpn/src/nativeStrings.i18n.json index a91d99917a..7bfac5d155 100644 --- a/Extension/i18n/jpn/src/nativeStrings.i18n.json +++ b/Extension/i18n/jpn/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "ハンドルされていないターゲット引数値が検出されました: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense サーバーをシャットダウンしています: {0}。メモリ使用量は {1} MB で、{2} MB の制限を超えました。", "failed_to_query_for_standard_version": "既定の標準バージョンのパス \"{0}\" でコンパイラをクエリできませんでした。このコンパイラでは、コンパイラのクエリが無効になっています。", - "unrecognized_language_standard_version": "コンパイラ クエリにより、認識されない言語標準バージョンが返されました。代わりに、サポートされている最新のバージョンが使用されます。" + "unrecognized_language_standard_version": "コンパイラ クエリにより、認識されない言語標準バージョンが返されました。代わりに、サポートされている最新のバージョンが使用されます。", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/jpn/src/packageManager.i18n.json b/Extension/i18n/jpn/src/packageManager.i18n.json index 97a7f324f2..a36dd5fc57 100644 --- a/Extension/i18n/jpn/src/packageManager.i18n.json +++ b/Extension/i18n/jpn/src/packageManager.i18n.json @@ -4,8 +4,8 @@ *--------------------------------------------------------------------------------------------*/ // Do not edit this file. It is machine generated. { - "downloading.progress.description": "ダウンロード中 {0}", - "installing.progress.description": "インストール中 {0}", + "downloading.progress.description": "{0} のダウンロード中", + "installing.progress.description": "{0} のインストール中", "package.manager.missing": "パッケージ マニフェストが存在しません", "downloading.package": "パッケージ '{0}' をダウンロードしています", "error.from": "{0} からのエラー", diff --git a/Extension/i18n/jpn/ui/settings.html.i18n.json b/Extension/i18n/jpn/ui/settings.html.i18n.json index 3f123a8f3c..a54902b0e5 100644 --- a/Extension/i18n/jpn/ui/settings.html.i18n.json +++ b/Extension/i18n/jpn/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "たとえば {0}、{1} など、使用されているインクルードや定義を変更するコンパイラ引数です。", "one.argument.per.line": "1 行につき 1 つの引数です。", "intellisense.mode": "IntelliSense モード", - "intellisense.mode.description": "MSVC、gcc、Clang のアーキテクチャ固有のバリアントにマップするために使用する IntelliSense モードです。値が設定されていない場合または {0} に設定されている場合、拡張機能はそのプラットフォームの既定値を選択します。Windows の既定値は {1}、Linux の既定値は {2}、macOS の既定値は {3} です。{4} モードをオーバーライドするには、特定の IntelliSense モードを選択します。", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "パスを含める", "include.path.description": "インクルード パスは、ソース ファイルにインクルードされるヘッダー ファイル ({0} など) を含むフォルダーです。インクルードされたヘッダー ファイルを検索する際に IntelliSense エンジンによって使用されるパスの一覧を指定します。これらのパスでの検索は再帰的ではありません。再帰的な検索を示す場合は、{1} を指定します。たとえば、{2} ではすべてのサブディレクトリが検索されますが、{3} はそうではありません。Windows 上に Visual Studio がインストールされている場合、または {4} 設定でコンパイラが指定されている場合は、この一覧にシステム インクルード パスを含める必要はありません。", "one.include.path.per.line": "1 行につき 1 つのインクルード パスです。", diff --git a/Extension/i18n/kor/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/kor/c_cpp_properties.schema.json.i18n.json index 761cb6d710..f581fbad33 100644 --- a/Extension/i18n/kor/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/kor/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Mac 프레임워크에서 포함된 헤더를 검색하는 동안 사용할 IntelliSense 엔진의 경로 목록입니다. Mac 구성에서만 지원됩니다.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Windows에서 사용할 Windows SDK 포함 경로의 버전입니다(예: '10.0.17134.0').", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "파일을 구문 분석하는 동안 사용할 IntelliSense 엔진의 전처리기 정의 목록입니다. 선택적으로 =을 사용하여 값을 설정합니다(예: VERSION= 1).", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "MSVC, gcc 또는 Clang의 아키텍처별 변형에 매핑되는 사용할 IntelliSense 모드입니다. 설정되지 않거나 ${default}로 설정된 경우 확장에서 해당 플랫폼의 기본값을 선택합니다. Windows의 경우 기본값인 msvc-x64로 설정되고, Linux의 경우 기본값인 gcc-x64로 설정되며, macOS의 경우 기본값인 clang-x64로 설정됩니다.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "변환 단위에서 포함 파일 앞에 포함해야 하는 파일의 목록입니다.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "소스 파일에 IntelliSense 구성 정보를 제공할 수 있는 VS Code 확장의 ID입니다.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "true인 경우 직접적으로 또는 간접적으로 헤더로 포함된 파일만 처리되고, false인 경우 지정된 포함 경로 아래의 모든 파일이 처리됩니다.", diff --git a/Extension/i18n/kor/package.i18n.json b/Extension/i18n/kor/package.i18n.json index 0c79b4f153..aa503b19fc 100644 --- a/Extension/i18n/kor/package.i18n.json +++ b/Extension/i18n/kor/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "사용하도록 설정된 경우 IntelliSense를 기반으로 코드 색이 지정됩니다. intelliSenseEngine이 \"기본값\"으로 설정된 경우에만 이 설정이 적용됩니다.", "c_cpp.configuration.codeFolding.description": "사용하도록 설정하면 언어 서버에서 코드 접기 범위를 제공합니다.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "[vcpkg 종속성 관리자](https://aka.ms/vcpkg/)에 통합 서비스를 사용하도록 설정합니다.", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "true이면 '기호 이름 바꾸기'에 유효한 C/C++ 식별자가 필요합니다.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "true인 경우 디버거 셸 명령 대체가 사용되지 않는 백틱(`)을 사용합니다.", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: 기타 참조 결과", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "debugServer가 시작될 때까지 디버거가 대기할 선택적 시간(밀리초)입니다. 기본값은 10000입니다.", "c_cpp.debuggers.coreDumpPath.description": "지정된 프로그램에 대한 코어 덤프 파일의 선택적 전체 경로입니다. 기본값은 null입니다.", "c_cpp.debuggers.cppdbg.externalConsole.description": "True이면 콘솔이 디버기에 대해 시작됩니다. False이면 Linux 및 Windows에서 통합 콘솔에 표시됩니다.", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "True이면 콘솔이 디버기에 대해 시작됩니다. False이면 콘솔이 시작되지 않습니다.", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "VS Code의 통합 터미널", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "True이면 통합 터미널 지원에 필요한 디버기 콘솔 리디렉션을 사용하지 않도록 설정합니다.", "c_cpp.debuggers.sourceFileMap.description": "디버그 엔진에 전달되는 선택적 소스 파일 매핑입니다(예: '{\"/original/source/path\": \"/original/source/path\"}').", "c_cpp.debuggers.processId.anyOf.description": "디버거를 연결할 선택적 프로세스 ID입니다. \"${command:pickProcess}\"를 사용하여 연결할 로컬 실행 프로세스 목록을 가져옵니다. 일부 플랫폼에서는 프로세스에 연결하기 위해 관리자 권한이 필요합니다.", diff --git a/Extension/i18n/kor/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/kor/src/Debugger/configurationProvider.i18n.json index b6eeac1a82..1c975ad9d0 100644 --- a/Extension/i18n/kor/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/kor/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "기본 구성", "select.configuration": "구성을 선택합니다.", "cl.exe.not.available": "{0} 빌드 및 디버그는 VS의 개발자 명령 프롬프트에서 VS Code를 실행하는 경우에만 사용할 수 있습니다.", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "'{0}' 형식 디버거는 Windows에서만 사용할 수 있습니다. 현재 OS 플랫폼에서는 '{1}' 형식을 사용하세요.", "lldb.framework.install.xcode": "추가 정보", "lldb.framework.not.found": "lldb-mi에 대한 'LLDB.framework'를 찾을 수 없습니다. XCode 또는 XCode 명령줄 도구를 설치하세요.", diff --git a/Extension/i18n/kor/src/LanguageServer/configurations.i18n.json b/Extension/i18n/kor/src/LanguageServer/configurations.i18n.json index 0c9a90c8bc..632992ad95 100644 --- a/Extension/i18n/kor/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/kor/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "입력이 잘못되었습니다. 컴파일러 경로를 확인할 수 없습니다.", "path.is.not.a.file": "경로가 파일이 아닙니다. {0}", "path.is.not.a.directory": "경로가 디렉터리가 아닙니다. {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "\"{0}\"을(를) 찾을 수 없습니다." } \ No newline at end of file diff --git a/Extension/i18n/kor/src/nativeStrings.i18n.json b/Extension/i18n/kor/src/nativeStrings.i18n.json index 2bc5c40b46..331617b0fd 100644 --- a/Extension/i18n/kor/src/nativeStrings.i18n.json +++ b/Extension/i18n/kor/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "처리되지 않은 대상 인수 값이 검색됨: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense 서버 {0}을(를) 종료하는 중입니다. 메모리 사용량이 {1}MB이며 {2}MB 한도를 초과했습니다.", "failed_to_query_for_standard_version": "기본 표준 버전에 대해 경로 \"{0}\"에서 컴파일러를 쿼리하지 못했습니다. 이 컴파일러에 대해서는 컴파일러 쿼리를 사용할 수 없습니다.", - "unrecognized_language_standard_version": "컴파일러 쿼리에서 인식할 수 없는 언어 표준 버전을 반환했습니다. 지원되는 최신 버전이 대신 사용됩니다." + "unrecognized_language_standard_version": "컴파일러 쿼리에서 인식할 수 없는 언어 표준 버전을 반환했습니다. 지원되는 최신 버전이 대신 사용됩니다.", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/kor/ui/settings.html.i18n.json b/Extension/i18n/kor/ui/settings.html.i18n.json index f7e5f2b6ff..604e772133 100644 --- a/Extension/i18n/kor/ui/settings.html.i18n.json +++ b/Extension/i18n/kor/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "사용된 포함 또는 정의를 수정하는 컴파일러 인수입니다(예: {0}, {1} 등).", "one.argument.per.line": "줄당 하나의 인수입니다.", "intellisense.mode": "IntelliSense 모드", - "intellisense.mode.description": "MSVC, gcc 또는 Clang의 아키텍처별 변형에 매핑되는 사용할 IntelliSense 모드입니다. 설정되지 않거나 {0}(으)로 설정된 경우 확장에서 해당 플랫폼의 기본값을 선택합니다. Windows의 경우 기본값인 {1}(으)로 설정되고, Linux의 경우 기본값인 {2}(으)로 설정되며, macOS의 경우 기본값인 {3}(으)로 설정됩니다. {4} 모드를 재정의하려면 특정 IntelliSense 모드를 선택합니다.", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "경로 포함", "include.path.description": "포함 경로는 소스 파일에 포함된 헤더 파일(예: {0})을 포함하는 폴더입니다. 포함된 헤더 파일을 검색하는 동안 사용할 IntelliSense 엔진의 경로 목록을 지정합니다. 이러한 경로 검색은 비재귀적입니다. 재귀적 검색을 나타내려면 {1}을(를) 지정합니다. 예를 들어 {2}은(는) 모든 하위 디렉터리를 검색하지만 {3}은(는) 그러지 않습니다. Visual Studio가 설치된 Windows를 사용하거나 {4} 설정에 컴파일러가 지정된 경우 이 목록에 시스템 포함 경로를 나열할 필요가 없습니다.", "one.include.path.per.line": "줄당 하나의 포함 경로입니다.", diff --git a/Extension/i18n/plk/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/plk/c_cpp_properties.schema.json.i18n.json index aa11e4cb43..f441dacd11 100644 --- a/Extension/i18n/plk/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/plk/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Lista ścieżek, których aparat IntelliSense ma używać podczas wyszukiwania dołączanych nagłówków z platform na komputerach Mac. Obsługiwane tylko w konfiguracji dla komputerów Mac.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Wersja ścieżki dołączania zestawu Windows SDK do użycia w systemie Windows, na przykład „10.0.17134.0”.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "Lista definicji preprocesora, które mają być używane przez aparat IntelliSense podczas analizowania plików. Opcjonalnie można użyć operatora =, aby ustawić wartość, na przykład VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "Tryb funkcji IntelliSense do użycia, który jest mapowany na specyficzny dla architektury wariant kompilatora MSVC, gcc albo Clang. Jeśli ta wartość nie zostanie ustawiona lub zostanie ustawiona na ${default}, rozszerzenie wybierze ustawienie domyślne dla danej platformy. Dla systemu Windows jest używana wartość domyślna msvc-x64, dla systemu Linux — gcc-x64, a dla systemu MacOS — clang-x64.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Lista plików, które powinny być dołączane przed wszelkimi dołączanymi plikami w jednostce translacji.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "Identyfikator rozszerzenia programu VS Code, które może udostępnić informacje o konfiguracji funkcji IntelliSense dla plików źródłowych.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "Wartość true, aby przetwarzać tylko pliki bezpośrednio lub pośrednio dołączone jako nagłówki. Wartość false, aby przetwarzać wszystkie pliki w określonych ścieżkach dołączania.", diff --git a/Extension/i18n/plk/package.i18n.json b/Extension/i18n/plk/package.i18n.json index ff29e676ba..bd0b382874 100644 --- a/Extension/i18n/plk/package.i18n.json +++ b/Extension/i18n/plk/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "Jeśli ta opcja jest włączona, kod jest kolorowany na podstawie funkcji IntelliSense. To ustawienie ma zastosowanie tylko wtedy, gdy element intelliSenseEngine ma wartość „Default”.", "c_cpp.configuration.codeFolding.description": "Jeśli ta opcja jest włączona, zakresy składania kodu są dostarczane przez serwer języka.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Włącz usługi integracji dla elementu [vcpkg dependency manager](https://aka.ms/vcpkg/).", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "Jeśli ma wartość true, operacja „Zmień nazwę symbolu” będzie wymagać prawidłowego identyfikatora C/C++.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "Jeśli wartość będzie równa true, podstawianie poleceń powłoki debugera będzie używać przestarzałego grawisa (`).", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: inne wyniki odwołań", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "Opcjonalny czas, w milisekundach, przez jaki debuger ma oczekiwać na uruchomienie serwera debugServer. Wartość domyślna to 10000.", "c_cpp.debuggers.coreDumpPath.description": "Opcjonalna pełna ścieżka do podstawowego pliku zrzutu dla określonego programu. Wartością domyślną jest null.", "c_cpp.debuggers.cppdbg.externalConsole.description": "Jeśli wartość to true, konsola jest uruchamiana na potrzeby debugowanego obiektu. Jeśli wartość to false, w systemie Linux i Windows konsola zostanie wyświetlona w ramach zintegrowanej konsoli.", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "Jeśli wartość to true, konsola jest uruchamiana na potrzeby debugowanego obiektu. Jeśli wartość to false, nie jest uruchamiana żadna konsola.", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "Zintegrowany terminal programu VS Code", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "Jeśli wartość to true, wyłącza przekierowywanie konsoli debugowanego obiektu, które jest wymagane do obsługi zintegrowanego terminalu.", "c_cpp.debuggers.sourceFileMap.description": "Opcjonalne mapowania plików źródłowych przekazywane do aparatu debugowania. Przykład: „{ \"/oryginalna/ścieżka/źródłowa\":\"/bieżąca/ścieżka/źródłowa\" }”", "c_cpp.debuggers.processId.anyOf.description": "Opcjonalny identyfikator procesu, do którego ma zostać dołączony debuger. Użyj polecenia „${command:pickProcess}”, aby uzyskać listę uruchomionych lokalnie procesów, do których można dołączyć. Pamiętaj, że niektóre platformy wymagają uprawnień administratora, aby dołączyć je do procesu.", diff --git a/Extension/i18n/plk/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/plk/src/Debugger/configurationProvider.i18n.json index 3db020b637..21a2d8f01a 100644 --- a/Extension/i18n/plk/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/plk/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "Konfiguracja domyślna", "select.configuration": "Wybierz konfigurację", "cl.exe.not.available": "{0} — funkcji kompilacji i debugowania można używać tylko wtedy, gdy program VS Code został uruchomiony z wiersza polecenia dla deweloperów w programie VS.", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "Debuger typu: „{0}” jest dostępny tylko w systemie Windows. Użyj typu: „{1}” na bieżącej platformie systemu operacyjnego.", "lldb.framework.install.xcode": "Więcej informacji", "lldb.framework.not.found": "Nie można zlokalizować elementu „LLDB.framework” dla narzędzia lldb-mi. Zainstaluj środowisko XCode lub narzędzia wiersza polecenia środowiska XCode.", diff --git a/Extension/i18n/plk/src/LanguageServer/configurations.i18n.json b/Extension/i18n/plk/src/LanguageServer/configurations.i18n.json index dca03c9f85..c44c397dce 100644 --- a/Extension/i18n/plk/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/plk/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "Nieprawidłowe dane wejściowe, nie można rozpoznać ścieżki kompilatora", "path.is.not.a.file": "Ścieżka nie jest plikiem: {0}", "path.is.not.a.directory": "Ścieżka nie jest katalogiem: {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "Nie można znaleźć elementu „{0}”." } \ No newline at end of file diff --git a/Extension/i18n/plk/src/nativeStrings.i18n.json b/Extension/i18n/plk/src/nativeStrings.i18n.json index d69f61d91b..8c28f4e9b3 100644 --- a/Extension/i18n/plk/src/nativeStrings.i18n.json +++ b/Extension/i18n/plk/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "Wykryto nieobsługiwaną docelową wartość argumentu: {0}", "memory_limit_shutting_down_intellisense": "Zamykanie serwera funkcji IntelliSense: {0}. Użycie pamięci to {1} MB i przekroczyło limit wynoszący {2} MB.", "failed_to_query_for_standard_version": "Nie można wykonać zapytań dotyczących kompilatora w ścieżce „{0}” dla domyślnych wersji standardowych. Wykonywanie zapytań dotyczących kompilatora jest wyłączone dla tego kompilatora.", - "unrecognized_language_standard_version": "Zapytanie kompilatora zwróciło nierozpoznaną wersję standardu języka. Zamiast tego zostanie użyta najnowsza obsługiwana wersja." + "unrecognized_language_standard_version": "Zapytanie kompilatora zwróciło nierozpoznaną wersję standardu języka. Zamiast tego zostanie użyta najnowsza obsługiwana wersja.", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/plk/ui/settings.html.i18n.json b/Extension/i18n/plk/ui/settings.html.i18n.json index c05039f1f5..cae53c9402 100644 --- a/Extension/i18n/plk/ui/settings.html.i18n.json +++ b/Extension/i18n/plk/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Argumenty kompilatora do modyfikacji użytych elementów include lub define, np. {0}, {1} itp.", "one.argument.per.line": "Jeden argument na wiersz.", "intellisense.mode": "Tryb funkcji IntelliSense", - "intellisense.mode.description": "Tryb funkcji IntelliSense do użycia, który jest mapowany na specyficzny dla architektury wariant kompilatora MSVC, gcc albo Clang. Jeśli ta wartość nie zostanie ustawiona lub zostanie ustawiona na {0}, rozszerzenie wybierze ustawienie domyślne dla danej platformy. Dla systemu Windows jest używana wartość domyślna {1}, dla systemu Linux — {2}, a dla systemu MacOS — {3}. Wybierz określony tryb funkcji IntelliSense, aby zastąpić tryb {4}.", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "Ścieżka dołączania", "include.path.description": "Ścieżka dołączania to folder zawierający pliki nagłówków (np. {0}), które są dołączane w pliku źródłowym. Określ listę ścieżek do użycia przez aparat IntelliSense podczas wyszukiwania dołączanych plików nagłówków. Wyszukiwanie w tych ścieżkach nie jest rekurencyjne. Użyj wartości {1}, aby określić wyszukiwanie rekurencyjne. Na przykład wartość {2} powoduje przeszukiwanie wszystkich podkatalogów, w przeciwieństwie do wartości {3}. Jeśli jest używany system Windows z zainstalowanym programem Visual Studio lub jeśli został określony kompilator w ustawieniu {4}, nie jest konieczne określanie systemowych ścieżek dołączania na tej liście.", "one.include.path.per.line": "Jedna ścieżka dyrektywy include na wiersz.", diff --git a/Extension/i18n/ptb/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/ptb/c_cpp_properties.schema.json.i18n.json index 57a8354771..71c6441563 100644 --- a/Extension/i18n/ptb/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/ptb/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Uma lista de caminhos para o mecanismo IntelliSense usar durante a pesquisa de cabeçalhos incluídos por meio das estruturas Mac. Compatível somente com configurações do Mac.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "A versão do caminho de inclusão do SDK do Windows a ser usada no Windows, por exemplo, '10.0.17134.0'.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "Uma lista de definições de pré-processador para o mecanismo IntelliSense usar durante a análise de arquivos. Opcionalmente, use = para definir um valor, por exemplo, VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "O modo do IntelliSense para usar que mapeia para uma variante específica de arquitetura do MSVC, gcc ou Clang. Se não estiver definido ou se for definido como ${default}, a extensão escolherá o padrão para essa plataforma. O Windows usa como padrão msvc-x64, o Linux usa gcc-x64 e o macOS usa clang-x64.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Uma lista de arquivos que devem ser incluídos antes de qualquer arquivo de inclusão em uma unidade de tradução.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "A ID de uma extensão do VS Code que pode fornecer informações de configuração do IntelliSense para arquivos de origem.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "true para processar somente os arquivos direta ou indiretamente incluídos como cabeçalhos, false para processar todos os arquivos nos caminhos de inclusão especificados.", diff --git a/Extension/i18n/ptb/package.i18n.json b/Extension/i18n/ptb/package.i18n.json index b6a3049174..1b2ed9ef0e 100644 --- a/Extension/i18n/ptb/package.i18n.json +++ b/Extension/i18n/ptb/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "Se habilitado, o código é colorido com base no IntelliSense. Essa configuração será aplicável somente se intelliSenseEngine estiver definido como \"Padrão\".", "c_cpp.configuration.codeFolding.description": "Se habilitado, os intervalos de dobramento de código serão fornecidos pelo servidor de idiomas.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Habilitar os serviços de integração para o [gerenciador de dependências vcpkg](https://aka.ms/vcpkg/).", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "Se for true, 'Renomear Símbolo' exigirá um identificador C/C++ válido.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "Se esta configuração for true, a substituição do comando do shell do depurador usará o acento grave obsoleto (`).", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: outros resultados de referências", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "Tempo opcional, em milissegundos, para o depurador aguardar o debugServer iniciar. O padrão é 10.000.", "c_cpp.debuggers.coreDumpPath.description": "Caminho completo opcional para um arquivo de despejo de núcleo para o programa especificado. O padrão é nulo.", "c_cpp.debuggers.cppdbg.externalConsole.description": "Se for true, um console será iniciado para o depurador. Se for false, no Linux e no Windows, ele será exibido no Console Integrado.", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "Se for true, um console será iniciado para o depurador. Se for false, nenhum console será iniciado.", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "Terminal integrado do VS Code", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "Se for true, desabilitará o redirecionamento do console do depurador requerido para o suporte do Terminal Integrado.", "c_cpp.debuggers.sourceFileMap.description": "Mapeamentos de arquivo de origem opcionais passados para o mecanismo de depuração. Exemplo: '{ \"/original/source/path\":\"/current/source/path\" }'", "c_cpp.debuggers.processId.anyOf.description": "ID do processo opcional ao qual anexar o depurador. Use \"${command:pickProcess}\" para obter uma lista de processos locais em execução aos quais anexar. Observe que algumas plataformas exigem privilégios de administrador para anexação a um processo.", diff --git a/Extension/i18n/ptb/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/ptb/src/Debugger/configurationProvider.i18n.json index cabd2d3e6e..af214872fd 100644 --- a/Extension/i18n/ptb/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/ptb/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "Configuração Padrão", "select.configuration": "Selecionar uma configuração", "cl.exe.not.available": "A criação e a depuração de {0} só podem ser usadas quando o VS Code é executado por meio do Prompt de Comando do Desenvolvedor para VS.", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "Depurador do tipo: '{0}' só está disponível no Windows. Use o tipo: '{1}' na plataforma do SO atual.", "lldb.framework.install.xcode": "Mais Informações", "lldb.framework.not.found": "Não é possível localizar 'LLDB.framework' para lldb-mi. Instale o XCode ou as Ferramentas de Linha de Comando do XCode.", diff --git a/Extension/i18n/ptb/src/LanguageServer/configurations.i18n.json b/Extension/i18n/ptb/src/LanguageServer/configurations.i18n.json index 7d95882ece..69fd21fa3b 100644 --- a/Extension/i18n/ptb/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/ptb/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "Entrada inválida. Não é possível resolver o caminho do compilador", "path.is.not.a.file": "O caminho não é um arquivo: {0}", "path.is.not.a.directory": "O caminho não é um diretório: {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "Não é possível localizar \"{0}\"." } \ No newline at end of file diff --git a/Extension/i18n/ptb/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/ptb/src/LanguageServer/cppBuildTaskProvider.i18n.json index 158426aff8..cd4203108c 100644 --- a/Extension/i18n/ptb/src/LanguageServer/cppBuildTaskProvider.i18n.json +++ b/Extension/i18n/ptb/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -8,7 +8,7 @@ "compiler_details": "compilador:", "task_generated_by_debugger": "Tarefa gerada pelo Depurador.", "starting_build": "Iniciando o build...", - "build_finished_with_error": "Build concluído com erros", + "build_finished_with_error": "Build finished with error(s)", "build_finished_with_warnings": "Build concluído com avisos", "build finished successfully": "Build concluído com êxito." } \ No newline at end of file diff --git a/Extension/i18n/ptb/src/nativeStrings.i18n.json b/Extension/i18n/ptb/src/nativeStrings.i18n.json index d2d6f8e2e8..391d934247 100644 --- a/Extension/i18n/ptb/src/nativeStrings.i18n.json +++ b/Extension/i18n/ptb/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "Foi detectado um valor de argumento de destino não tratado: {0}", "memory_limit_shutting_down_intellisense": "Desligando o servidor do IntelliSense: {0}. O uso de memória é {1} MB e excedeu o limite de {2} MB.", "failed_to_query_for_standard_version": "Falha ao consultar compilador no caminho \"{0}\" para as versões padrão. A consulta do compilador está desabilitada para este compilador.", - "unrecognized_language_standard_version": "A consulta do compilador retornou uma versão do padrão de linguagem não reconhecida. Nesse caso, será usada a última versão com suporte." + "unrecognized_language_standard_version": "A consulta do compilador retornou uma versão do padrão de linguagem não reconhecida. Nesse caso, será usada a última versão com suporte.", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/ptb/ui/settings.html.i18n.json b/Extension/i18n/ptb/ui/settings.html.i18n.json index c4d4c516eb..0410c39869 100644 --- a/Extension/i18n/ptb/ui/settings.html.i18n.json +++ b/Extension/i18n/ptb/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Argumentos do compilador para modificar as inclusões ou definições usadas, por exemplo, {0}, {1} etc.", "one.argument.per.line": "Um argumento por linha.", "intellisense.mode": "Modo do IntelliSense", - "intellisense.mode.description": "O modo do IntelliSense para usar que mapeia para uma variante específica de arquitetura de MSVC, gcc ou Clang. Se não estiver definido ou se for definido como {0}, a extensão escolherá o padrão para essa plataforma. O Windows usa como padrão {1}, o Linux usa {2} e o macOS usa {3}. Selecione um modo do IntelliSense específico para substituir o modo de {4}.", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "Incluir caminho", "include.path.description": "Um caminho de inclusão é uma pasta que contém os arquivos de cabeçalho (como {0}) que estão incluídos em um arquivo de origem. Especifique uma lista de caminhos para o mecanismo IntelliSense usar ao procurar arquivos de cabeçalho incluídos. A pesquisa nesses caminhos não é recursiva. Especifique {1} para indicar uma pesquisa recursiva. Por exemplo, {2} pesquisará em todos os subdiretórios, enquanto {3} não fará isso. No Windows com o Visual Studio instalado ou quando um compilador está especificado na configuração {4}, não é necessário listar os caminhos de inclusão do sistema nessa lista.", "one.include.path.per.line": "Um caminho de inclusão por linha.", diff --git a/Extension/i18n/rus/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/rus/c_cpp_properties.schema.json.i18n.json index 47c0625e4a..cf452e1a94 100644 --- a/Extension/i18n/rus/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/rus/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Список путей для подсистемы IntelliSense, используемых при поиске включаемых файлов заголовков из платформ Mac. Поддерживается только в конфигурации для Mac.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Версия пути включения Windows SDK для использования в Windows, например \"10.0.17134.0\".", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "Список определений препроцессора для подсистемы IntelliSense, используемых при анализе файлов. При необходимости вы можете задать значение с помощью \"=\", например: VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "Используемый режим IntelliSense, соответствующий определенному варианту MSVC, gcc или Clang для конкретной архитектуры. Если не задать его или указать значение ${default}, расширение выберет вариант по умолчанию для этой платформы. Для Windows по умолчанию используется msvc-x64, для Linux — gcc-x64, а для macOS — clang-x64.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Список файлов, которые должны быть включены перед любым файлом включений в единице трансляции.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "Идентификатор расширения VS Code, которое может предоставить данные конфигурации IntelliSense для исходных файлов.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "При значении true (истина) будут обрабатываться только файлы, прямо или косвенно включенные как файлы заголовков, а при значении false (ложь) — все файлы по указанным путям для включений.", diff --git a/Extension/i18n/rus/package.i18n.json b/Extension/i18n/rus/package.i18n.json index f0febca702..1438a65c89 100644 --- a/Extension/i18n/rus/package.i18n.json +++ b/Extension/i18n/rus/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "Если этот параметр включен, код раскрашивается в соответствии с IntelliSense. Этот параметр применяется, только если для intelliSenseEngine задано значение Default.", "c_cpp.configuration.codeFolding.description": "Если этот параметр включен, то диапазоны свертывания кода предоставляются языковым сервером.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "Включите службы интеграции для [диспетчера зависимостей vcpkg](https://aka.ms/vcpkg/).", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "Если этот параметр имеет значение true, для операции \"Переименование символов\" потребуется указать допустимый идентификатор C/C++.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "Если задано значение true, для подстановки команд оболочки отладчика будет использоваться устаревший обратный апостроф (`).", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: результаты по другим ссылкам", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "Необязательный период (в миллисекундах), в течение которого отладчик будет ожидать запуска debugServer. Значение по умолчанию: 10000.", "c_cpp.debuggers.coreDumpPath.description": "Необязательный полный путь к основному файлу дампа для указанной программы. Значение по умолчанию: null.", "c_cpp.debuggers.cppdbg.externalConsole.description": "Если задано значение true, для отлаживаемого объекта запускается консоль. Если задано значение false, в Linux и Windows он отображается в интегрированной консоли.", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "Если задано значение true, для отлаживаемого объекта запускается консоль. Если задано значение false, консоль не запускается.", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "Интегрированный терминал VS Code", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "Если задано значение true, отключается перенаправление консоли отлаживаемого объекта, необходимое для поддержки встроенного терминала.", "c_cpp.debuggers.sourceFileMap.description": "Необязательные сопоставления исходного файла, переданные в подсистему отладки. Пример: \"{ \"/original/source/path\":\"/current/source/path\" }\"", "c_cpp.debuggers.processId.anyOf.description": "Необязательный идентификатор процесса, к которому требуется подключить отладчик. Используйте \"${command:pickProcess}\", чтобы получить список локальных запущенных процессов для подключения. Обратите внимание, что для подключения к процессу на некоторых платформах требуются права администратора.", diff --git a/Extension/i18n/rus/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/rus/src/Debugger/configurationProvider.i18n.json index 306f11614c..8184da66a7 100644 --- a/Extension/i18n/rus/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/rus/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "Конфигурация по умолчанию", "select.configuration": "Выберите конфигурацию", "cl.exe.not.available": "Сборку и отладку {0} можно использовать только при запуске VS Code из Командной строки разработчика для VS.", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "Отладчик типа \"{0}\" доступен только в Windows. Используйте тип \"{1}\" на текущей платформе ОС.", "lldb.framework.install.xcode": "Дополнительные сведения", "lldb.framework.not.found": "Не удается найти \"LLDB.framework\" для lldb-mi. Установите XCode или средства командной строки XCode.", diff --git a/Extension/i18n/rus/src/LanguageServer/configurations.i18n.json b/Extension/i18n/rus/src/LanguageServer/configurations.i18n.json index f19d8221f5..bff2b9af4d 100644 --- a/Extension/i18n/rus/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/rus/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "Недопустимые входные данные; не удается разрешить путь компилятора", "path.is.not.a.file": "Путь не является файлом: {0}", "path.is.not.a.directory": "Путь не является каталогом: {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "Не удается найти \"{0}\"." } \ No newline at end of file diff --git a/Extension/i18n/rus/src/LanguageServer/cppBuildTaskProvider.i18n.json b/Extension/i18n/rus/src/LanguageServer/cppBuildTaskProvider.i18n.json index 8d1097e813..48bdef79c4 100644 --- a/Extension/i18n/rus/src/LanguageServer/cppBuildTaskProvider.i18n.json +++ b/Extension/i18n/rus/src/LanguageServer/cppBuildTaskProvider.i18n.json @@ -8,7 +8,7 @@ "compiler_details": "компилятор:", "task_generated_by_debugger": "Задача создана отладчиком.", "starting_build": "Запуск сборки…", - "build_finished_with_error": "Сборка завершена с ошибками.", + "build_finished_with_error": "Сборка завершена с ошибками", "build_finished_with_warnings": "Сборка завершена с предупреждениями.", "build finished successfully": "Сборка завершена." } \ No newline at end of file diff --git a/Extension/i18n/rus/src/nativeStrings.i18n.json b/Extension/i18n/rus/src/nativeStrings.i18n.json index 93e6bf7670..5d7aab3ac5 100644 --- a/Extension/i18n/rus/src/nativeStrings.i18n.json +++ b/Extension/i18n/rus/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "Обнаружено необработанное значение целевого аргумента: {0}", "memory_limit_shutting_down_intellisense": "Завершение работы сервера IntelliSense: {0}. Используемый объем памяти ({1} МБ) превысил ограничение ({2} МБ).", "failed_to_query_for_standard_version": "Не удалось запросить компилятор по пути \"{0}\" для стандартных версий по умолчанию. Запросы для этого компилятора отключены.", - "unrecognized_language_standard_version": "Проба компилятора возвратила нераспознанную версию стандарта языка. Вместо этого будет использоваться последняя поддерживаемая версия." + "unrecognized_language_standard_version": "Проба компилятора возвратила нераспознанную версию стандарта языка. Вместо этого будет использоваться последняя поддерживаемая версия.", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/rus/ui/settings.html.i18n.json b/Extension/i18n/rus/ui/settings.html.i18n.json index 0f9f14bbce..3341131212 100644 --- a/Extension/i18n/rus/ui/settings.html.i18n.json +++ b/Extension/i18n/rus/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Аргументы компилятора для изменения используемых включений или определений, например {0}, {1} и т. д.", "one.argument.per.line": "Один аргумент в строке.", "intellisense.mode": "Режим IntelliSense", - "intellisense.mode.description": "Используемый режим IntelliSense, соответствующий определенному варианту MSVC, gcc или Clang для конкретной архитектуры. Если не задать его или указать значение {0}, расширение выберет вариант по умолчанию для этой платформы. Для Windows по умолчанию используется {1}, для Linux — {2}, а для macOS — {3}. Вы можете переопределить режим {4}, выбрав какой-то конкретный режим IntelliSense.", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "Включить путь", "include.path.description": "Путь включения — это папка, содержащая файлы заголовков (например, {0}), включаемые в исходный файл. Укажите список путей, которые подсистема IntelliSense будет использовать для поиска заголовков. Поиск по этим путям не является рекурсивным. Чтобы использовать рекурсивный поиск, укажите {1}. Например, если указать {2}, то будет выполнен поиск по всем подкаталогам, а если указать {3} — не будет. Если вы работаете в Windows с установленной средой Visual Studio или в параметре {4} указан компилятор, перечислять системные пути включения в этом списке не нужно.", "one.include.path.per.line": "Один путь включения в строке.", diff --git a/Extension/i18n/trk/c_cpp_properties.schema.json.i18n.json b/Extension/i18n/trk/c_cpp_properties.schema.json.i18n.json index f4a7455b6f..c1c5c2e074 100644 --- a/Extension/i18n/trk/c_cpp_properties.schema.json.i18n.json +++ b/Extension/i18n/trk/c_cpp_properties.schema.json.i18n.json @@ -14,7 +14,7 @@ "c_cpp_properties.schema.json.definitions.configurations.items.properties.macFrameworkPath": "Mac çerçevelerinden eklenen üst bilgileri ararken IntelliSense altyapısı tarafından kullanılacak yolların listesi. Yalnızca Mac yapılandırmalarında desteklenir.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.windowsSdkVersion": "Windows üzerinde kullanılacak Windows SDK ekleme yolu sürümü, ör. '10.0.17134.0'.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.defines": "IntelliSense altyapısının dosyaları ayrıştırırken kullanacağı ön işlemci tanımlarının bir listesi. İsteğe bağlı olarak, bir değer ayarlamak için = kullanın, örneğin VERSION=1.", - "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "MSVC, gcc veya Clang'in mimariye özgü bir çeşidine eşlemek için kullanılacak IntelliSense modu. Ayarlanmazsa veya ${default} olarak ayarlanırsa, uzantı ilgili platform için varsayılan ayarı seçer. Windows varsayılan olarak msvc-x64, Linux varsayılan olarak gcc-x64 ve macOS varsayılan olarak clang-x64 kullanır.", + "c_cpp_properties.schema.json.definitions.configurations.items.properties.intelliSenseMode": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to ${default}, the extension will choose the default for that platform. Windows defaults to windows-msvc-x64, Linux defaults to linux-gcc-x64, and macOS defaults to macos-clang-x64.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.forcedInclude": "Çeviri birimindeki herhangi bir içerme dosyasından önce dahil edilmesi gereken dosyaların listesi.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.configurationProvider": "Kaynak dosyalar için IntelliSense yapılandırma bilgilerini sağlayabilecek VS Code uzantısının kimliği.", "c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "yalnızca doğrudan veya dolaylı olarak üst bilgi olarak dahil edilen dosyaları işlemek için true, belirtilen ekleme yolları altındaki tüm dosyaları işlemek için false.", diff --git a/Extension/i18n/trk/package.i18n.json b/Extension/i18n/trk/package.i18n.json index 3658dcb29d..a66427ae46 100644 --- a/Extension/i18n/trk/package.i18n.json +++ b/Extension/i18n/trk/package.i18n.json @@ -165,6 +165,7 @@ "c_cpp.configuration.enhancedColorization.description": "Etkinleştirilirse, kod IntelliSense'e göre renklendirilir. Bu ayar yalnızca intelliSenseEngine \"Default\" olarak ayarlandıysa geçerlidir.", "c_cpp.configuration.codeFolding.description": "Etkinleştirilirse, kod katlama aralıkları dil sunucusu tarafından sağlanır.", "c_cpp.configuration.vcpkg.enabled.markdownDescription": "[vcpkg bağımlılık yöneticisi](https://aka.ms/vcpkg/) için tümleştirme hizmetlerini etkinleştirin.", + "c_cpp.configuration.addNodeAddonIncludePaths.description": "Add include paths from nan and node-addon-api when they're dependencies.", "c_cpp.configuration.renameRequiresIdentifier.description": "True ise, 'Sembolü Yeniden Adlandır' işlemi için geçerli bir C/C++ tanımlayıcısı gerekir.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.description": "True ise, hata ayıklayıcı kabuk komut değiştirme eski kesme işaretini (`) kullanır.", "c_cpp.contributes.views.cppReferencesView.title": "C/C++: Diğer başvuru sonuçları", @@ -217,7 +218,12 @@ "c_cpp.debuggers.serverLaunchTimeout.description": "Hata ayıklayıcının debugServer başlangıcını beklemesi için geçen, milisaniye cinsinden isteğe bağlı süre. Varsayılan değer: 10000.", "c_cpp.debuggers.coreDumpPath.description": "Belirtilen program için çekirdek döküm dosyasının isteğe bağlı tam yolu. Varsayılan olarak şu değeri alır: null.", "c_cpp.debuggers.cppdbg.externalConsole.description": "Değer true ise, hata ayıklanan işlem için bir konsol başlatılır. Değer false ise, Linux ve Windows'ta Tümleşik Konsolda görünür.", - "c_cpp.debuggers.cppvsdbg.externalConsole.description": "Değer true ise, hata ayıklanan işlem için bir konsol başlatılır. Değer false ise konsol başlatılmaz.", + "c_cpp.debuggers.cppvsdbg.externalConsole.description": "[Deprecated by 'console'] If true, a console is launched for the debuggee. If false, no console is launched.", + "c_cpp.debuggers.cppvsdbg.console.description": "Where to launch the debug target. Defaults to 'internalConsole' if not defined.", + "c_cpp.debuggers.cppvsdbg.console.internalConsole.description": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:'std::cin' or 'scanf')", + "c_cpp.debuggers.cppvsdbg.console.integratedTerminal.description": "VS Code'un tümleşik terminali", + "c_cpp.debuggers.cppvsdbg.console.externalTerminal.description": "Console applications will be launched in an external terminal window. The window will be reused in relaunch scenarios, and will not automatically disappear when the application exits.", + "c_cpp.debuggers.cppvsdbg.console.newExternalWindow.description": "Console applications will be launched in their own external console window which will end when the application stops. Non-console applications will run without a terminal, and stdout/stderr will be ignored.", "c_cpp.debuggers.avoidWindowsConsoleRedirection.description": "Değer true ise, Tümleşik Terminal desteği için gerekli olan hata ayıklanan işlem konsol yeniden yönlendirmesini devre dışı bırakır.", "c_cpp.debuggers.sourceFileMap.description": "Hata ayıklama altyapısına, isteğe bağlı kaynak dosya eşlemeleri geçirildi. Örnek: '{ \"/özgün/kaynak/yolu\":\"/geçerli/kaynak/yolu\" }'", "c_cpp.debuggers.processId.anyOf.description": "Hata ayıklayıcının ekleneceği isteğe bağlı işlem kimliği. Eklenilecek yerel çalışan işlemlerin bir listesini almak için \"${command:pickProcess}\" kullanın. Bazı platformların bir işleme ekleme yapmak için yönetici ayrıcalıkları gerektirdiğini unutmayın.", diff --git a/Extension/i18n/trk/src/Debugger/configurationProvider.i18n.json b/Extension/i18n/trk/src/Debugger/configurationProvider.i18n.json index 2c234225a0..8bf2717e2d 100644 --- a/Extension/i18n/trk/src/Debugger/configurationProvider.i18n.json +++ b/Extension/i18n/trk/src/Debugger/configurationProvider.i18n.json @@ -7,6 +7,8 @@ "default.configuration.menuitem": "Varsayılan Yapılandırma", "select.configuration": "Yapılandırma seçin", "cl.exe.not.available": "{0} derlemesi ve hata ayıklama yalnızca VS Code, VS için Geliştirici Komut İstemi'nden çalıştırıldığında kullanılabilir.", + "miDebuggerPath.not.available": "miDebuggerPath does not exist: {0}. Has a debugger been installed?", + "debugger.deprecated.config": "The key '{0}' is deprecated. Please use '{1}' instead.", "debugger.not.available": "'{0}' türündeki hata ayıklayıcısı yalnızca Windows'da kullanılabilir. Geçerli işletim sistemi platformunda '{1}' türünü kullanın.", "lldb.framework.install.xcode": "Daha Fazla Bilgi", "lldb.framework.not.found": "lldb-mi için 'LLDB.framework' bulunamıyor. Lütfen XCode'u veya XCode Komut Satırı Araçları'nı yükleyin.", diff --git a/Extension/i18n/trk/src/LanguageServer/configurations.i18n.json b/Extension/i18n/trk/src/LanguageServer/configurations.i18n.json index f240b98ac4..a11588ae3c 100644 --- a/Extension/i18n/trk/src/LanguageServer/configurations.i18n.json +++ b/Extension/i18n/trk/src/LanguageServer/configurations.i18n.json @@ -15,5 +15,6 @@ "cannot.resolve.compiler.path": "Giriş geçersiz, derleyici yolu çözümlenemiyor", "path.is.not.a.file": "Yol bir dosya değil: {0}", "path.is.not.a.directory": "Yol bir dizin değil: {0}", + "duplicate.name": "{0} is a duplicate. The configuration name should be unique.", "cannot.find2": "\"{0}\" bulunamıyor." } \ No newline at end of file diff --git a/Extension/i18n/trk/src/nativeStrings.i18n.json b/Extension/i18n/trk/src/nativeStrings.i18n.json index 161969b96f..43e9c6501f 100644 --- a/Extension/i18n/trk/src/nativeStrings.i18n.json +++ b/Extension/i18n/trk/src/nativeStrings.i18n.json @@ -205,5 +205,6 @@ "unhandled_target_arg_detected": "İşlenmemiş hedef bağımsız değişken değeri algılandı: {0}", "memory_limit_shutting_down_intellisense": "IntelliSense sunucusu kapatılıyor: {0}. Bellek kullanımı {1} MB olduğundan {2} MB sınırını aştı.", "failed_to_query_for_standard_version": "Varsayılan standart sürümler için \"{0}\" yolundaki derleyici sorgulanamadı. Derleyici sorgulaması bu derleyici için devre dışı bırakıldı.", - "unrecognized_language_standard_version": "Derleyici sorgusu, tanınmayan bir dil standardı sürümü döndürdü. Bunun yerine desteklenen en güncel sürüm kullanılacak." + "unrecognized_language_standard_version": "Derleyici sorgusu, tanınmayan bir dil standardı sürümü döndürdü. Bunun yerine desteklenen en güncel sürüm kullanılacak.", + "intellisense_process_crash_detected": "IntelliSense process crash detected." } \ No newline at end of file diff --git a/Extension/i18n/trk/ui/settings.html.i18n.json b/Extension/i18n/trk/ui/settings.html.i18n.json index e65681ede4..1bbf1902f9 100644 --- a/Extension/i18n/trk/ui/settings.html.i18n.json +++ b/Extension/i18n/trk/ui/settings.html.i18n.json @@ -30,7 +30,7 @@ "compiler.arguments": "Kullanılan eklemeleri veya tanımları değiştirmek için derleyici bağımsız değişkenleri. Örneğin {0}, {1}, vb.", "one.argument.per.line": "Satır başına bir bağımsız değişken.", "intellisense.mode": "IntelliSense modu", - "intellisense.mode.description": "MSVC, gcc veya Clang'in mimariye özgü bir çeşidine eşlemek için kullanılacak IntelliSense modu. Ayarlanmazsa veya {0} olarak ayarlanırsa, uzantı ilgili platform için varsayılan ayarı seçer. Windows varsayılan olarak {1}, Linux varsayılan olarak {2} ve macOS varsayılan olarak {3} kullanır. {4} modunu geçersiz kılmak için belirli bir IntelliSense modunu seçin.", + "intellisense.mode.description": "The IntelliSense mode to use that maps to a platform and architecture variant of MSVC, gcc, or Clang. If not set or if set to {0}, the extension will choose the default for that platform. Windows defaults to {1}, Linux defaults to {2}, and macOS defaults to {3}. Select a specific IntelliSense mode to override the {4} mode.", "include.path": "Yol ekle", "include.path.description": "Ekleme yolu, kaynak dosyasına dahil edilen üst bilgi dosyalarını ({0} gibi) içeren bir klasördür. IntelliSense altyapısının eklenen üst bilgi dosyalarını ararken kullanacağı yolların bir listesini belirtin. Bu yollarda arama özyinelemeli değildir. Özyinelemeli aramayı göstermek için {1} belirtin. Örneğin, {2} tüm alt dizinleri ararken {3} aramaz. Visual Studio yüklü Windows kullanıyorsanız veya {4} ayarında bir derleyici belirtilmişse bu listede sistem ekleme yollarının listelenmesi gerekmez.", "one.include.path.per.line": "Satır başına bir ekleme yolu.",