diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 7bba868497..8891897fa2 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,117 +1,65 @@ # C/C++ for Visual Studio Code Changelog -## Version 1.22.8: October 8, 2024 +## Version 1.22.10: October 21, 2024 ### Bug Fixes -* Fix an issue with the 'Add #include' code action incorrectly using a relative path for a system include. [#12010](https://github.com/microsoft/vscode-cpptools/issues/12010) -* Fix an issue with lingering incorrect squiggles after an edit. [#12175](https://github.com/microsoft/vscode-cpptools/issues/12175) -* Fix an issue with clang-format/tidy version checks for some builds. [#12806](https://github.com/microsoft/vscode-cpptools/issues/12806) -* Revert/postpone changes related to recursive includes handling due to issues with some projects. -* Fix a memory leak. - -## Version 1.22.7: September 30, 2024 -### Enhancement -* The .vsix and .js files are now signed. [#12725](https://github.com/microsoft/vscode-cpptools/issues/12725), [#12744](https://github.com/microsoft/vscode-cpptools/issues/12744) - -### Bug Fixes -* Fix some Copilot-related issues. [PR #12773](https://github.com/microsoft/vscode-cpptools/pull/12773) -* Fix an issue preventing use of a full command line in `compilerPath`. [PR #12774](https://github.com/microsoft/vscode-cpptools/pull/12774) -* Fix an infinite loop on shutdown after changing the selected settings. -* Fix a crash (from `insert_lines`). +* Fix the 'Extract to Function' feature not working. +* Fix the 'Go to Next/Prev Preprocessor Conditional' feature not working. -## Version 1.22.6: September 25, 2024 -### Bug Fixes -* Fix an issue with usage of `#cpp` with Copilot chat. [vscode-copilot-release#1634](https://github.com/microsoft/vscode-copilot-release/issues/1634) -* Fix a performance regression with tag parsing. -* Fix a document buffer issue related to edits within files containing multi-byte characters. - -## Version 1.22.5: September 24, 2024 -### Enhancement -* Add the database path to the `C/C++: Log Diagnostics` output. - -### Bug Fixes -* Fix some synchronization and crash issues with `handle_edits`. [#12747](https://github.com/microsoft/vscode-cpptools/issues/12747) -* Fix usage of `#cpp` with Copilot chat. [PR #12755](https://github.com/microsoft/vscode-cpptools/pull/12755) -* Fix some document buffer issues. - -## Version 1.22.4: September 19, 2024 -### Enhancements -* Performance improvements related to how custom configurations are processed. [#12632](https://github.com/microsoft/vscode-cpptools/issues/12632) -* Performance improvements related to LSP request processing. - -### Bug Fixes -* Fix an issue with missing database symbols after a Rename operation. [#12480](https://github.com/microsoft/vscode-cpptools/issues/12480) -* Work around IntelliSense issues with clang 18 due to `size_t` not being defined. [#12618](https://github.com/microsoft/vscode-cpptools/issues/12618) -* Fix some crashes with recursive includes. [#12643](https://github.com/microsoft/vscode-cpptools/issues/12643) -* Possibly fix a crash in `find_existing_intellisense_client`. [#12666](https://github.com/microsoft/vscode-cpptools/issues/12666) -* Fix issues applying `files.exclude` settings when `C_Cpp.caseSensitiveFileSupport` is enabled. [#12672](https://github.com/microsoft/vscode-cpptools/issues/12672) -* Fix an issue with duplicate tag parsing occurring after a Rename operation. [#12728](https://github.com/microsoft/vscode-cpptools/issues/12728) -* Fix an issue causing unnecessary TU updates for files opened during a Rename operation, when `"files.refactoring.autoSave": false` is used. - -## Version 1.22.3: September 12, 2024 -### Enhancement -* Add support for providing additional context information to Copilot Chat. [PR #12685](https://github.com/microsoft/vscode-cpptools/pull/12685) - * Currently, it requires `"C_Cpp.experimentalFeatures": "enabled"` and typing `#cpp` in the chat. - -### Bug Fixes -* Fix the compiler selection control not keeping the list in sync with contents of the textbox. [#7427](https://github.com/microsoft/vscode-cpptools/issues/7427) -* Fix a string localization issue. [#7824](https://github.com/microsoft/vscode-cpptools/issues/7824) -* Stop logging duplicate compiler path messages. [#12445](https://github.com/microsoft/vscode-cpptools/issues/12445) -* Fix some crashes with recursive includes. [#12643](https://github.com/microsoft/vscode-cpptools/issues/12643) -* Fix a rare crash on macOS related to `get_memory_usage`. [#12667](https://github.com/microsoft/vscode-cpptools/issues/12667) -* Fix an issue with 'Extract to Function' formatting. [#12677](https://github.com/microsoft/vscode-cpptools/issues/12677) -* Fix a potential deadlock in `process_paths`. [#12690](https://github.com/microsoft/vscode-cpptools/issues/12690) - -## Version 1.22.2: August 29, 2024 -### Enhancement -* Remove the `C_Cpp.intelliSenseEngineFallback` setting. [#12596](https://github.com/microsoft/vscode-cpptools/issues/12596) - -### Bug Fix -* Fix a deadlock when doing "Find All References" and a file is deleted. [#12656](https://github.com/microsoft/vscode-cpptools/issues/12656) - -## Version 1.22.1: August 29, 2024 -### Enhancement -* Add "Additional Tracked Settings" to `C/C++: Log Diagnostics` output. [PR #12635](https://github.com/microsoft/vscode-cpptools/pull/12635) - -### Bug Fixes -* Fix hover over static constexpr variables sometimes not working. [#12284](https://github.com/microsoft/vscode-cpptools/issues/12284) -* Fix completion not giving results in several scenarios. [#12412](https://github.com/microsoft/vscode-cpptools/issues/12412) -* Fix include completion showing results for deleted folders with recursive includes. [#12636](https://github.com/microsoft/vscode-cpptools/issues/12636) -* Fix the `/FU` flag not working for C++/CLI . [#12641](https://github.com/microsoft/vscode-cpptools/issues/12641) -* Fix some crashes with recursive includes. [#12643](https://github.com/microsoft/vscode-cpptools/issues/12643) -* Fix IntelliSense not working on Windows when `C_Cpp.caseSensitiveFileSupport` is `enabled`. [#12648](https://github.com/microsoft/vscode-cpptools/issues/12648) -* Changes that might fix a crash with `translate_encoding_to_utf8`. [#12652](https://github.com/microsoft/vscode-cpptools/issues/12652) -* Fix a random crash during IntelliSense creation. - -## Version 1.22.0: August 26, 2024 +## Version 1.22.9: October 10, 2024 ### Performance Improvements -* Switch to an alternative implementation of recursive includes (that sends all the paths instead of only the "used" paths). [#11780](https://github.com/microsoft/vscode-cpptools/issues/11780) - - Performance improvement: Configuration is no longer blocked on tag parsing of all dependent headers. - - Configuration change: Recursive include paths now take precedence over system include paths (similar to compiler behavior and non-recursive includes). [#11485](https://github.com/microsoft/vscode-cpptools/issues/11485) * Initialization performance improvements. [#12030](https://github.com/microsoft/vscode-cpptools/issues/12030) - Some processing is parallelized and started earlier (populating the filename cache, discovering files). [#11954](https://github.com/microsoft/vscode-cpptools/issues/11954), [#12169](https://github.com/microsoft/vscode-cpptools/issues/12169) - Some compiler configuration queries are cached in the database, and processing of compile_commands.json was improved. [#10029](https://github.com/microsoft/vscode-cpptools/issues/10029), [#12078](https://github.com/microsoft/vscode-cpptools/issues/12078) +* Performance improvements related to how custom configurations are processed. [#9003](https://github.com/microsoft/vscode-cpptools/issues/9003), [#12632](https://github.com/microsoft/vscode-cpptools/issues/12632) * Improve the implementation of file buffers to reduce memory usage. +* Performance improvements related to LSP request processing. ### Enhancements * Add modified `C_Cpp` settings to the `C/C++: Log Diagnostics` output. [#11700](https://github.com/microsoft/vscode-cpptools/issues/11700) -* Change the default C/C++ `"editor.stickyScroll.defaultModel"` to `"foldingProviderModel"`. [#12483](https://github.com/microsoft/vscode-cpptools/issues/12483) * Add better validation for settings. [#12371](https://github.com/microsoft/vscode-cpptools/issues/12371) +* Change the default C/C++ `"editor.stickyScroll.defaultModel"` to `"foldingProviderModel"`. [#12483](https://github.com/microsoft/vscode-cpptools/issues/12483) +* Remove the `C_Cpp.intelliSenseEngineFallback` setting. [#12596](https://github.com/microsoft/vscode-cpptools/issues/12596) +* Enable `C/C++: Log Diagnostics` without a C/C++ file being active. [#12634](https://github.com/microsoft/vscode-cpptools/issues/12634) +* Add "Additional Tracked Settings" to the `C/C++: Log Diagnostics` output. [PR #12635](https://github.com/microsoft/vscode-cpptools/pull/12635) +* Add support for providing additional context information to Copilot Chat. [PR #12685](https://github.com/microsoft/vscode-cpptools/pull/12685) + * Currently, it requires `"C_Cpp.experimentalFeatures": "enabled"` and typing `#cpp` in the chat. +* The .vsix and .js files are now signed. [#12725](https://github.com/microsoft/vscode-cpptools/issues/12725), [#12744](https://github.com/microsoft/vscode-cpptools/issues/12744) +* Add the database path to the `C/C++: Log Diagnostics` output. * Various IntelliSense parsing updates/fixes. ### Bug Fixes +* Fix the compiler selection control not keeping the list in sync with the contents of the textbox. [#7427](https://github.com/microsoft/vscode-cpptools/issues/7427) +* Fix a string localization issue. [#7824](https://github.com/microsoft/vscode-cpptools/issues/7824) +* Fix an issue with the 'Add #include' code action incorrectly using a relative path for a system include. [#12010](https://github.com/microsoft/vscode-cpptools/issues/12010) +* Fix an issue with lingering IntelliSense squiggles after an edit. [#12175](https://github.com/microsoft/vscode-cpptools/issues/12175) +* Fix hover over static constexpr variables sometimes not working. [#12284](https://github.com/microsoft/vscode-cpptools/issues/12284) +* Fix completion not giving results in several scenarios. [#12412](https://github.com/microsoft/vscode-cpptools/issues/12412) * Stop logging duplicate compiler path messages. [#12445](https://github.com/microsoft/vscode-cpptools/issues/12445) * Fix an issue where a file is incorrectly processed as C instead of C++. [#12466](https://github.com/microsoft/vscode-cpptools/issues/12466) +* Fix an issue with missing database symbols after a Rename operation. [#12480](https://github.com/microsoft/vscode-cpptools/issues/12480) * Fix include path ordering being incorrect if there is a duplicate. [#12525](https://github.com/microsoft/vscode-cpptools/issues/12525) * Fix a WebAssembly "Out of Memory" error. [#12529](https://github.com/microsoft/vscode-cpptools/issues/12529) * Fix an error message not being shown if the connection failed with remote attach debugging. [#12547](https://github.com/microsoft/vscode-cpptools/issues/12547) * Thank you for the contribution. [@MrStanislav0 (Stanislav)](https://github.com/MrStanislav0) * Fix `-I` not being used if `-iquote` is also used for the same path. [#12551](https://github.com/microsoft/vscode-cpptools/issues/12551) * Fix issues with relative paths on `nvcc` (CUDA) command lines not being handled correctly. [#12553](https://github.com/microsoft/vscode-cpptools/issues/12553) -* Fix a random crash when a child process is created. [#12585](https://github.com/microsoft/vscode-cpptools/issues/12585) * Fix a crash on shutdown on macOS with a verbose logging level. [#12567](https://github.com/microsoft/vscode-cpptools/issues/12567) +* Fix a random crash when a child process is created. [#12585](https://github.com/microsoft/vscode-cpptools/issues/12585) +* Work around IntelliSense issues with clang 18 due to `size_t` not being defined. [#12618](https://github.com/microsoft/vscode-cpptools/issues/12618) +* Fix the `/FU` flag not working for C++/CLI. [#12641](https://github.com/microsoft/vscode-cpptools/issues/12641) +* Fix a crash in `find_existing_intellisense_client`. [#12666](https://github.com/microsoft/vscode-cpptools/issues/12666) +* Fix a rare crash on macOS related to `get_memory_usage`. [#12667](https://github.com/microsoft/vscode-cpptools/issues/12667) +* Fix an issue with 'Extract to Function' formatting. [#12677](https://github.com/microsoft/vscode-cpptools/issues/12677) +* Fix an issue with duplicate tag parsing occurring after a Rename operation. [#12728](https://github.com/microsoft/vscode-cpptools/issues/12728) +* Fix an issue preventing use of a full command line in `compilerPath`. [PR #12774](https://github.com/microsoft/vscode-cpptools/pull/12774) +* Fix an issue with clang-format/tidy version checks for some builds. [#12806](https://github.com/microsoft/vscode-cpptools/issues/12806) +* Fix an issue causing unnecessary TU updates for files opened during a Rename operation, when `"files.refactoring.autoSave": false` is used. * Fix some issues with recursive includes handling of symbolic links, multi-root, exclusion changes, and file/folder deletion. * Fix unnecessary IntelliSense resetting when a new file or folder was created. +* Fix an infinite loop on shutdown after changing the selected settings. * Fix accumulation of stale signature help and completion requests. +* Fix handling of the `compiler-binddir` compiler argument. +* Fix a random crash during IntelliSense creation. * Fix some bugs with include completion. ## Version 1.21.6: August 5, 2024 diff --git a/Extension/bin/messages/cs/messages.json b/Extension/bin/messages/cs/messages.json index db0402333f..f66e374c69 100644 --- a/Extension/bin/messages/cs/messages.json +++ b/Extension/bin/messages/cs/messages.json @@ -3,7 +3,7 @@ "poslední řádek souboru končí bez nového řádku", "poslední řádek souboru končí zpětným lomítkem", "Soubor #include %sq obsahuje sám sebe.", - "nedostatek paměti", + "Nedostatek paměti. Zvažte povolení 64bitového modulu IntelliSense a zvýšení limitu paměti IntelliSense v nastaveních.", null, "nezavřený komentář na konci souboru", "Nerozpoznaný token", @@ -1505,7 +1505,7 @@ "Chyba příkazového řádku", "vnitřní chyba", "Vnitřní chyba", - "-D", + null, null, "Došlo k dosažení limitu chyb.", "Smyčka interní chyby", @@ -1524,7 +1524,7 @@ "převodní jazyk (7)", "převodní jazyk (8)", "převodní jazyk (9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "neplatný znak pro literál char16_t", null, "Nerozpoznaná konvence volání %s, musí být jednou z:", - "%s", + null, null, null, "Nadřízený typ typu výčtu musí být integrální typ.", @@ -2955,7 +2955,7 @@ "Specifikátory omezení destruktoru musejí pokrývat sjednocení specifikátorů omezení všech konstruktorů.", "error", "Pro nostdlib se vyžaduje aspoň jedno nucené použití.", - "error-type", + "typ chyby", null, null, null, diff --git a/Extension/bin/messages/de/messages.json b/Extension/bin/messages/de/messages.json index 433ce5dc24..ac1cb6f091 100644 --- a/Extension/bin/messages/de/messages.json +++ b/Extension/bin/messages/de/messages.json @@ -3,7 +3,7 @@ "Die letzte Zeile von Dateien endet ohne Zeilenvorschub.", "Die letzte Zeile von Dateien endet mit einem umgekehrten Schrägstrich.", "Die #include-Datei \"%sq\" schließt sich selbst ein.", - "Nicht genügend Arbeitsspeicher.", + "Es ist nicht genügend Arbeitsspeicher vorhanden. Erwägen Sie, die 64-Bit-IntelliSense-Engine zu aktivieren und das IntelliSense-Arbeitsspeicherlimit in den Einstellungen zu erhöhen.", null, "Nicht geschlossener Kommentar am Ende der Datei", "Unbekanntes Token", @@ -1505,7 +1505,7 @@ "Befehlszeilenfehler", "Interner Fehler.", "Interner Fehler.", - "-D", + null, null, "Fehlerlimit erreicht.", "Interne Fehlerschleife", @@ -1524,7 +1524,7 @@ "Zwischensprache (7)", "Zwischensprache (8)", "Zwischensprache (9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "Ungültiges Zeichen für char16_t-Literal.", null, "Unbekannte Aufrufkonvention \"%s\", muss eine der folgenden Optionen sein:", - "%s", + null, null, null, "Der zugrunde liegende Typ des Enumerationstyps muss ein integraler Typ sein.", diff --git a/Extension/bin/messages/es/messages.json b/Extension/bin/messages/es/messages.json index 6465299d8f..c77eb7264e 100644 --- a/Extension/bin/messages/es/messages.json +++ b/Extension/bin/messages/es/messages.json @@ -3,7 +3,7 @@ "la última línea del archivo termina sin una nueva línea", "la última línea del archivo termina con una barra diagonal inversa", "el archivo #include %sq se incluye a sí mismo", - "memoria insuficiente", + "Memoria insuficiente. Considere la posibilidad de habilitar el motor de IntelliSense de 64 bits y aumentar el límite de memoria de IntelliSense en la configuración.", null, "comentario no cerrado al final del archivo", "token no reconocido", @@ -1505,7 +1505,7 @@ "Error de la línea de comandos", "Error interno", "Error interno", - "-D", + null, null, "Se ha alcanzado el límite de error.", "Bucle de error interno", @@ -1524,7 +1524,7 @@ "lenguaje intermedio (7)", "lenguaje intermedio (8)", "lenguaje intermedio (9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "carácter no válido para el literal char16_t", null, "convención de llamada %s no reconocida, debe ser una de las siguientes:", - "%s", + null, null, null, "el tipo subyacente del tipo de enumeración debe ser un tipo entero", @@ -2955,7 +2955,7 @@ "los especificadores de restricción del destructor deben cubrir la unión de los especificadores de restricción de todos los constructores", "error", "nostdlib requiere al menos un uso forzado", - "error-type", + "tipo de error", null, null, null, diff --git a/Extension/bin/messages/fr/messages.json b/Extension/bin/messages/fr/messages.json index 7a32a0c3c3..62b13147e8 100644 --- a/Extension/bin/messages/fr/messages.json +++ b/Extension/bin/messages/fr/messages.json @@ -3,7 +3,7 @@ "la dernière ligne du fichier se termine sans saut de ligne", "la dernière ligne du fichier se termine par une barre oblique inverse", "le fichier #include %sq s'inclut lui-même", - "Mémoire insuffisante", + "Plus de mémoire. Envisagez d’activer le moteur IntelliSense 64 bits et d’augmenter la limite de mémoire IntelliSense dans les paramètres.", null, "commentaire non fermé à la fin du fichier", "jeton non reconnu", @@ -1505,7 +1505,7 @@ "Erreur de ligne de commande", "erreur interne", "Erreur interne", - "-D", + null, null, "Limitation d'erreur atteinte.", "Boucle d'erreur interne", @@ -1524,7 +1524,7 @@ "langage intermédiaire (7)", "langage intermédiaire (8)", "langage intermédiaire (9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "caractère non valide pour le littéral char16_t", null, "convention d'appel inconnue %s, doit être l'une des suivantes :", - "%s", + null, null, null, "le type sous-jacent du type enum doit être un type intégral", diff --git a/Extension/bin/messages/it/messages.json b/Extension/bin/messages/it/messages.json index 29646d72cc..a5363ac34f 100644 --- a/Extension/bin/messages/it/messages.json +++ b/Extension/bin/messages/it/messages.json @@ -3,7 +3,7 @@ "l'ultima riga del file termina senza un carattere di nuova riga", "l'ultima riga del file termina con una barra rovesciata", "il file #include %sq include se stesso", - "memoria insufficiente", + "Memoria insufficiente. Provare ad abilitare il motore IntelliSense a 64 bit e ad aumentare il limite di memoria IntelliSense nelle impostazioni.", null, "commento non chiuso alla fine del file", "token non riconosciuto", @@ -1505,7 +1505,7 @@ "Errore nella riga di comando", "errore interno", "Errore interno", - "-D", + null, null, "Limite di errore raggiunto.", "Ciclo di errore interno", @@ -1524,7 +1524,7 @@ "linguaggio intermedio (7)", "linguaggio intermedio (8)", "linguaggio intermedio (9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "carattere non valido per il valore letterale char16_t", null, "convenzione di chiamata %s non riconosciuta. Deve essere una delle seguenti:", - "%s", + null, null, null, "il tipo sottostante del tipo enumerazione deve essere un tipo integrale", diff --git a/Extension/bin/messages/ja/messages.json b/Extension/bin/messages/ja/messages.json index c4df6c5f8c..ed0f35076d 100644 --- a/Extension/bin/messages/ja/messages.json +++ b/Extension/bin/messages/ja/messages.json @@ -3,7 +3,7 @@ "ファイルの最後の行が改行なしで終わっています", "ファイルの最後の行が円記号 (\\) で終わっています", "#include ファイル %sq にそれ自体が含まれています", - "メモリが不足しています", + "メモリ不足。64 ビットの IntelliSense エンジンを有効にし、設定で IntelliSense のメモリ制限を増やすことを検討してください。", null, "ファイルの末尾でコメントが閉じられていません", "認識されないトークンです", @@ -1505,7 +1505,7 @@ "コマンド ライン エラー", "内部エラー", "内部エラー", - "-D", + null, null, "エラーの上限に達しました。", "内部エラー ループ", @@ -1524,7 +1524,7 @@ "中間言語 (7)", "中間言語 (8)", "中間言語 (9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "char16_t リテラルには無効な文字です", null, "呼び出し規約 %s は認識されないため、次のいずれかを使用する必要があります:", - "%s", + null, null, null, "列挙型の基になる型は整数型である必要があります", diff --git a/Extension/bin/messages/ko/messages.json b/Extension/bin/messages/ko/messages.json index d357af164a..594a08532c 100644 --- a/Extension/bin/messages/ko/messages.json +++ b/Extension/bin/messages/ko/messages.json @@ -3,7 +3,7 @@ "파일의 마지막 줄이 줄 바꿈 없이 끝납니다.", "파일의 마지막 줄이 백슬래시로 끝납니다.", "#include 파일 %sq에 해당 파일 자체가 포함되어 있습니다.", - "메모리가 부족합니다.", + "메모리가 부족합니다. 64비트 IntelliSense 엔진을 사용하도록 설정하고 설정에서 IntelliSense 메모리 제한을 늘리는 것이 좋습니다.", null, "주석이 파일 끝에서 닫히지 않았습니다.", "인식할 수 없는 토큰입니다.", @@ -1505,7 +1505,7 @@ "명령줄 오류", "내부 오류", "내부 오류", - "-D", + null, null, "오류 한계에 도달했습니다.", "내부 오류 루프", @@ -1524,7 +1524,7 @@ "중간 언어 (7)", "중간 언어 (8)", "중간 언어 (9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "char16_t 리터럴에 대한 잘못된 문자", null, "인식할 수 없는 호출 규칙 %s, 다음 중 하나여야 함:", - "%s", + null, null, null, "열거형 형식의 내부 형식은 정수 계열 형식이어야 합니다.", @@ -2955,7 +2955,7 @@ "소멸자의 제한 지정자는 모든 생성자에 대한 제한 지정자의 공용 구조체를 지정해야 합니다.", "오류", "nostdlib에는 한 번 이상의 강제 사용이 필요합니다.", - "error-type", + "오류 유형", null, null, null, diff --git a/Extension/bin/messages/pl/messages.json b/Extension/bin/messages/pl/messages.json index 0dac450c85..9f88ee2bd8 100644 --- a/Extension/bin/messages/pl/messages.json +++ b/Extension/bin/messages/pl/messages.json @@ -3,7 +3,7 @@ "ostatni wiersz w pliku nie jest zakończony znakiem nowego wiersza", "ostatni wiersz w pliku jest zakończony ukośnikiem", "dyrektywa #include dla pliku %sq powoduje, że plik dołącza siebie", - "brak pamięci", + "Za mało pamięci. Rozważ włączenie 64-bitowego aparatu usługi IntelliSense i zwiększenie limitu pamięci funkcji IntelliSense w ustawieniach.", null, "niezamknięty komentarz na końcu pliku", "nierozpoznany token", @@ -1505,7 +1505,7 @@ "Błąd wiersza polecenia", "błąd wewnętrzny", "Błąd wewnętrzny", - "-D", + null, null, "Osiągnięto limit błędów.", "Pętla błędu wewnętrznego", @@ -1524,7 +1524,7 @@ "język pośredni (7)", "język pośredni (8)", "język pośredni (9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "nieprawidłowy znak dla literału char16_t", null, "nierozpoznana konwencja wywoływania %s. Musi ona być jedną z następujących:", - "%s", + null, null, null, "typ bazowy typu wyliczenia musi być typem całkowitoliczbowym", @@ -2955,7 +2955,7 @@ "specyfikatory ograniczenia destruktora muszą obejmować unię specyfikatorów ograniczenia na wszystkich konstruktorach", "błąd", "element nostdlib wymaga co najmniej jednego wymuszonego użycia", - "error-type", + "typ błędu", null, null, null, diff --git a/Extension/bin/messages/pt-br/messages.json b/Extension/bin/messages/pt-br/messages.json index d0749eccc7..2f1a4447f1 100644 --- a/Extension/bin/messages/pt-br/messages.json +++ b/Extension/bin/messages/pt-br/messages.json @@ -3,7 +3,7 @@ "última linha do arquivo termina sem uma nova linha", "última linha do arquivo termina sem uma barra invertida", "#include arquivo %sq inclui a si mesmo", - "memória insuficiente", + "Memória insuficiente. Considere habilitar o mecanismo IntelliSense de 64 bits e aumentar o limite de memória do IntelliSense nas configurações.", null, "comentário anexado ao fim do arquivo", "token não reconhecido", @@ -1505,7 +1505,7 @@ "Erro de linha de comando", "erro interno", "Erro interno", - "-D", + null, null, "Limite de erro atingido.", "Laço de erro interno", @@ -1524,7 +1524,7 @@ "linguagem intermediária (7)", "linguagem intermediária (8)", "linguagem intermediária (9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "caractere inválido para literal char16_t", null, "convenção de chamadas não reconhecida %s, deve ser um dos:", - "%s", + null, null, null, "o tipo subjacente da enumeração deve ser integral", diff --git a/Extension/bin/messages/ru/messages.json b/Extension/bin/messages/ru/messages.json index ff6f4454d2..263a85452f 100644 --- a/Extension/bin/messages/ru/messages.json +++ b/Extension/bin/messages/ru/messages.json @@ -3,7 +3,7 @@ "последняя строка файла завершается без знака новой строки", "последняя строка файла завершается знаком обратной косой черты", "включаемый файл %sq включает самого себя", - "недостаточно памяти", + "Не хватает памяти. Рассмотрите возможность включения 64-разрядной подсистемы IntelliSense и увеличения лимита памяти IntelliSense в настройках.", null, "незакрытый комментарий в конце файла", "нераспознанная лексема", @@ -1505,7 +1505,7 @@ "Ошибка в командной строке", "внутренняя ошибка", "Внутренняя ошибка", - "-D", + null, null, "Достигнут предел ошибок.", "Внутренний цикл ошибки", @@ -1524,7 +1524,7 @@ "промежуточный язык (7)", "промежуточный язык (8)", "промежуточный язык (9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "недопустимый знак для литерала char16_t", null, "нераспознанное соглашение о вызовах %s; необходимо использовать одно из следующих:", - "%s", + null, null, null, "базовый тип для перечисляемого типа должен быть целочисленным", diff --git a/Extension/bin/messages/tr/messages.json b/Extension/bin/messages/tr/messages.json index a84368e922..8fd0f7a7fb 100644 --- a/Extension/bin/messages/tr/messages.json +++ b/Extension/bin/messages/tr/messages.json @@ -3,7 +3,7 @@ "dosyanın son satırında yeni satır yok", "dosyasının son satırı ters eğik çizgi ile biter", "#include file %sq kendisini içerir", - "Bellek yetersiz", + "Yetersiz bellek. Ayarlarda 64 bit IntelliSense altyapısını etkinleştirmeyi ve IntelliSense bellek sınırını artırmayı düşünün.", null, "dosya sonunda açıklama kapatılmamış", "tanınmayan belirteç", @@ -1505,7 +1505,7 @@ "Komut satırı hatası", "iç hata", "İç hata", - "-D", + null, null, "Hata sınırına ulaşıldı.", "İç hata döngüsü", @@ -1524,7 +1524,7 @@ "ara dil (7)", "ara dil (8)", "ara dil (9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "char16_t sabit değeri için geçersiz karakter", null, "çağrı kuralı %s tanınmıyor, şunlardan biri olmalıdır:", - "%s", + null, null, null, "Sabit listesi türünün temel alınan türü bir tam sayı türü olmalıdır", @@ -2955,7 +2955,7 @@ "yıkıcının kısıtlama tanımlayıcıları, tüm oluşturuculardaki kısıtlama tanımlayıcılarının birleşimini kapsamalıdır", "hata", "nostdlib en az bir zorunlu kullanım gerektirir", - "error-type", + "hata türü", null, null, null, diff --git a/Extension/bin/messages/zh-cn/messages.json b/Extension/bin/messages/zh-cn/messages.json index 3def6317d8..b527f4e9fb 100644 --- a/Extension/bin/messages/zh-cn/messages.json +++ b/Extension/bin/messages/zh-cn/messages.json @@ -3,7 +3,7 @@ "文件的最后一行结束,没有新行", "文件的最后一行以反斜杠结束", "#include 文件 %sq 包含自身", - "内存不足", + "内存不足。请考虑启用 64 位 IntelliSense 引擎并在设置中增加 IntelliSense 内存限制。", null, "文件结尾的注释未闭合", "无法识别的标记", @@ -1505,7 +1505,7 @@ "命令行错误", "内部错误", "内部错误", - "-D", + null, null, "达到错误限制。", "内部错误循环", @@ -1524,7 +1524,7 @@ "中间语言(7)", "中间语言(8)", "中间语言(9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "char16_t 文本的无效字符", null, "无法识别的调用约定 %s,必须为以下内容之一:", - "%s", + null, null, null, "枚举类型的基础类型必须是整型", @@ -2955,7 +2955,7 @@ "析构函数的限制说明符必须包含所有构造函数的限制说明符的联合部分", "错误", "nostdlib 要求至少使用一个强制 using", - "error-type", + "错误类型", null, null, null, diff --git a/Extension/bin/messages/zh-tw/messages.json b/Extension/bin/messages/zh-tw/messages.json index 5ab723beb3..aefdf6b3ae 100644 --- a/Extension/bin/messages/zh-tw/messages.json +++ b/Extension/bin/messages/zh-tw/messages.json @@ -3,7 +3,7 @@ "檔案的最後一行不以新行字元結尾", "檔案的最後一行以反斜線結尾", "#include 檔案 %sq 包含本身", - "記憶體不足", + "記憶體不足。請考慮啟用 64 位元 IntelliSense 引擎,並在設定中增加 IntelliSense 記憶體限制。", null, "檔案結尾處有未封閉的註解", "無法辨認的語彙基元", @@ -1505,7 +1505,7 @@ "命令列錯誤", "內部錯誤", "內部錯誤", - "-D", + null, null, "已達錯誤限制。", "內部錯誤迴圈", @@ -1524,7 +1524,7 @@ "中繼語言 (7)", "中繼語言 (8)", "中繼語言 (9)", - "PCH", + null, null, null, null, @@ -1537,7 +1537,7 @@ "char16_t literal 的字元無效", null, "無法辨認的呼叫慣例 %s,必須是下列其中一個: ", - "%s", + null, null, null, "列舉類型的基礎類型必須是整數類型", @@ -2955,7 +2955,7 @@ "解構函式的限制規範必須涵蓋所有建構函式的限制規範聯集", "error", "nostdlib 至少需要一個強制 Using", - "error-type", + "錯誤類型", null, null, null, diff --git a/Extension/i18n/chs/package.i18n.json b/Extension/i18n/chs/package.i18n.json index 49d2aba10b..c1c7f42e82 100644 --- a/Extension/i18n/chs/package.i18n.json +++ b/Extension/i18n/chs/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "切换标头/源", "c_cpp.command.enableErrorSquiggles.title": "启用错误波形曲线", "c_cpp.command.disableErrorSquiggles.title": "禁用错误波形曲线", - "c_cpp.command.toggleIncludeFallback.title": "在包含错误上切换 IntelliSense 引擎回退", "c_cpp.command.toggleDimInactiveRegions.title": "切换非活动区域着色", "c_cpp.command.resetDatabase.title": "重置 IntelliSense 数据库", "c_cpp.command.takeSurvey.title": "参加调查", @@ -37,9 +36,9 @@ "c_cpp.command.GoToNextDirectiveInGroup.title": "转到条件组中的下一个预处理器指令", "c_cpp.command.GoToPrevDirectiveInGroup.title": "转到条件组中的上一个预处理器指令", "c_cpp.command.CreateDeclarationOrDefinition.title": "创建声明/定义", - "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "在活动文件上运行 Code Analysis", - "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "在打开的文件上运行 Code Analysis", - "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "在所有文件上运行 Code Analysis", + "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "在活动文件上运行代码分析", + "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "在打开的文件上运行代码分析", + "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "在所有文件上运行代码分析", "c_cpp.command.RemoveAllCodeAnalysisProblems.title": "清除所有代码分析问题", "c_cpp.command.BuildAndDebugFile.title": "调试 C/C++ 文件", "c_cpp.command.BuildAndRunFile.title": "运行 C/C++ 文件", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "用于代码分析的最大并发线程数。默认值 `null` (空)使用从 `#C_Cpp.maxConcurrentThreads#` 继承的值的一半。", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "超过此内存使用量(以 MB 为单位)后,将并发运行更少的代码分析进程。默认值 `null` (空)使用从 `#C_Cpp.maxMemory#` 继承的值。", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "控制在 `#files.autoSave#` 为 `afterDelay` 且 `#C_Cpp.codeAnalysis.runAutomatically#` 为 `true` 时从编辑触发保存后,代码分析开始处理之前的延迟(以毫秒为单位)。", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "配置 glob 模式以排除用于代码分析的文件夹和文件。始终排除不在工作区文件夹下的文件。从 `#files.exclude#` 和 `#C_Cpp.files.exclude#` 继承值。详细了解 glob 模式 [此处](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)。", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "配置 glob 模式以排除用于代码分析的文件夹和文件。始终排除不在工作区文件夹下的文件。从 `#files.exclude#` 和 `#C_Cpp.files.exclude#` 继承值。详细了解 [glob 模式](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)。", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "要与文件路径匹配的 glob 模式。设置为 `true` 或 `false` 以启用或禁用模式。", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "对匹配文件同辈进行其他检查。将 `$(basename)` 用作匹配文件名变量。", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "如果为 `true`,则代码分析将在文件打开或保存后自动在文件上运行。", @@ -184,8 +183,7 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "通过单独的 IntelliSense 流程提供上下文感知结果。", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "提供非上下文感知的“模糊”结果。", "c_cpp.configuration.intelliSenseEngine.disabled.description": "关闭 C/C++ 语言服务功能。", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "控制 IntelliSense 引擎是否将自动切换为包含 `#include` 错误的翻译单元的标记分析器。", - "c_cpp.configuration.autocomplete.markdownDescription": "控制自动完成提供程序。如果 `disabled`,且你想要基于字词的补全功能,则还需要设置 `\"[cpp]\": {\"editor.wordBasedSuggestions\": }` (`c` 和 `cuda-cpp` 语音也类似)。", + "c_cpp.configuration.autocomplete.markdownDescription": "控制自动完成提供程序。如果 `disabled`,且你想要基于字词的补全功能,则还需要设置 `\"[cpp]\": {\"editor.wordBasedSuggestions\": }` (`c` 和 `cuda-cpp` 语言也类似)。", "c_cpp.configuration.autocomplete.default.description": "使用活动的 IntelliSense 引擎。", "c_cpp.configuration.autocomplete.disabled.description": "使用 Visual Studio Code 提供的基于字词的补全。", "c_cpp.configuration.errorSquiggles.description": "控制是否将 IntelliSense 引擎检测到的可疑编译错误报告回编辑器。还控制是否报告代码分析警告(如果找不到包含)。标记分析器引擎将忽略此设置。", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "当来自 `nan` 和 `node-addon-api` 的包含路径为依赖项时,请将其添加。", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "如果为 `true`,则“重命名符号”将需要有效的 C/C++ 标识符。", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "如果为 `true`,则自动完成将在函数调用后自动添加 `(` ,在这种情况下,也可以添加 `)` ,具体取决于 `#editor.autoClosingBrackets#` 设置的值。", - "c_cpp.configuration.filesExclude.markdownDescription": "为排除文件夹(以及文件 - 如果更改了 `#C_Cpp.exclusionPolicy#`)配置 glob 模式。这些特定于 C/C++ 扩展,并且是 `#files.exclude#` 的补充,但与 `#files.exclude#` 不同,它们也适用于当前工作区文件夹之外的路径,并且不会从资源管理器视图中删除。[此处](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)。", + "c_cpp.configuration.filesExclude.markdownDescription": "为排除文件夹(以及文件 - 如果更改了 `#C_Cpp.exclusionPolicy#`)配置 glob 模式。这些特定于 C/C++ 扩展,并且是 `#files.exclude#` 的补充,但与 `#files.exclude#` 不同,它们也适用于当前工作区文件夹之外的路径,并且不会从资源管理器视图中删除。详细了解 [glob 模式](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)。", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "要与文件路径匹配的 glob 模式。设置为 `true` 或 `false` 以启用或禁用模式。", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "对匹配文件同辈进行其他检查。将 `$(basename)` 用作匹配文件名变量。", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "如果为 `true`,则调试程序 shell 命令替换将使用过时的反引号 ``(`)``。", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "控制在执行重构操作(例如创建声明/定义)时是否将已重构的函数/符号的头文件包含在其相应的源文件。", "c_cpp.configuration.refactoring.includeHeader.always.description": "如果头文件未显式包含在源文件中,则始终包含该头文件。", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "仅当头文件未显式包含在源文件中或通过隐式包含来包含在内时,才包含该头文件。", - "c_cpp.configuration.refactoring.includeHeader.never.description": "从不包含头文件。" + "c_cpp.configuration.refactoring.includeHeader.never.description": "从不包含头文件。", + "c_cpp.languageModelTools.configuration.displayName": "C/C++ 配置", + "c_cpp.languageModelTools.configuration.userDescription": "活动 C 或 C++ 文件的配置,例如语言标准版本和目标平台。" } \ No newline at end of file diff --git a/Extension/i18n/chs/src/LanguageServer/ui.i18n.json b/Extension/i18n/chs/src/LanguageServer/ui.i18n.json index 89ebd13fe7..310529610a 100644 --- a/Extension/i18n/chs/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/chs/src/LanguageServer/ui.i18n.json @@ -13,9 +13,9 @@ "complete.tagparser.text": "分析完毕", "rescan.tagparse.text": "重新扫描工作区", "c.cpp.parsing.open.files.tooltip": "正在分析打开的文件", - "running.analysis.text": "Code Analysis: 正在运行", - "paused.analysis.text": "Code Analysis: 已暂停", - "mode.analysis.prefix": "Code Analysis 模式:", + "running.analysis.text": "代码分析: 正在运行", + "paused.analysis.text": "代码分析: 已暂停", + "mode.analysis.prefix": "代码分析模式:", "click.to.preview": "单击以预览结果", "c.cpp.configureIntelliSenseStatus.text": "配置 IntelliSense", "cpptools.status.intellisense": "C/C++ IntelliSense 状态", @@ -25,7 +25,7 @@ "cpptools.detail.tagparser": "正在初始化...", "tagparser.resume.text": "继续", "tagparser.pause.text": "暂停", - "cpptools.status.codeanalysis": "C/C++ Code Analysis 状态", + "cpptools.status.codeanalysis": "C/C++ 代码分析状态", "c.cpp.codeanalysis.statusbar.runNow": "立即运行", "mode.codeanalysis.status.automatic": "自动", "mode.codeanalysis.status.manual": "手动", @@ -39,9 +39,9 @@ "pause.analysis": "暂停", "another.analysis": "启动另一个...", "select.command": "选择命令...", - "active.analysis": "在活动文件上运行 Code Analysis", - "all.analysis": "在所有文件上运行 Code Analysis", - "open.analysis": "在打开的文件上运行 Code Analysis", + "active.analysis": "在活动文件上运行代码分析", + "all.analysis": "在所有文件上运行代码分析", + "open.analysis": "在打开的文件上运行代码分析", "c.cpp.references.statusbar": "C/C++ 引用状态", "c.cpp.configuration.tooltip": "C/C++ 配置", "c.cpp.configureIntelliSenseStatus.cppText": "C/C++ 配置 IntelliSense", diff --git a/Extension/i18n/chs/walkthrough/debugconfig/run-and-debug-project-linux.md.i18n.json b/Extension/i18n/chs/walkthrough/debugconfig/run-and-debug-project-linux.md.i18n.json index e4649c98e5..8ad0b82e28 100644 --- a/Extension/i18n/chs/walkthrough/debugconfig/run-and-debug-project-linux.md.i18n.json +++ b/Extension/i18n/chs/walkthrough/debugconfig/run-and-debug-project-linux.md.i18n.json @@ -12,7 +12,7 @@ "walkthrough.linux.start.debugging": "开始调试", "walkthrough.linux.select.compiler": "选择 {0}。", "walkthrough.linux.choose.build.active.file": "选择 {0}。", - "walkthrough.linux.build.and.debug.active.file": "生成和调试活动文件", + "walkthrough.linux.build.and.debug.active.file": "构建和调试活动文件", "walkthrough.linux.after.running": "首次运行和调试 C++ 文件后,你将注意到项目 {0} 的文件夹内有两个新文件: {1} 和 {2}。", "walkthrough.linux.for.more.complex": "对于更复杂的生成和调试场景,可以在 {0} 和 {1} 中自定义生成任务和调试配置。例如,如果在从命令行生成时通常会将参数传递给编译器,则可以使用 {3} 属性以在 {2} 中指定这些参数。同样,可以定义要传递给程序的参数,以在 {4}中进行调试。" } \ No newline at end of file diff --git a/Extension/i18n/chs/walkthrough/debugconfig/run-and-debug-project-mac.md.i18n.json b/Extension/i18n/chs/walkthrough/debugconfig/run-and-debug-project-mac.md.i18n.json index 03b04beafb..81f2b5eb0e 100644 --- a/Extension/i18n/chs/walkthrough/debugconfig/run-and-debug-project-mac.md.i18n.json +++ b/Extension/i18n/chs/walkthrough/debugconfig/run-and-debug-project-mac.md.i18n.json @@ -12,7 +12,7 @@ "walkthrough.mac.start.debugging": "开始调试", "walkthrough.mac.select.compiler": "选择 {0}。", "walkthrough.mac.choose.build.active.file": "选择 {0}。", - "walkthrough.mac.build.and.debug.active.file": "生成和调试活动文件", + "walkthrough.mac.build.and.debug.active.file": "构建和调试活动文件", "walkthrough.mac.after.running": "首次运行和调试 C++ 文件后,你将注意到项目 {0} 的文件夹内有两个新文件: {1} 和 {2}。", "walkthrough.mac.for.more.complex": "对于更复杂的生成和调试场景,可以在 {0} 和 {1} 中自定义生成任务和调试配置。例如,如果在从命令行生成时通常会将参数传递给编译器,则可以使用 {3} 属性以在 {2} 中指定这些参数。同样,可以定义要传递给程序的参数,以在 {4}中进行调试。" } \ No newline at end of file diff --git a/Extension/i18n/chs/walkthrough/debugconfig/run-and-debug-project-windows.md.i18n.json b/Extension/i18n/chs/walkthrough/debugconfig/run-and-debug-project-windows.md.i18n.json index f3a047c2c1..d396b16e4c 100644 --- a/Extension/i18n/chs/walkthrough/debugconfig/run-and-debug-project-windows.md.i18n.json +++ b/Extension/i18n/chs/walkthrough/debugconfig/run-and-debug-project-windows.md.i18n.json @@ -12,7 +12,7 @@ "walkthrough.windows.start.debugging": "开始调试", "walkthrough.windows.select.compiler": "选择 {0}。", "walkthrough.windows.choose.build.active.file": "选择 {0}。", - "walkthrough.windows.build.and.debug.active.file": "生成和调试活动文件", + "walkthrough.windows.build.and.debug.active.file": "构建和调试活动文件", "walkthrough.windows.after.running": "首次运行和调试 C++ 文件后,你将注意到项目 {0} 的文件夹内有两个新文件: {1} 和 {2}。", "walkthrough.windows.for.more.complex": "对于更复杂的生成和调试场景,可以在 {0} 和 {1} 中自定义生成任务和调试配置。例如,如果在从命令行生成时通常会将参数传递给编译器,则可以使用 {3} 属性以在 {2} 中指定这些参数。同样,可以定义要传递给程序的参数,以在 {4}中进行调试。" } \ No newline at end of file diff --git a/Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows.md.i18n.json b/Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows.md.i18n.json index e738b3b889..84bd1257a7 100644 --- a/Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows.md.i18n.json +++ b/Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows.md.i18n.json @@ -17,8 +17,8 @@ "walkthrough.windows.note1": "注意", "walkthrough.windows.note1.text": "可以使用 Visual Studio 生成工具中的 C++ 工具集以及 Visual Studio Code 以编译、生成并验证任何 C++ 代码库,前提是同时具有有效的 Visual Studio 许可证(社区版、专业版或企业版),且正积极将其用于开发该 C++ 代码库。", "walkthrough.windows.open.command.prompt": "在 Windows“开始”菜单中键入‘开发人员’以打开 {0}。", - "walkthrough.windows.command.prompt.name1": "VS 的开发人员命令提示", - "walkthrough.windows.check.install": "在 VS 的开发人员命令提示中键入 {0} 以检查 MSVC 安装。你应该会看到包含版本和基本使用情况说明的版权消息。", + "walkthrough.windows.command.prompt.name1": "VS 的 Developer 命令提示", + "walkthrough.windows.check.install": "在 VS 的开发人员命令提示中键入 {0} 以检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。", "walkthrough.windows.note2": "注意", "walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、 {2})或 Windows 命令提示符未设置必要的路径环境变量。", "walkthrough.windows.command.prompt.name2": "VS 的开发人员命令提示" diff --git a/Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json b/Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json index 8689aa88da..c0d79a4a48 100644 --- a/Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json +++ b/Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json @@ -9,10 +9,10 @@ "walkthrough.windows.text2": "若要安装 MSVC,请打开 VS Code 终端(CTRL + `)并在以下命令中粘贴:\n", "walkthrough.windows.note1": "注意", "walkthrough.windows.note1.text": "可以使用 Visual Studio 生成工具中的 C++ 工具集以及 Visual Studio Code 以编译、生成并验证任何 C++ 代码库,前提是同时具有有效的 Visual Studio 许可证(社区版、专业版或企业版),且正积极将其用于开发该 C++ 代码库。", - "walkthrough.windows.verify.compiler": "正在验证编译器安装", + "walkthrough.windows.verify.compiler": "验证编译器安装", "walkthrough.windows.open.command.prompt": "在 Windows“开始”菜单中键入‘开发人员’以打开 {0}。", - "walkthrough.windows.command.prompt.name1": "VS 的开发人员命令提示", - "walkthrough.windows.check.install": "在 VS 的开发人员命令提示中键入 {0} 以检查 MSVC 安装。你应该会看到包含版本和基本使用情况说明的版权消息。", + "walkthrough.windows.command.prompt.name1": "VS 的 Developer 命令提示", + "walkthrough.windows.check.install": "在 VS 的开发人员命令提示中键入 {0} 以检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。", "walkthrough.windows.note2": "注意", "walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、 {2})或 Windows 命令提示符未设置必要的路径环境变量。", "walkthrough.windows.command.prompt.name2": "VS 的开发人员命令提示", diff --git a/Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json b/Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json index 8689aa88da..c0d79a4a48 100644 --- a/Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json +++ b/Extension/i18n/chs/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json @@ -9,10 +9,10 @@ "walkthrough.windows.text2": "若要安装 MSVC,请打开 VS Code 终端(CTRL + `)并在以下命令中粘贴:\n", "walkthrough.windows.note1": "注意", "walkthrough.windows.note1.text": "可以使用 Visual Studio 生成工具中的 C++ 工具集以及 Visual Studio Code 以编译、生成并验证任何 C++ 代码库,前提是同时具有有效的 Visual Studio 许可证(社区版、专业版或企业版),且正积极将其用于开发该 C++ 代码库。", - "walkthrough.windows.verify.compiler": "正在验证编译器安装", + "walkthrough.windows.verify.compiler": "验证编译器安装", "walkthrough.windows.open.command.prompt": "在 Windows“开始”菜单中键入‘开发人员’以打开 {0}。", - "walkthrough.windows.command.prompt.name1": "VS 的开发人员命令提示", - "walkthrough.windows.check.install": "在 VS 的开发人员命令提示中键入 {0} 以检查 MSVC 安装。你应该会看到包含版本和基本使用情况说明的版权消息。", + "walkthrough.windows.command.prompt.name1": "VS 的 Developer 命令提示", + "walkthrough.windows.check.install": "在 VS 的开发人员命令提示中键入 {0} 以检查 MSVC 安装。你应该会看到包含版本和基本使用说明的版权消息。", "walkthrough.windows.note2": "注意", "walkthrough.windows.note2.text": "要从命令行或 VS Code 使用 MSVC,必须从 {0} 运行。普通 shell (例如 {1}、 {2})或 Windows 命令提示符未设置必要的路径环境变量。", "walkthrough.windows.command.prompt.name2": "VS 的开发人员命令提示", diff --git a/Extension/i18n/cht/package.i18n.json b/Extension/i18n/cht/package.i18n.json index 1d47d65c8d..32f54e3893 100644 --- a/Extension/i18n/cht/package.i18n.json +++ b/Extension/i18n/cht/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "切換標頭/來源", "c_cpp.command.enableErrorSquiggles.title": "啟用錯誤波浪線", "c_cpp.command.disableErrorSquiggles.title": "停用錯誤波浪線", - "c_cpp.command.toggleIncludeFallback.title": "切換包含錯誤上的 IntelliSense 引擎後援", "c_cpp.command.toggleDimInactiveRegions.title": "切換非使用中的區域著色", "c_cpp.command.resetDatabase.title": "重設 IntelliSense 資料庫", "c_cpp.command.takeSurvey.title": "填寫問卷", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "用於程式碼分析的同時執行緒數目上限。預設的 `null` (空白) 會使用繼承自 `#C_Cpp.maxConcurrentThreads#` 的值。", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "超過此記憶體使用量 (MB) 之後,同時執行的程式碼分析處理序將會減少。預設的 `null` (空白) 會使用繼承自 `#C_Cpp.maxMemory#` 的值。", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "當 `#files.autoSave#` 為 `afterDelay` 且 `#C_Cpp.codeAnalysis.runAutomatically#` 為 `true` 時,控制從編輯觸發儲存之後,程式碼分析開始處理之前的延遲 (毫秒)。", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "設定 Glob 模式以排除用於程式碼分析的資料夾與檔案。不在工作區資料夾之下的檔案將一律排除。從 `#files.exclude#` 與 `#C_Cpp.files.exclude#` 繼承值。請在 [此處](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) 閱讀更多有關於 Glob 模式的資訊。", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "設定 Glob 模式以排除用於程式碼分析的資料夾與檔案。不在工作區資料夾之下的檔案將一律排除。從 `#files.exclude#` 與 `#C_Cpp.files.exclude#` 繼承值。深入了解 [Glob 模式](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)。", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "要符合檔案路徑的 Glob 模式。設為 `true` 或 `false` 可啟用或停用模式。", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "對相符檔案同層級進行額外檢查。請使用 `$(basename)` 作為相符檔案名稱的變數。", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "若為 `true`,則程式碼分析將會在檔案開啟或儲存之後,自動在該檔案上執行。", @@ -184,7 +183,6 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "透過單獨的 IntelliSense 處理序提供內容感知結果。", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "提供不屬於內容意識的 `模糊` 結果。", "c_cpp.configuration.intelliSenseEngine.disabled.description": "關閉 C/C++ 語言服務功能。", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "控制 IntelliSense 引擎是否會自動切換到包含 `#include` 錯誤之編譯單位的標籤剖析器。", "c_cpp.configuration.autocomplete.markdownDescription": "控制自動完成提供者。若設為 `disabled` 且您想要以文字方式完成,您也必須設定 `\"[cpp]\": {\"editor.wordBasedSuggestions\": }` (且 `c` 及 `cuda-cpp` 語言也相同)。", "c_cpp.configuration.autocomplete.default.description": "使用作用中 IntelliSense 引擎。", "c_cpp.configuration.autocomplete.disabled.description": "使用 Visual Studio Code 所提供的文字型完成。", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "當 `nan` 和 `node-addon-api` 為相依性時,從中新增 include 路徑。", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "若為 `true`,則「重新命名符號」需要有效的 C/C++ 識別碼。", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "若為 `true`,自動完成將會在函式呼叫之後自動新增 `(`,在這種情況下也可能會新增 `)`,取決於 `editor.autoClosingBrackets` 設定的值。", - "c_cpp.configuration.filesExclude.markdownDescription": "設定 Glob 模式以排除資料夾 (若變更 `#C_Cpp.exclusionPolicy#`,則也會排除檔案)。這些模式為 C/C++ 延伸模組所特有,且不屬於 `#files.exclude#`,但與 `#files.exclude#` 不同的是,目前工作區資料夾以外的路徑也會套用這些模式,並且不會將其從總管檢視中移除。請在 [此處](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) 閱讀更多有關於 Glob 模式的資訊。", + "c_cpp.configuration.filesExclude.markdownDescription": "設定 Glob 模式以排除資料夾 (若變更 `#C_Cpp.exclusionPolicy#`,則也會排除檔案)。這些模式為 C/C++ 延伸模組所特有,且是對 `#files.exclude#` 的外加,但與 `#files.exclude#` 不同的是,它們也適用於目前工作區資料夾以外的路徑,並且不會將其從總管檢視中移除。深入了解 [Glob 模式](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)。", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "要符合檔案路徑的 Glob 模式。設為 `true` 或 `false` 可啟用或停用模式。", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "對相符檔案同層級進行額外檢查。請使用 `$(basename)` 作為相符檔案名稱的變數。", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "若為 `true`,偵錯工具殼層命令替代將會使用已淘汰的反引號 ``(`)``。", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "控制在執行重構動作時,是否要將重構函式/符號的標頭檔案包含到其對應的來源檔案,例如建立宣告/定義。", "c_cpp.configuration.refactoring.includeHeader.always.description": "如果標頭檔案未明確包含在其來源檔案中,則一律包含該標頭檔案。", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "只有當標頭檔案未明確包含在其來源檔案或隱含包含時,才包含該標頭檔案。", - "c_cpp.configuration.refactoring.includeHeader.never.description": "永不包含標頭檔案。" + "c_cpp.configuration.refactoring.includeHeader.never.description": "永不包含標頭檔案。", + "c_cpp.languageModelTools.configuration.displayName": "C/C++ 設定", + "c_cpp.languageModelTools.configuration.userDescription": "使用中 C 或 C++ 檔案的設定,例如語言標準版本和目標平台。" } \ No newline at end of file diff --git a/Extension/i18n/cht/src/LanguageServer/ui.i18n.json b/Extension/i18n/cht/src/LanguageServer/ui.i18n.json index 4273d0b839..6bbcd2c322 100644 --- a/Extension/i18n/cht/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/cht/src/LanguageServer/ui.i18n.json @@ -13,9 +13,9 @@ "complete.tagparser.text": "剖析完成", "rescan.tagparse.text": "重新掃描工作區", "c.cpp.parsing.open.files.tooltip": "剖析開啟的檔案", - "running.analysis.text": "Code Analysis: 執行中", - "paused.analysis.text": "Code Analysis: 已暫停", - "mode.analysis.prefix": "Code Analysis 模式: ", + "running.analysis.text": "程式碼分析: 執行中", + "paused.analysis.text": "程式碼分析: 已暫停", + "mode.analysis.prefix": "程式碼分析模式: ", "click.to.preview": "按一下以預覽結果", "c.cpp.configureIntelliSenseStatus.text": "設定 IntelliSense", "cpptools.status.intellisense": "C/C++ IntelliSense 狀態", @@ -25,7 +25,7 @@ "cpptools.detail.tagparser": "正在初始化...", "tagparser.resume.text": "繼續", "tagparser.pause.text": "暫停", - "cpptools.status.codeanalysis": "C/C++ Code Analysis 狀態", + "cpptools.status.codeanalysis": "C/C++ 程式碼分析狀態", "c.cpp.codeanalysis.statusbar.runNow": "立即執行", "mode.codeanalysis.status.automatic": "自動", "mode.codeanalysis.status.manual": "手動", diff --git a/Extension/i18n/cht/walkthrough/installcompiler/install-compiler-windows.md.i18n.json b/Extension/i18n/cht/walkthrough/installcompiler/install-compiler-windows.md.i18n.json index fd9fb78481..851509f3ac 100644 --- a/Extension/i18n/cht/walkthrough/installcompiler/install-compiler-windows.md.i18n.json +++ b/Extension/i18n/cht/walkthrough/installcompiler/install-compiler-windows.md.i18n.json @@ -17,8 +17,8 @@ "walkthrough.windows.note1": "備註", "walkthrough.windows.note1.text": "您可以使用 Visual Studio Build Tools 中的 C++ 工具組以及 Visual Studio Code 來編譯、組建及驗證任何 C++ 程式碼基底,只要您也擁有有效的 Visual Studio 授權 (社群版、專業版或企業版),且您正積極開發該 C++ 程式碼基底。", "walkthrough.windows.open.command.prompt": "在 Windows 開始頁面功能表中鍵入「開發人員」,以開啟 {0}。", - "walkthrough.windows.command.prompt.name1": "VS 的開發人員命令提示", - "walkthrough.windows.check.install": "在 VS 的開發人員命令提示字元中輸入 {0},以檢查您的 MSVC 安裝。您應該會看到内附版本及基本使用說明的著作權訊息。", + "walkthrough.windows.command.prompt.name1": "VS 的開發人員命令提示字元", + "walkthrough.windows.check.install": "在 VS 的開發人員命令提示字元中輸入 {0},即可檢查 MSVC 安裝。畫面會顯示版本的著作權訊息以及基本的使用說明。", "walkthrough.windows.note2": "備註", "walkthrough.windows.note2.text": "若要從命令列或 VS Code 使用 MSVC,您必須從 {0} 執行。一般殼層,例如 {1}、{2} 或 Windows 命令提示字元,沒有設定必要的路徑環境變數集。", "walkthrough.windows.command.prompt.name2": "VS 的開發人員命令提示" diff --git a/Extension/i18n/cht/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json b/Extension/i18n/cht/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json index 1aeee9fe63..17bc7b24d1 100644 --- a/Extension/i18n/cht/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json +++ b/Extension/i18n/cht/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json @@ -9,10 +9,10 @@ "walkthrough.windows.text2": "若要安裝 MSVC,請開啟 VS Code 終端機 (CTRL + `),然後在下列命令中貼上:\n", "walkthrough.windows.note1": "備註", "walkthrough.windows.note1.text": "您可以使用 Visual Studio Build Tools 中的 C++ 工具組以及 Visual Studio Code 來編譯、組建及驗證任何 C++ 程式碼基底,只要您也擁有有效的 Visual Studio 授權 (社群版、專業版或企業版),且您正積極開發該 C++ 程式碼基底。", - "walkthrough.windows.verify.compiler": "正在驗證編譯器安裝", + "walkthrough.windows.verify.compiler": "驗證編譯器安裝", "walkthrough.windows.open.command.prompt": "在 Windows 開始頁面功能表中鍵入「開發人員」,以開啟 {0}。", - "walkthrough.windows.command.prompt.name1": "VS 的開發人員命令提示", - "walkthrough.windows.check.install": "在 VS 的開發人員命令提示字元中輸入 {0},以檢查您的 MSVC 安裝。您應該會看到内附版本及基本使用說明的著作權訊息。", + "walkthrough.windows.command.prompt.name1": "VS 的開發人員命令提示字元", + "walkthrough.windows.check.install": "在 VS 的開發人員命令提示字元中輸入 {0},即可檢查 MSVC 安裝。畫面會顯示版本的著作權訊息以及基本的使用說明。", "walkthrough.windows.note2": "備註", "walkthrough.windows.note2.text": "若要從命令列或 VS Code 使用 MSVC,您必須從 {0} 執行。一般殼層,例如 {1}、{2} 或 Windows 命令提示字元,沒有設定必要的路徑環境變數集。", "walkthrough.windows.command.prompt.name2": "VS 的開發人員命令提示", diff --git a/Extension/i18n/cht/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json b/Extension/i18n/cht/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json index 1aeee9fe63..17bc7b24d1 100644 --- a/Extension/i18n/cht/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json +++ b/Extension/i18n/cht/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json @@ -9,10 +9,10 @@ "walkthrough.windows.text2": "若要安裝 MSVC,請開啟 VS Code 終端機 (CTRL + `),然後在下列命令中貼上:\n", "walkthrough.windows.note1": "備註", "walkthrough.windows.note1.text": "您可以使用 Visual Studio Build Tools 中的 C++ 工具組以及 Visual Studio Code 來編譯、組建及驗證任何 C++ 程式碼基底,只要您也擁有有效的 Visual Studio 授權 (社群版、專業版或企業版),且您正積極開發該 C++ 程式碼基底。", - "walkthrough.windows.verify.compiler": "正在驗證編譯器安裝", + "walkthrough.windows.verify.compiler": "驗證編譯器安裝", "walkthrough.windows.open.command.prompt": "在 Windows 開始頁面功能表中鍵入「開發人員」,以開啟 {0}。", - "walkthrough.windows.command.prompt.name1": "VS 的開發人員命令提示", - "walkthrough.windows.check.install": "在 VS 的開發人員命令提示字元中輸入 {0},以檢查您的 MSVC 安裝。您應該會看到内附版本及基本使用說明的著作權訊息。", + "walkthrough.windows.command.prompt.name1": "VS 的開發人員命令提示字元", + "walkthrough.windows.check.install": "在 VS 的開發人員命令提示字元中輸入 {0},即可檢查 MSVC 安裝。畫面會顯示版本的著作權訊息以及基本的使用說明。", "walkthrough.windows.note2": "備註", "walkthrough.windows.note2.text": "若要從命令列或 VS Code 使用 MSVC,您必須從 {0} 執行。一般殼層,例如 {1}、{2} 或 Windows 命令提示字元,沒有設定必要的路徑環境變數集。", "walkthrough.windows.command.prompt.name2": "VS 的開發人員命令提示", diff --git a/Extension/i18n/csy/package.i18n.json b/Extension/i18n/csy/package.i18n.json index 0e8801f2b8..1bb35f3878 100644 --- a/Extension/i18n/csy/package.i18n.json +++ b/Extension/i18n/csy/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "Přepnout hlavičku/zdroj", "c_cpp.command.enableErrorSquiggles.title": "Povolit podtrhávání chyb vlnovkou", "c_cpp.command.disableErrorSquiggles.title": "Zakázat podtrhávání chyb vlnovkou", - "c_cpp.command.toggleIncludeFallback.title": "Přepnout na zálohu modulu IntelliSense, když dojde k chybám vložených souborů", "c_cpp.command.toggleDimInactiveRegions.title": "Přepnout barvení neaktivních oblastí", "c_cpp.command.resetDatabase.title": "Resetovat databázi IntelliSense", "c_cpp.command.takeSurvey.title": "Vyplnit průzkum", @@ -37,9 +36,9 @@ "c_cpp.command.GoToNextDirectiveInGroup.title": "Přejít na další direktivu preprocesoru v podmíněné skupině", "c_cpp.command.GoToPrevDirectiveInGroup.title": "Přejít na předchozí direktivu preprocesoru v podmíněné skupině", "c_cpp.command.CreateDeclarationOrDefinition.title": "Vytvořit deklaraci/definici", - "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Spustit Code Analysis u aktivního souboru", - "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Spustit Code Analysis při otevírání souborů", - "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Spustit Code Analysis u všech souborů", + "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Spustit analýzu kódu u aktivního souboru", + "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Spustit analýzu kódu při otevírání souborů", + "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Spustit analýzu kódu u všech souborů", "c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Vymazat všechny problémy s analýzou kódu", "c_cpp.command.BuildAndDebugFile.title": "Ladit soubor C/C++", "c_cpp.command.BuildAndRunFile.title": "Spustit soubor C/C++", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "Maximální počet souběžných vláken, která se mají použít pro analýzu kódu. Výchozí hodnota `null` (prázdná) používá poloviční hodnotu zděděnou od `#C_Cpp.maxConcurrentThreads#`.", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "Po překročení tohoto využití paměti (v MB) bude souběžně spuštěno méně procesů analýzy kódu. Výchozí hodnota `null` (prázdná) používá hodnotu zděděnou od `#C_Cpp.maxMemory#`.", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "Určuje prodlevu v milisekundách před zahájením zpracování analýzy kódu po spuštění uložení z úpravy, když je `#files.autoSave#` `afterDelay` a `#C_Cpp.codeAnalysis.runAutomatically#` je `true`.", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Umožňuje nakonfigurovat vzory glob pro vyloučení složek a souborů pro analýzu kódu. Soubory mimo složku pracovního prostoru jsou vždy vyloučeny. Dědí hodnoty od `#files.exclude#` a `#C_Cpp.files.exclude#`. Další informace o vzorech glob [zde](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Umožňuje nakonfigurovat vzory glob pro vyloučení složek a souborů pro analýzu kódu. Soubory mimo složku pracovního prostoru jsou vždy vyloučeny. Dědí hodnoty od `#files.exclude#` a `#C_Cpp.files.exclude#`. Přečtěte si další informace o [vzorech glob](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "Vzor glob pro hledání shod s cestami k souborům. Pokud chcete vzor povolit, nastavte hodnotu `true`, pokud ho chcete zakázat, nastavte hodnotu `false`.", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "Další kontrola položek na stejné úrovni u odpovídajícího souboru. Jako proměnnou názvu odpovídajícího souboru použijte `$(basename)`.", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "Pokud se nastaví na hodnotu `true`, analýza kódu se pro soubor spustí automaticky po jeho otevření nebo uložení.", @@ -184,7 +183,6 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "Poskytuje výsledky v kontextu prostřednictvím samostatného procesu IntelliSense.", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "Poskytuje přibližné výsledky, které nejsou v kontextu.", "c_cpp.configuration.intelliSenseEngine.disabled.description": "Vypne funkce služby jazyka C/C++.", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "Určuje, jestli se modul IntelliSense automaticky přepne na analyzátor značek pro jednotky překladu, které obsahují chyby direktiv `#include`.", "c_cpp.configuration.autocomplete.markdownDescription": "Určuje poskytovatele automatického dokončování. Pokud je hodnota `disabled` a chcete dokončování na základě slov, musíte nastavit také `\"[cpp]\": {\"editor.wordBasedSuggestions\": }` (a podobně také pro jazyky `c` a `cuda-cpp`).", "c_cpp.configuration.autocomplete.default.description": "Používá aktivní modul IntelliSense.", "c_cpp.configuration.autocomplete.disabled.description": "Používá dokončování na základě slov, které nabízí Visual Studio Code.", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Pokud existují závislosti, přidejte cesty pro zahrnuté soubory z `nan` a `node-addon-api`.", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "Když se tato hodnota nastaví na `true`, operace Přejmenovat symbol bude vyžadovat platný identifikátor C/C++.", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "Pokud je hodnota `true`, automatické dokončování automaticky přidá za volání funkcí znak `(`. V takovém případě se může přidat i znak `)`, což záleží na hodnotě nastavení `#editor.autoClosingBrackets#`.", - "c_cpp.configuration.filesExclude.markdownDescription": "Nakonfigurujte vzory glob pro vyloučení složek (a souborů, pokud se změní `#C_Cpp.exclusionPolicy#`). Ty jsou specifické pro rozšíření C/C++ a doplňují `#files.exclude#`, ale na rozdíl od `#files.exclude#` platí také pro cesty mimo aktuální složku pracovního prostoru a neodebírají se ze zobrazení Průzkumníka. Další informace o vzorech glob najdete [tady](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.filesExclude.markdownDescription": "Nakonfigurujte vzory glob pro vyloučení složek (a souborů, pokud se změní `#C_Cpp.exclusionPolicy#`). Ty jsou specifické pro rozšíření C/C++ a doplňují `#files.exclude#`, ale na rozdíl od `#files.exclude#` platí také pro cesty mimo aktuální složku pracovního prostoru a neodebírají se ze zobrazení Průzkumníka. Přečtěte si další informace o [vzorech glob](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "Vzor glob pro hledání shod s cestami k souborům. Pokud chcete vzor povolit, nastavte hodnotu `true`, pokud ho chcete zakázat, nastavte hodnotu `false`.", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "Další kontrola položek na stejné úrovni u odpovídajícího souboru. Jako proměnnou názvu odpovídajícího souboru použijte `$(basename)`.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "Když se nastaví na `true`, nahrazování příkazů shellu ladicího programu bude používat starou verzi obrácené čárky ``(`)``.", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "Určuje, jestli se má do odpovídajícího zdrojového souboru zahrnout soubor hlaviček refaktorované funkce nebo symbolu při provádění akce refaktoringu, například vytvoření deklarace nebo definice.", "c_cpp.configuration.refactoring.includeHeader.always.description": "Vždy zahrňte soubor hlaviček, pokud není explicitně zahrnut do jeho zdrojového souboru.", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "Zahrňte soubor hlaviček pouze v případě, že není explicitně zahrnut do jeho zdrojového souboru nebo prostřednictvím implicitní zahrnutí.", - "c_cpp.configuration.refactoring.includeHeader.never.description": "Nikdy nezahrnujte soubor hlaviček." + "c_cpp.configuration.refactoring.includeHeader.never.description": "Nikdy nezahrnujte soubor hlaviček.", + "c_cpp.languageModelTools.configuration.displayName": "Konfigurace C/C++", + "c_cpp.languageModelTools.configuration.userDescription": "Konfigurace aktivního souboru C nebo C++, jako je standardní verze jazyka a cílová platforma" } diff --git a/Extension/i18n/csy/src/LanguageServer/ui.i18n.json b/Extension/i18n/csy/src/LanguageServer/ui.i18n.json index 3be6dcf56b..d3b1aba524 100644 --- a/Extension/i18n/csy/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/csy/src/LanguageServer/ui.i18n.json @@ -13,9 +13,9 @@ "complete.tagparser.text": "Analýza byla dokončena.", "rescan.tagparse.text": "Znovu prohledat pracovní prostor", "c.cpp.parsing.open.files.tooltip": "Analýza otevřených souborů", - "running.analysis.text": "Code Analysis: Spuštěno", - "paused.analysis.text": "Code Analysis: Pozastaveno", - "mode.analysis.prefix": "Režim Code Analysis: ", + "running.analysis.text": "Analýza kódu: Spuštěno", + "paused.analysis.text": "Analýza kódu: Pozastaveno", + "mode.analysis.prefix": "Režim analýzy kódu: ", "click.to.preview": "kliknutím si můžete zobrazit náhled výsledků", "c.cpp.configureIntelliSenseStatus.text": "Konfigurovat IntelliSense", "cpptools.status.intellisense": "C/C++ IntelliSense Status", @@ -25,7 +25,7 @@ "cpptools.detail.tagparser": "Probíhá inicializace...", "tagparser.resume.text": "Pokračovat", "tagparser.pause.text": "Pozastavit", - "cpptools.status.codeanalysis": "Stav Code Analysis C/C++", + "cpptools.status.codeanalysis": "Stav analýzy kódu C/C++", "c.cpp.codeanalysis.statusbar.runNow": "Spustit", "mode.codeanalysis.status.automatic": "Automaticky", "mode.codeanalysis.status.manual": "Ručně", @@ -39,9 +39,9 @@ "pause.analysis": "Pozastavit", "another.analysis": "Spustit další…", "select.command": "Vyberte příkaz…", - "active.analysis": "Spustit Code Analysis u aktivního souboru", - "all.analysis": "Spustit Code Analysis u všech souborů", - "open.analysis": "Spustit Code Analysis při otevírání souborů", + "active.analysis": "Spustit analýzu kódu u aktivního souboru", + "all.analysis": "Spustit analýzu kódu u všech souborů", + "open.analysis": "Spustit analýzu kódu při otevírání souborů", "c.cpp.references.statusbar": "Stav odkazů jazyka C/C++", "c.cpp.configuration.tooltip": "Konfigurace C/C++", "c.cpp.configureIntelliSenseStatus.cppText": "Konfigurovat IntelliSense v C/C++", diff --git a/Extension/i18n/csy/walkthrough/installcompiler/install-compiler-windows.md.i18n.json b/Extension/i18n/csy/walkthrough/installcompiler/install-compiler-windows.md.i18n.json index bb0daf1e3b..1ab43c76b6 100644 --- a/Extension/i18n/csy/walkthrough/installcompiler/install-compiler-windows.md.i18n.json +++ b/Extension/i18n/csy/walkthrough/installcompiler/install-compiler-windows.md.i18n.json @@ -22,4 +22,4 @@ "walkthrough.windows.note2": "Poznámka", "walkthrough.windows.note2.text": "Pokud chcete použít MSVC z příkazového řádku nebo VS Code, musíte spouštět z {0}. Běžné prostředí, jako je {1}, {2} nebo příkazový řádek Windows, nemá nastavenou nezbytnou proměnnou prostředí cesty.", "walkthrough.windows.command.prompt.name2": "Developer Command Prompt for VS" -} \ No newline at end of file +} diff --git a/Extension/i18n/csy/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json b/Extension/i18n/csy/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json index 1b28dda9e5..8e1973951e 100644 --- a/Extension/i18n/csy/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json +++ b/Extension/i18n/csy/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json @@ -20,4 +20,4 @@ "walkthrough.windows.text3": "Pokud cílíte na Linux z Windows, podívejte se na {0}. Nebo můžete {1}.", "walkthrough.windows.link.title1": "Použití C++ a subsystému Windows pro Linux (WSL) ve VS Code", "walkthrough.windows.link.title2": "instalovat GCC na Windows pomocí MinGW" -} \ No newline at end of file +} diff --git a/Extension/i18n/csy/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json b/Extension/i18n/csy/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json index 1b28dda9e5..8e1973951e 100644 --- a/Extension/i18n/csy/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json +++ b/Extension/i18n/csy/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json @@ -20,4 +20,4 @@ "walkthrough.windows.text3": "Pokud cílíte na Linux z Windows, podívejte se na {0}. Nebo můžete {1}.", "walkthrough.windows.link.title1": "Použití C++ a subsystému Windows pro Linux (WSL) ve VS Code", "walkthrough.windows.link.title2": "instalovat GCC na Windows pomocí MinGW" -} \ No newline at end of file +} diff --git a/Extension/i18n/deu/package.i18n.json b/Extension/i18n/deu/package.i18n.json index 3b4cd79f4c..b90b323549 100644 --- a/Extension/i18n/deu/package.i18n.json +++ b/Extension/i18n/deu/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "Header/Quelle umschalten", "c_cpp.command.enableErrorSquiggles.title": "Fehlerwellenlinien aktivieren", "c_cpp.command.disableErrorSquiggles.title": "Fehlerwellenlinien deaktivieren", - "c_cpp.command.toggleIncludeFallback.title": "Fallback der IntelliSense-Engine bei Includefehlern umschalten", "c_cpp.command.toggleDimInactiveRegions.title": "Farbgebung für inaktive Regionen umschalten", "c_cpp.command.resetDatabase.title": "IntelliSense-Datenbank zurücksetzen", "c_cpp.command.takeSurvey.title": "An Umfrage teilnehmen", @@ -37,9 +36,9 @@ "c_cpp.command.GoToNextDirectiveInGroup.title": "Zur nächsten Präprozessoranweisung in bedingter Gruppe wechseln", "c_cpp.command.GoToPrevDirectiveInGroup.title": "Zur vorherigen Präprozessoranweisung in bedingter Gruppe wechseln", "c_cpp.command.CreateDeclarationOrDefinition.title": "Deklaration/Definition erstellen", - "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Code Analysis auf \"Aktive Datei\" ausführen", - "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Code Analysis auf \"Dateien öffnen\" ausführen", - "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Code Analysis auf \"Alle Dateien\" ausführen", + "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Codeanalyse für aktive Dateien ausführen", + "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Codeanalyse für geöffnete Dateien ausführen", + "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Codeanalyse für alle Dateien ausführen", "c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Alle Code Analysis Probleme löschen", "c_cpp.command.BuildAndDebugFile.title": "C/C++-Datei debuggen", "c_cpp.command.BuildAndRunFile.title": "C/C++-Datei ausführen", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "Die maximale Anzahl gleichzeitiger Threads, die für die Codeanalyse verwendet werden sollen. Mit dem Standardwert `null` (leer) wird die Hälfte des Werts verwendet, der von `#C_Cpp.maxConcurrentThreads#` geerbt wurde.", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "Weniger Codeanalyseprozesse werden gleichzeitig ausgeführt, nachdem diese Speicherauslastung (in MB) überschritten wurde. Mit dem Standardwert `null` (leer) wird der Wert verwendet, der von `#C_Cpp.maxMemory#` geerbt wurde.", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "Steuert die Verzögerung in Millisekunden, bevor die Codeanalyse mit der Verarbeitung beginnt, nachdem durch eine Bearbeitung ein Speichervorgang ausgelöst wurde, wenn `#files.autoSave#` gleich `afterDelay` und `#C_Cpp.codeAnalysis.runAutomatically#` gleich `true` ist.", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Konfigurieren Sie Globmuster zum Ausschließen von Ordnern und Dateien für die Codeanalyse. Dateien, die sich nicht im Arbeitsbereichsordner befinden, werden immer ausgeschlossen. Erbt Werte von `#files.exclude#` und `#C_Cpp.files.exclude#`. Weitere Informationen zu Globmustern finden Sie [hier](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Konfigurieren Sie Globmuster zum Ausschließen von Ordnern und Dateien für die Codeanalyse. Dateien, die sich nicht im Arbeitsbereichsordner befinden, werden immer ausgeschlossen. Erbt Werte von `#files.exclude#` und `#C_Cpp.files.exclude#`. Weitere Informationen zu [Globmustern](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "Das Globmuster, mit dem Dateipfade verglichen werden sollen. Legen Sie diesen Wert auf `true` oder `false` fest, um das Muster zu aktivieren bzw. zu deaktivieren.", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "Zusätzliche Überprüfung der gleichgeordneten Elemente einer entsprechenden Datei. Verwenden Sie `$(basename)` als Variable für den entsprechenden Dateinamen.", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "Bei `true` wird die Codeanalyse automatisch für eine Datei ausgeführt, nachdem sie geöffnet oder gespeichert wurde.", @@ -184,7 +183,6 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "Stellt kontextbezogene Ergebnisse über einen separaten IntelliSense-Prozess bereit.", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "Stellt „Fuzzy“-Ergebnisse bereit, die nicht kontextbezogen sind.", "c_cpp.configuration.intelliSenseEngine.disabled.description": "Deaktiviert die Features des C/C++-Sprachdiensts.", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "Steuert, ob das IntelliSense-Modul automatisch zum Tagparser für Übersetzungseinheiten wechselt, die `#include#`-Fehler enthalten.", "c_cpp.configuration.autocomplete.markdownDescription": "Steuert den Anbieter für AutoVervollständigen. Wenn `disabled` festgelegt ist und Sie die wortbasierte Vervollständigung wünschen, müssen Sie auch `\"[cpp]\": {\"editor.wordBasedSuggestions\": }` festlegen (und analog auch für die Sprachen `c` und `cuda-cpp`).", "c_cpp.configuration.autocomplete.default.description": "Verwendet das aktive IntelliSense-Modul.", "c_cpp.configuration.autocomplete.disabled.description": "Verwendet die von Visual Studio Code bereitgestellte wortbasierte Vervollständigung.", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Fügen Sie Includepfade aus `nan` und `node-addon-api` hinzu, wenn es sich um Abhängigkeiten handelt.", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "Wenn `true` festgelegt ist, erfordert 'Symbol umbenennen' einen gültigen C/C++-Bezeichner.", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "Wenn `true` festgelegt ist, fügt AutoVervollständigen automatisch `(` nach Funktionsaufrufen hinzu. In diesem Fall kann auch `)` in Abhängigkeit vom Wert der Einstellung `#editor.autoClosingBrackets#` hinzugefügt werden.", - "c_cpp.configuration.filesExclude.markdownDescription": "Konfigurieren Sie Globmuster zum Ausschließen von Ordnern (und Dateien, wenn `#C_Cpp.exclusionPolicy#` geändert wird). Diese sind spezifisch für die C/C++-Erweiterung und gelten zusätzlich zu `#files.exclude#`, aber im Gegensatz zu `#files.exclude#` gelten sie auch für Pfade außerhalb des aktuellen Arbeitsbereichsordners und werden nicht aus der Explorer-Ansicht entfernt. Weitere Informationen zu Globmustern finden Sie [hier](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.filesExclude.markdownDescription": "Konfigurieren Sie Globmuster zum Ausschließen von Ordnern (und Dateien, wenn `#C_Cpp.exclusionPolicy#` geändert wird). Diese sind spezifisch für die C/C++-Erweiterung und gelten zusätzlich zu `#files.exclude#`, aber im Gegensatz zu `#files.exclude#` gelten sie auch für Pfade außerhalb des aktuellen Arbeitsbereichsordners und werden nicht aus der Explorer-Ansicht entfernt. Weitere Informationen zu [Globmustern](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "Das Globmuster, mit dem Dateipfade verglichen werden sollen. Legen Sie diesen Wert auf `true` oder `false` fest, um das Muster zu aktivieren bzw. zu deaktivieren.", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "Zusätzliche Überprüfung der gleichgeordneten Elemente einer entsprechenden Datei. Verwenden Sie `$(basename)` als Variable für den entsprechenden Dateinamen.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "Wenn `true` festgelegt ist, verwendet die Befehlsersetzung der Debugger-Shell veraltete Backtick-Zeichen ``(`)``.", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "Steuert, ob die Headerdatei einer umgestalteten Funktion/eines umgestalteten Symbols in die zugehörige Quelldatei aufgenommen werden soll, wenn ein Refactoring durchgeführt wird (beispielweise beim Erstellen einer Deklaration/Definition).", "c_cpp.configuration.refactoring.includeHeader.always.description": "Hiermit wird die Headerdatei immer eingeschlossen, wenn sie nicht explizit in der zugehörigen Quelldatei enthalten ist.", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "Hiermit wird die Headerdatei nur dann eingeschlossen, wenn sie nicht explizit in der zugehörigen Quelldatei enthalten ist oder implizit eingeschlossen wird.", - "c_cpp.configuration.refactoring.includeHeader.never.description": "Hiermit wird die Headerdatei nie eingeschlossen." + "c_cpp.configuration.refactoring.includeHeader.never.description": "Hiermit wird die Headerdatei nie eingeschlossen.", + "c_cpp.languageModelTools.configuration.displayName": "C/C++-Konfiguration", + "c_cpp.languageModelTools.configuration.userDescription": "Konfiguration der aktiven C- oder C++-Datei, z. B. Sprachstandardversion und Zielplattform." } diff --git a/Extension/i18n/deu/src/LanguageServer/ui.i18n.json b/Extension/i18n/deu/src/LanguageServer/ui.i18n.json index c5f0aa415c..3301afac20 100644 --- a/Extension/i18n/deu/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/deu/src/LanguageServer/ui.i18n.json @@ -13,9 +13,9 @@ "complete.tagparser.text": "Parsing abgeschlossen", "rescan.tagparse.text": "Arbeitsbereich neu einlesen", "c.cpp.parsing.open.files.tooltip": "Offene Dateien werden geparst", - "running.analysis.text": "Code Analysis: Wird ausgeführt", - "paused.analysis.text": "Code Analysis: Angehalten", - "mode.analysis.prefix": "Code Analysis-Modus: ", + "running.analysis.text": "Codeanalyse: Wird ausgeführt", + "paused.analysis.text": "Codeanalyse: Angehalten", + "mode.analysis.prefix": "Codeanalyse-Modus: ", "click.to.preview": "Klicken Sie, um eine Vorschau der Ergebnisse anzuzeigen.", "c.cpp.configureIntelliSenseStatus.text": "IntelliSense konfigurieren", "cpptools.status.intellisense": "Status von C/C++-IntelliSense", @@ -25,7 +25,7 @@ "cpptools.detail.tagparser": "Wird initialisiert...", "tagparser.resume.text": "Fortsetzen", "tagparser.pause.text": "Anhalten", - "cpptools.status.codeanalysis": "C/C++-Code Analysis-Status", + "cpptools.status.codeanalysis": "Status der C/C++-Codeanalyse", "c.cpp.codeanalysis.statusbar.runNow": "Jetzt ausführen", "mode.codeanalysis.status.automatic": "Automatisch", "mode.codeanalysis.status.manual": "Manuell", @@ -39,9 +39,9 @@ "pause.analysis": "Anhalten", "another.analysis": "Starten Sie eine weitere...", "select.command": "Befehl auswählen...", - "active.analysis": "Code Analysis auf \"Aktive Dateien\" ausführen", - "all.analysis": "Code Analysis auf \"Alle Dateien\" ausführen", - "open.analysis": "Code Analysis auf \"Dateien öffnen\" ausführen", + "active.analysis": "Codeanalyse für aktive Dateien ausführen", + "all.analysis": "Codeanalyse für alle Dateien ausführen", + "open.analysis": "Codeanalyse für geöffnete Dateien ausführen", "c.cpp.references.statusbar": "C/C++-Verweisstatus", "c.cpp.configuration.tooltip": "C/C++-Konfiguration", "c.cpp.configureIntelliSenseStatus.cppText": "IntelliSense in C/C++ konfigurieren", diff --git a/Extension/i18n/esn/package.i18n.json b/Extension/i18n/esn/package.i18n.json index 90158d9e2b..8178647efe 100644 --- a/Extension/i18n/esn/package.i18n.json +++ b/Extension/i18n/esn/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "Cambiar el encabezado o el origen", "c_cpp.command.enableErrorSquiggles.title": "Habilitar el subrayado ondulado de errores", "c_cpp.command.disableErrorSquiggles.title": "Deshabilitar el subrayado ondulado de errores", - "c_cpp.command.toggleIncludeFallback.title": "Alternar el elemento Fallback del motor de IntelliSense cuando se producen errores de include", "c_cpp.command.toggleDimInactiveRegions.title": "Alternar el coloreado de las regiones inactivas", "c_cpp.command.resetDatabase.title": "Restablecer la base de datos de IntelliSense", "c_cpp.command.takeSurvey.title": "Realizar encuesta", @@ -37,7 +36,7 @@ "c_cpp.command.GoToNextDirectiveInGroup.title": "Ir a la directiva del preprocesador siguiente en el grupo condicional", "c_cpp.command.GoToPrevDirectiveInGroup.title": "Ir a la directiva del preprocesador anterior en el grupo condicional", "c_cpp.command.CreateDeclarationOrDefinition.title": "Crear declaración o definición", - "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Ejecutar Code Analysis en el archivo activo", + "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Ejecutar análisis de código en el archivo activo", "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Ejecutar análisis de código en archivos abiertos", "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Ejecutar análisis de código en todos los archivos", "c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Borrar todos los problemas de Code Analysis", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "Número máximo de subprocesos simultáneos que se usarán para análisis de código. El valor predeterminado de `null` (vacío) usa la mitad del valor heredado de `#C_Cpp.maxConcurrentThreads#`.", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "Menos procesos de análisis de código se ejecutarán simultáneamente después de superar este uso de memoria (en MB). El valor predeterminado de `null` (vacío) usa el valor heredado de `#C_Cpp.maxMemory#`.", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "Controla el retraso en milisegundos antes de que el análisis de código empiece a procesarse después de que se desencadene un guardado desde una edición cuando `#files.autoSave#` es `afterDelay` y `#C_Cpp.codeAnalysis.runAutomatically#` es `true`.", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Configure patrones globales para excluir carpetas y archivos para el análisis de código. Los archivos que no estén en la carpeta del área de trabajo siempre se excluyen. Hereda valores de `#files.exclude#` y `#C_Cpp.files.exclude#`. Más información sobre los patrones globales [aquí](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Configure patrones globales para excluir carpetas y archivos para el análisis de código. Los archivos que no estén en la carpeta del área de trabajo siempre se excluyen. Hereda valores de `#files.exclude#` y `#C_Cpp.files.exclude#`. Obtenga información sobre [patrones globales](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "El patrón global con el que se van a comparar las rutas de acceso de los archivos. Establézcalo en `true` o `false` para habilitarlo o deshabilitarlo.", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "Comprobación adicional de los elementos del mismo nivel de un archivo coincidente. Usa `$(basename)` como variable para el nombre del archivo coincidente.", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "Si es `true`, el análisis de código se ejecutará automáticamente en un archivo después de abrirlo o guardarlo.", @@ -184,7 +183,6 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "Proporciona resultados que reconocen el contexto a través de un proceso de IntelliSense independiente.", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "Proporciona resultados \"fuzzy\" que no tienen en cuenta el contexto.", "c_cpp.configuration.intelliSenseEngine.disabled.description": "Desactiva las características del servicio de lenguaje C/C++.", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "Controla si el motor de IntelliSense cambiará automáticamente al Analizador de etiquetas para las unidades de traducción que contengan errores de `#include`.", "c_cpp.configuration.autocomplete.markdownDescription": "Controla el proveedor de finalización automática. Si está `disabled` y desea completarse con palabras, también tendrá que establecer `\"[cpp]\": {\"editor.wordBasedSuggestions\": }` (y de forma similar para los lenguajes `c` y `cuda-cpp`).", "c_cpp.configuration.autocomplete.default.description": "Usa el motor de IntelliSense activo.", "c_cpp.configuration.autocomplete.disabled.description": "Usa la finalización basada en palabras proporcionada por Visual Studio Code.", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Agrega rutas de acceso de inclusión de `nan` y `node-addon-api` cuando sean dependencias.", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "Si es `true`, 'Cambiar nombre de símbolo' requerirá un identificador de C/C++ válido.", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "Si es `true`, la opción de autocompletar agregará `(` de forma automática después de las llamadas a funciones, en cuyo caso puede que también se agregue `)`, en función del valor de la configuración de `editor.autoClosingBrackets`.", - "c_cpp.configuration.filesExclude.markdownDescription": "Configura patrones globales para excluir carpetas (y archivos si se cambia `#C_Cpp.exclusionPolicy#`). Estos son específicos de la extensión de C/C++ y se agregan a `#files.exclude#`, pero a diferencia de `#files.exclude#` también se aplican a rutas fuera de la carpeta del área de trabajo actual y no se quitan de la Vista del explorador. Más información acerca de los patrones de globales [aquí](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.filesExclude.markdownDescription": "Configure patrones globales para excluir carpetas (y archivos si se cambia `#C_Cpp.exclusionPolicy#`). Son específicos de la extensión de C/C++ y se agregan a `#files.exclude#`, pero a diferencia de `#files.exclude#`, también se aplican a las rutas de acceso fuera de la carpeta del área de trabajo actual y no se quitan de la vista del Explorador. Obtenga información sobre [patrones globales](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "El patrón global con el que se van a comparar las rutas de acceso de los archivos. Establézcalo en `true` o `false` para habilitarlo o deshabilitarlo.", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "Comprobación adicional de los elementos del mismo nivel de un archivo coincidente. Usa `$(basename)` como variable para el nombre del archivo coincidente.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "Si es `true`, la sustitución de comandos del shell del depurador usará un acento grave obsoleto ``(`)``.", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "Controla si se incluye el archivo de encabezado de una función/símbolo refactorizado a su correspondiente archivo de origen al realizar una acción de refactorización, como crear declaración/definición.", "c_cpp.configuration.refactoring.includeHeader.always.description": "Incluya siempre el archivo de encabezado si no está incluido explícitamente en su archivo de origen.", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "Incluya el archivo de encabezado sólo si no está incluido explícitamente en su archivo de origen o mediante inclusión implícita.", - "c_cpp.configuration.refactoring.includeHeader.never.description": "Nunca incluya el archivo de encabezado." + "c_cpp.configuration.refactoring.includeHeader.never.description": "Nunca incluya el archivo de encabezado.", + "c_cpp.languageModelTools.configuration.displayName": "Configuración de C/C++", + "c_cpp.languageModelTools.configuration.userDescription": "Configuración del archivo activo de C o C++, como la versión estándar del lenguaje y la plataforma de destino." } diff --git a/Extension/i18n/esn/src/LanguageServer/ui.i18n.json b/Extension/i18n/esn/src/LanguageServer/ui.i18n.json index 2cd2287559..6d8f7583d0 100644 --- a/Extension/i18n/esn/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/esn/src/LanguageServer/ui.i18n.json @@ -13,9 +13,9 @@ "complete.tagparser.text": "Análisis finalizado", "rescan.tagparse.text": "Volver a examinar el área de trabajo", "c.cpp.parsing.open.files.tooltip": "Analizando archivos abiertos", - "running.analysis.text": "Code Analysis: en ejecución", - "paused.analysis.text": "Code Analysis: en pausa", - "mode.analysis.prefix": "Modo de Code Analysis: ", + "running.analysis.text": "Análisis de código: en ejecución", + "paused.analysis.text": "Análisis de código: en pausa", + "mode.analysis.prefix": "Modo de análisis de código: ", "click.to.preview": "hacer clic para obtener una vista previa de los resultados", "c.cpp.configureIntelliSenseStatus.text": "Configurar IntelliSense", "cpptools.status.intellisense": "Estado de IntelliSense de C/C++", @@ -25,7 +25,7 @@ "cpptools.detail.tagparser": "Inicializando...", "tagparser.resume.text": "Reanudar", "tagparser.pause.text": "Pausa", - "cpptools.status.codeanalysis": "Estado de Code Analysis de C/C++", + "cpptools.status.codeanalysis": "Estado de análisis de código de C/C++", "c.cpp.codeanalysis.statusbar.runNow": "Ejecutar ahora", "mode.codeanalysis.status.automatic": "Automático", "mode.codeanalysis.status.manual": "Manual", @@ -39,7 +39,7 @@ "pause.analysis": "Pausa", "another.analysis": "Iniciar otro...", "select.command": "Seleccione un comando...", - "active.analysis": "Ejecutar Code Analysis en el archivo activo", + "active.analysis": "Ejecutar análisis de código en el archivo activo", "all.analysis": "Ejecutar análisis de código en todos los archivos", "open.analysis": "Ejecutar análisis de código en archivos abiertos", "c.cpp.references.statusbar": "Estado de referencias de C/C++", diff --git a/Extension/i18n/fra/package.i18n.json b/Extension/i18n/fra/package.i18n.json index 39c112cabe..64276fc9d1 100644 --- a/Extension/i18n/fra/package.i18n.json +++ b/Extension/i18n/fra/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "Basculer l'en-tête/la source", "c_cpp.command.enableErrorSquiggles.title": "Activer les tildes d'erreur", "c_cpp.command.disableErrorSquiggles.title": "Désactiver les tildes d'erreur", - "c_cpp.command.toggleIncludeFallback.title": "Activer/désactiver le basculement du moteur IntelliSense en cas d'erreurs d'inclusion", "c_cpp.command.toggleDimInactiveRegions.title": "Activer/désactiver la colorisation des régions inactives", "c_cpp.command.resetDatabase.title": "Réinitialiser la base de données IntelliSense", "c_cpp.command.takeSurvey.title": "Répondre à l'enquête", @@ -37,7 +36,7 @@ "c_cpp.command.GoToNextDirectiveInGroup.title": "Accéder à la directive de préprocesseur suivante dans le groupe conditionnel", "c_cpp.command.GoToPrevDirectiveInGroup.title": "Accéder à la directive de préprocesseur précédente dans le groupe conditionnel", "c_cpp.command.CreateDeclarationOrDefinition.title": "Créer la déclaration/la définition", - "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Exécuter Code Analysis sur le fichier actif", + "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Exécuter l’analyse de code sur le fichier actif", "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Exécuter une analyse de code sur Ouvrir les fichiers", "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Exécuter une analyse de code sur Tous les fichiers", "c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Effacer tous les problèmes d’analyse du code", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "Le nombre maximum de threads simultanés à utiliser pour l'analyse de code. La valeur par défaut de `null` (vide) utilise la moitié de la valeur héritée de `#C_Cpp.maxConcurrentThreads#`.", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "Moins de processus d’analyse du code s’exécuteront simultanément après le dépassement de cette utilisation de la mémoire (en Mo). La valeur par défaut de `null` (vide) utilise la valeur héritée de `#C_Cpp.maxMemory#`.", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "Contrôle le délai en millisecondes avant le début du traitement de l’analyse du code après le déclenchement d’un enregistrement à partir d’une modification quand `#files.autoSave#` a la valeur `afterDelay` et `#C_Cpp.codeAnalysis.runAutomatically#` a la valeur `true`.", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Configurez des modèles Glob pour exclure des dossiers et des fichiers pour l’analyse du code. Les fichiers qui ne se trouvent pas dans le dossier de l’espace de travail sont toujours exclus. Hérite des valeurs de `#files.exclude#` et `#C_Cpp.files.exclude#`. En savoir plus sur les modèles Glob [ici](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Configurez des modèles Glob pour exclure des dossiers et des fichiers pour l’analyse du code. Les fichiers qui ne se trouvent pas dans le dossier de l’espace de travail sont toujours exclus. Hérite des valeurs de `#files.exclude#` et `#C_Cpp.files.exclude#`. En savoir plus sur les [motifs globaux](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "Le modèle global pour la correspondance des chemins de fichiers. Définissez-le à `true` ou `false` pour activer ou désactiver le motif.", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "Vérification supplémentaire des frères d'un fichier correspondant. Utilisez `$(basename)` comme variable pour le nom de fichier correspondant.", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "Si la valeur est `true`, l’analyse du code s’exécute automatiquement sur un fichier une fois qu’il est ouvert ou enregistré.", @@ -184,7 +183,6 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "Fournit des résultats contextuels via un processus IntelliSense distinct.", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "Fournit des résultats « flous » qui ne sont pas compatibles avec le contexte.", "c_cpp.configuration.intelliSenseEngine.disabled.description": "Désactive les fonctionnalités du service de langage C/C++.", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "Contrôle si le moteur IntelliSense bascule automatiquement vers l'analyseur de balises pour les unités de traduction qui contiennent des erreurs `#include`.", "c_cpp.configuration.autocomplete.markdownDescription": "Contrôle le fournisseur de la saisie semi-automatique. Si `disabled` et que vous souhaitez une complétion basée sur les mots, vous devrez également définir `\"[cpp]\": {\"editor.wordBasedSuggestions\": }` (et de même pour `c` et `cuda-cpp` langues).", "c_cpp.configuration.autocomplete.default.description": "Utilise le moteur IntelliSense actif.", "c_cpp.configuration.autocomplete.disabled.description": "Utilise la saisie semi-automatique basée sur le mot fournie par Visual Studio Code.", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Ajouter les chemins d'inclusion de `nan` et `node-addon-api` quand ils sont des dépendances.", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "Si `true`, 'Renommer le symbole' exigera un identifiant C/C++ valide.", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "Si la valeur est `true`, l'autocomplétion ajoute automatiquement `(` après les appels de fonction. Dans ce cas `)` peut également être ajouté, en fonction de la valeur du paramètre `#editor.autoClosingBrackets#`.", - "c_cpp.configuration.filesExclude.markdownDescription": "Configurer les modèles globaux pour exclure les dossiers (et les fichiers si `#C_Cpp.exclusionPolicy#` est modifié). Ils sont spécifiques à l'extension C/C++ et s'ajoutent à `#files.exclude#`, mais contrairement à `#files.exclude#`, ils s'appliquent également aux chemins en dehors du dossier de l'espace de travail actuel et ne sont pas supprimés de la vue de l'explorateur. Pour en savoir plus sur les modèles globaux, cliquez ici (https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.filesExclude.markdownDescription": "Configurer les modèles globaux pour exclure les dossiers (et les fichiers si `#C_Cpp.exclusionPolicy#` est modifié). Ils sont spécifiques à l’extension C/C++ et s’ajoutent à `#files.exclude#`, mais contrairement à `#files.exclude#`, ils s’appliquent également aux chemins en dehors du dossier de l’espace de travail actuel et ne sont pas supprimés de la vue de l’explorateur. En savoir plus sur les [motifs globaux](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "Le modèle global pour la correspondance des chemins de fichiers. Définissez-le à `true` ou `false` pour activer ou désactiver le motif.", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "Vérification supplémentaire des frères d'un fichier correspondant. Utilisez `$(basename)` comme variable pour le nom de fichier correspondant.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "Si la valeur est `true`, le remplacement de la commande d'interpréteur de commandes du débogueur utilise un accent grave ``(`)`` obsolète.", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "Contrôle si le fichier d’en-tête d’une fonction/symbole refactorisation doit être inclus dans son fichier source correspondant lors d’une action de refactorisation, par exemple créer une déclaration/définition.", "c_cpp.configuration.refactoring.includeHeader.always.description": "Toujours inclure le fichier d’en-tête s’il n’est pas inclus explicitement dans son fichier source.", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "Incluez uniquement le fichier d’en-tête s’il n’est pas inclus explicitement dans son fichier source ou via une inclusion implicite.", - "c_cpp.configuration.refactoring.includeHeader.never.description": "Ne jamais inclure le fichier d’en-tête." + "c_cpp.configuration.refactoring.includeHeader.never.description": "Ne jamais inclure le fichier d’en-tête.", + "c_cpp.languageModelTools.configuration.displayName": "Configuration C/C++", + "c_cpp.languageModelTools.configuration.userDescription": "Configuration du fichier C ou C++ actif, comme la version standard du langage et la plateforme cible." } diff --git a/Extension/i18n/fra/src/LanguageServer/ui.i18n.json b/Extension/i18n/fra/src/LanguageServer/ui.i18n.json index 5b2e103fed..92a9f84762 100644 --- a/Extension/i18n/fra/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/fra/src/LanguageServer/ui.i18n.json @@ -13,9 +13,9 @@ "complete.tagparser.text": "Analyse terminée", "rescan.tagparse.text": "Réanalyser l'espace de travail", "c.cpp.parsing.open.files.tooltip": "Analyse des fichiers ouverts", - "running.analysis.text": "Code Analysis : en cours d’exécution", - "paused.analysis.text": "Code Analysis : suspendu", - "mode.analysis.prefix": "Mode Code Analysis : ", + "running.analysis.text": "Analyse de code : en cours d’exécution", + "paused.analysis.text": "Analyse de code : suspendu", + "mode.analysis.prefix": "Mode Analyse de code : ", "click.to.preview": "cliquez pour voir un aperçu des résultats", "c.cpp.configureIntelliSenseStatus.text": "Configurer IntelliSense", "cpptools.status.intellisense": "État IntelliSense C/C++", @@ -25,7 +25,7 @@ "cpptools.detail.tagparser": "Initialisation en cours...", "tagparser.resume.text": "Reprendre", "tagparser.pause.text": "Pause", - "cpptools.status.codeanalysis": "État du Code Analysis C/C++", + "cpptools.status.codeanalysis": "État de l’analyse de code C/C++", "c.cpp.codeanalysis.statusbar.runNow": "Exécuter maintenant", "mode.codeanalysis.status.automatic": "Automatique", "mode.codeanalysis.status.manual": "Manuel", @@ -39,7 +39,7 @@ "pause.analysis": "Suspendre", "another.analysis": "Démarrer une autre...", "select.command": "Sélectionner une commande...", - "active.analysis": "Exécuter Code Analysis sur le fichier actif", + "active.analysis": "Exécuter l’analyse de code sur le fichier actif", "all.analysis": "Exécuter une analyse de code sur Tous les fichiers", "open.analysis": "Exécuter une analyse de code sur Ouvrir les fichiers", "c.cpp.references.statusbar": "État des références C/C++", diff --git a/Extension/i18n/fra/walkthrough/installcompiler/install-compiler-windows.md.i18n.json b/Extension/i18n/fra/walkthrough/installcompiler/install-compiler-windows.md.i18n.json index d2bc1a1bf4..5900f2c401 100644 --- a/Extension/i18n/fra/walkthrough/installcompiler/install-compiler-windows.md.i18n.json +++ b/Extension/i18n/fra/walkthrough/installcompiler/install-compiler-windows.md.i18n.json @@ -17,7 +17,7 @@ "walkthrough.windows.note1": "Remarque", "walkthrough.windows.note1.text": "Vous pouvez utiliser l’ensemble d’outils C++ à partir de Visual Studio Build Tools avec Visual Studio Code pour compiler, générer et vérifier n’importe quelle base de code C++, tant que vous disposez également d’une licence Visual Studio valide (Community, Pro ou Enterprise) que vous utilisez activement pour développer cette base de code C++.", "walkthrough.windows.open.command.prompt": "Ouvrez le {0} en tapant « développeur » dans le menu Démarrer de Windows.", - "walkthrough.windows.command.prompt.name1": "Invite de commandes développeur pour VS", + "walkthrough.windows.command.prompt.name1": "Invite de commandes Developer pour VS", "walkthrough.windows.check.install": "Vérifiez l’installation de votre MSVC en tapant {0} dans la Invite de commandes développeur pour VS. Vous devez voir un message de Copyright avec la version et la description de l’utilisation de base.", "walkthrough.windows.note2": "Remarque", "walkthrough.windows.note2.text": "Pour utiliser MSVC à partir de la ligne de commande ou VS Code, vous devez exécuter à partir d’un {0}. Un interpréteur de commandes ordinaire, tel que {1}, {2} ou l’invite de commandes Windows, n’a pas les variables d’environnement de chemin d’accès nécessaires définies.", diff --git a/Extension/i18n/fra/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json b/Extension/i18n/fra/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json index 99608c9ac2..41da8b169d 100644 --- a/Extension/i18n/fra/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json +++ b/Extension/i18n/fra/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json @@ -11,7 +11,7 @@ "walkthrough.windows.note1.text": "Vous pouvez utiliser l’ensemble d’outils C++ à partir de Visual Studio Build Tools avec Visual Studio Code pour compiler, générer et vérifier n’importe quelle base de code C++, tant que vous disposez également d’une licence Visual Studio valide (Community, Pro ou Enterprise) que vous utilisez activement pour développer cette base de code C++.", "walkthrough.windows.verify.compiler": "Vérification de l’installation du compilateur", "walkthrough.windows.open.command.prompt": "Ouvrez le {0} en tapant « développeur » dans le menu Démarrer de Windows.", - "walkthrough.windows.command.prompt.name1": "Invite de commandes développeur pour VS", + "walkthrough.windows.command.prompt.name1": "Invite de commandes Developer pour VS", "walkthrough.windows.check.install": "Vérifiez l’installation de votre MSVC en tapant {0} dans la Invite de commandes développeur pour VS. Vous devez voir un message de Copyright avec la version et la description de l’utilisation de base.", "walkthrough.windows.note2": "Remarque", "walkthrough.windows.note2.text": "Pour utiliser MSVC à partir de la ligne de commande ou VS Code, vous devez exécuter à partir d’un {0}. Un interpréteur de commandes ordinaire, tel que {1}, {2} ou l’invite de commandes Windows, n’a pas les variables d’environnement de chemin d’accès nécessaires définies.", diff --git a/Extension/i18n/fra/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json b/Extension/i18n/fra/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json index 99608c9ac2..41da8b169d 100644 --- a/Extension/i18n/fra/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json +++ b/Extension/i18n/fra/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json @@ -11,7 +11,7 @@ "walkthrough.windows.note1.text": "Vous pouvez utiliser l’ensemble d’outils C++ à partir de Visual Studio Build Tools avec Visual Studio Code pour compiler, générer et vérifier n’importe quelle base de code C++, tant que vous disposez également d’une licence Visual Studio valide (Community, Pro ou Enterprise) que vous utilisez activement pour développer cette base de code C++.", "walkthrough.windows.verify.compiler": "Vérification de l’installation du compilateur", "walkthrough.windows.open.command.prompt": "Ouvrez le {0} en tapant « développeur » dans le menu Démarrer de Windows.", - "walkthrough.windows.command.prompt.name1": "Invite de commandes développeur pour VS", + "walkthrough.windows.command.prompt.name1": "Invite de commandes Developer pour VS", "walkthrough.windows.check.install": "Vérifiez l’installation de votre MSVC en tapant {0} dans la Invite de commandes développeur pour VS. Vous devez voir un message de Copyright avec la version et la description de l’utilisation de base.", "walkthrough.windows.note2": "Remarque", "walkthrough.windows.note2.text": "Pour utiliser MSVC à partir de la ligne de commande ou VS Code, vous devez exécuter à partir d’un {0}. Un interpréteur de commandes ordinaire, tel que {1}, {2} ou l’invite de commandes Windows, n’a pas les variables d’environnement de chemin d’accès nécessaires définies.", diff --git a/Extension/i18n/ita/package.i18n.json b/Extension/i18n/ita/package.i18n.json index 8ed330808e..147faa4843 100644 --- a/Extension/i18n/ita/package.i18n.json +++ b/Extension/i18n/ita/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "Scambia intestazione/origine", "c_cpp.command.enableErrorSquiggles.title": "Abilita i segni di revisione per gli errori", "c_cpp.command.disableErrorSquiggles.title": "Disabilita i segni di revisione per gli errori", - "c_cpp.command.toggleIncludeFallback.title": "Attiva/Disattiva fallback del motore IntelliSense in caso di errori di inclusione", "c_cpp.command.toggleDimInactiveRegions.title": "Attiva/Disattiva colorazione delle aree inattive", "c_cpp.command.resetDatabase.title": "Reimposta database IntelliSense", "c_cpp.command.takeSurvey.title": "Partecipa al sondaggio", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "Numero massimo di thread simultanei da utilizzare per analisi del codice. Il valore predefinito di `null` (vuoto) usa metà del valore ereditato da `#C_Cpp.maxConcurrentThreads#`.", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "Un numero minore di processi di analisi del codice verrà eseguito simultaneamente dopo il superamento dell'utilizzo di memoria (in MB). Il valore predefinito di `null` (vuoto) usa il valore ereditato da `#C_Cpp.maxMemory#`.", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "Controlla il ritardo in millisecondi prima dell'avvio dell'elaborazione di analisi del codice dopo l'attivazione di un salvataggio da una modifica quando `#files.autoSave#` è `afterDelay` e `#C_Cpp.codeAnalysis.runAutomatically#` è `true`.", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Configurare i criteri GLOB per escludere cartelle e file per l'analisi del codice. I file non inclusi nella cartella dell'area di lavoro sono sempre esclusi. Eredita i valori da `#files.exclude#` e `#C_Cpp.files.exclude#`. Altre informazioni sui criteri GLOB [qui](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Configurare i criteri GLOB per escludere cartelle e file per l'analisi del codice. I file non inclusi nella cartella dell'area di lavoro sono sempre esclusi. Eredita i valori da `#files.exclude#` e `#C_Cpp.files.exclude#`. Altre informazioni su [criteri GLOB](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "Criterio GLOB da usare per trovare percorsi file. Impostare su `True` o `False` per abilitare o disabilitare il criterio.", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "Controllo aggiuntivo sugli elementi di pari livello di un file corrispondente. Usare `$(basename)` come variabile del nome file corrispondente.", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "Se è `true`, analisi del codice verrà eseguito automaticamente su un file dopo l'apertura o il salvataggio.", @@ -184,7 +183,6 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "Fornisce risultati compatibili con il contesto tramite un processo IntelliSense separato.", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "Fornisce risultati 'fuzzy' che non sono compatibili con il contesto.", "c_cpp.configuration.intelliSenseEngine.disabled.description": "Disattiva le funzionalità del servizio di linguaggio C/C++.", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "Controlla se il motore IntelliSense passerà automaticamente al parser di tag per le unità di conversione contenenti errori `#include`.", "c_cpp.configuration.autocomplete.markdownDescription": "Controlla il provider di completamento automatico. Se è `disabled` e si vuole il completamento basato sulle parole, sarà necessario impostare anche `\"[cpp]\": {\"editor.wordBasedSuggestions\": }` (e analogamente per i linguaggi `c` e `cuda-cpp`).", "c_cpp.configuration.autocomplete.default.description": "Usa il motore IntelliSense attivo.", "c_cpp.configuration.autocomplete.disabled.description": "Usa il completamento basato su parole fornito da Visual Studio Code.", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Aggiungere percorsi di inclusione da `nan` e `node-addon-api` quando sono dipendenze.", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "Se è `true`, con 'Rinomina simbolo' sarà richiesto un identificatore C/C++ valido.", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "Se è `true`, il completamento automatico aggiungerà automaticamente `(` dopo le chiamate di funzione. In tal caso potrebbe essere aggiunto anche `)`, a seconda del valore dell'impostazione `#editor.autoClosingBrackets#`.", - "c_cpp.configuration.filesExclude.markdownDescription": "Configurare i criteri GLOB per escludere le cartelle (e i file se `#C_Cpp.exclusionPolicy#` viene modificato). Sono specifici dell'estensione C/C++ e si aggiungono a `#files.exclude#`, ma diversamente da `#files.exclude#` si applicano anche ai percorsi esterni alla cartella dell'area di lavoro corrente e non vengono rimossi dalla visualizzazione Esplora risorse. Altre informazioni sui criteri GLOB [qui](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.filesExclude.markdownDescription": "Configurare i criteri GLOB per escludere le cartelle (e i file se `#C_Cpp.exclusionPolicy#` viene modificato). Sono specifici dell'estensione C/C++ e si aggiungono a `#files.exclude#`, ma diversamente da `#files.exclude#` si applicano anche ai percorsi esterni alla cartella dell'area di lavoro corrente e non vengono rimossi dalla visualizzazione Esplora risorse. Altre informazioni su [criteri GLOB](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "Criterio GLOB da usare per trovare percorsi file. Impostare su `true` o `false` per abilitare o disabilitare il criterio.", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "Controllo aggiuntivo sugli elementi di pari livello di un file corrispondente. Usare `$(basename)` come variabile del nome file corrispondente.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "Se è `true`, per la sostituzione del comando della shell del debugger verrà usato il carattere backtick obsoleto ``(`)``.", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "Controlla se includere il file di intestazione di una funzione o di un simbolo di refactoring nel file di origine corrispondente quando si esegue un'azione di refactoring, ad esempio creare dichiarazione/definizione.", "c_cpp.configuration.refactoring.includeHeader.always.description": "Includere sempre il file di intestazione se non è incluso in modo esplicito nel file di origine.", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "Includere il file di intestazione solo se non è incluso in modo esplicito nel file di origine o tramite l'inclusione implicita.", - "c_cpp.configuration.refactoring.includeHeader.never.description": "Non includere mai il file di intestazione." + "c_cpp.configuration.refactoring.includeHeader.never.description": "Non includere mai il file di intestazione.", + "c_cpp.languageModelTools.configuration.displayName": "Configurazione di C/C++", + "c_cpp.languageModelTools.configuration.userDescription": "Configurazione del file C o C++ attivo, ad esempio la versione standard del linguaggio e la piattaforma di destinazione." } diff --git a/Extension/i18n/ita/src/LanguageServer/ui.i18n.json b/Extension/i18n/ita/src/LanguageServer/ui.i18n.json index eae60a36b0..d33496cf27 100644 --- a/Extension/i18n/ita/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/ita/src/LanguageServer/ui.i18n.json @@ -13,9 +13,9 @@ "complete.tagparser.text": "Analisi completata", "rescan.tagparse.text": "Ripeti analisi area di lavoro", "c.cpp.parsing.open.files.tooltip": "Analisi dei file aperti", - "running.analysis.text": "Code Analysis: In esecuzione", - "paused.analysis.text": "Code Analysis: Sospeso", - "mode.analysis.prefix": "Modalità Code Analysis: ", + "running.analysis.text": "Analisi del codice: in esecuzione", + "paused.analysis.text": "Analisi del codice: sospesa", + "mode.analysis.prefix": "Modalità di analisi del codice: ", "click.to.preview": "fare clic per visualizzare l'anteprima dei risultati", "c.cpp.configureIntelliSenseStatus.text": "Configura IntelliSense", "cpptools.status.intellisense": "Stato IntelliSense C/C++", @@ -25,7 +25,7 @@ "cpptools.detail.tagparser": "Inizializzazione...", "tagparser.resume.text": "Riprendi", "tagparser.pause.text": "Sospendi", - "cpptools.status.codeanalysis": "Stato Code Analysis C/C++", + "cpptools.status.codeanalysis": "Stato dell’analisi del codice C/C++", "c.cpp.codeanalysis.statusbar.runNow": "Esegui", "mode.codeanalysis.status.automatic": "Automatico", "mode.codeanalysis.status.manual": "Manuale", diff --git a/Extension/i18n/jpn/package.i18n.json b/Extension/i18n/jpn/package.i18n.json index e72a180511..d3ea6612e2 100644 --- a/Extension/i18n/jpn/package.i18n.json +++ b/Extension/i18n/jpn/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "ヘッダー/ソースの切り替え", "c_cpp.command.enableErrorSquiggles.title": "エラーの波線を有効にする", "c_cpp.command.disableErrorSquiggles.title": "エラーの波線を無効にする", - "c_cpp.command.toggleIncludeFallback.title": "インクルード エラー時の IntelliSense エンジンのフォールバックの切り替え", "c_cpp.command.toggleDimInactiveRegions.title": "非アクティブな領域の色づけの切り替え", "c_cpp.command.resetDatabase.title": "IntelliSense データベースのリセット", "c_cpp.command.takeSurvey.title": "アンケートに答える", @@ -37,9 +36,9 @@ "c_cpp.command.GoToNextDirectiveInGroup.title": "条件付きグループ内の次のプリプロセッサ ディレクティブへ移動", "c_cpp.command.GoToPrevDirectiveInGroup.title": "条件付きグループ内の前のプリプロセッサ ディレクティブへ移動", "c_cpp.command.CreateDeclarationOrDefinition.title": "宣言/定義の作成", - "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "アクティブ ファイルで Code Analysis を実行する", - "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "開いているファイルで Code Analysis を実行する", - "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "すべてのファイルで Code Analysis を実行する", + "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "アクティブ ファイルでコード分析を実行する", + "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "開いているファイルでコード分析を実行する", + "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "すべてのファイルでコード分析を実行する", "c_cpp.command.RemoveAllCodeAnalysisProblems.title": "すべてのコード分析の問題をクリアする", "c_cpp.command.BuildAndDebugFile.title": "C/C++ ファイルのデバッグ", "c_cpp.command.BuildAndRunFile.title": "C/C++ ファイルの実行", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "コード分析に使用する同時実行スレッドの最大数。既定値の `null` (空) では、`#C_Cpp.maxConcurrentThreads#` から継承された値の半分が使用されます。", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "このメモリ使用量 (MB 単位) を超えると、同時に実行されるコード分析プロセスの数が減少します。既定値の `null` (空) では、`#C_Cpp.maxMemory#` から継承された値が使用されます。", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "`#files.autoSave#` が `afterDelay` で `#C_Cpp.codeAnalysis.runAutomatically#` が `true` の場合に、編集から保存がトリガーされてからコード分析が処理を開始するまでの遅延をミリ秒単位で制御します。", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "コード分析用にフォルダーとファイルを除外するための glob パターンを構成します。ワークスペース フォルダーの下にないファイルは常に除外されます。`#files.exclude#` および `#C_Cpp.files.exclude#` から値を継承します。glob パターンの詳細については、[こちら](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) を参照してください。", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "コード分析用にフォルダーとファイルを除外するための glob パターンを構成します。ワークスペース フォルダーの下にないファイルは常に除外されます。`#files.exclude#` および `#C_Cpp.files.exclude#` から値を継承します。[glob パターン](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) についての詳細をご確認ください。", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "ファイル パスの照合基準となる glob パターン。これを `true` または `false` に設定すると、パターンがそれぞれ有効/無効になります。", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "一致するファイルの兄弟をさらにチェックします。一致するファイル名の変数として `$(basename)` を使用します。", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "`true` の場合、ファイルを開いたり保存したりすると、コード分析が自動的に実行されます。", @@ -184,7 +183,6 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "独立した IntelliSense プロセスを使用してコンテキストを認識する結果を提供します。", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "コンテキストを認識しない\"あいまいな\"結果を提供します。 ", "c_cpp.configuration.intelliSenseEngine.disabled.description": "C/C++ 言語サービス機能をオフにします。", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "`#include` エラーを含む翻訳単位に対して、IntelliSense エンジンをタグ パーサーに自動的に切り替えるかどうかを制御します。", "c_cpp.configuration.autocomplete.markdownDescription": "オートコンプリート プロバイダーを制御します。`disabled` になっていて、単語ベースの補完が必要な場合には、`\"[cpp]\": {\"editor.wordBasedSuggestions\": }` を設定する必要があります (`c` および `cuda-cpp` 言語でも同様です)。", "c_cpp.configuration.autocomplete.default.description": "アクティブな IntelliSense エンジンを使用します。", "c_cpp.configuration.autocomplete.disabled.description": "Visual Studio Code によって提供される単語ベースの補完機能を使用します。", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "依存関係である場合は、`nan` および `node-addon-api` のインクルード パスを追加してください。", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "`true` の場合、'シンボルの名前変更' には有効な C/C++ 識別子が必要です。", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "`true` の場合、関数呼び出しの後に `(` が自動的に追加されます。その場合は、`#editor.autoClosingBrackets#` 設定の値に応じて、`)` も追加される場合があります。", - "c_cpp.configuration.filesExclude.markdownDescription": "フォルダー (および `#C_Cpp.exclusionPolicy#` が変更されている場合はファイル) を除外するための glob パターンを構成します。これらは C/C++ 拡張機能に固有であり、 `#files.exclude#` に追加となりますが、 `#files.exclude#` とは異なります。現在のワークスペース フォルダーの外部のパスにも適用され、エクスプローラー ビューからは削除されません。glob パターンの詳細については、[こちら](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) を参照してください。", + "c_cpp.configuration.filesExclude.markdownDescription": "フォルダー (および `#C_Cpp.exclusionPolicy#` が変更されている場合はファイル) を除外するための glob パターンを構成します。これらは C/C++ 拡張機能に固有であり、`#files.exclude#` に加えてありますが、`#files.exclude#` とは異なり、現在のワークスペース フォルダーの外部のパスにも適用され、エクスプローラー ビューからは削除されません。[glob パターン](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) についての詳細をご確認ください。", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "ファイル パスの照合基準となる glob パターン。これを `true` または `false` に設定すると、パターンがそれぞれ有効/無効になります。", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "一致するファイルの兄弟をさらにチェックします。一致するファイル名の変数として `$(basename)` を使用します。", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "`true` の場合、デバッガー シェルのコマンド置換では古いバックティック ``(`)`` が使用されます。", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "宣言/定義の作成などのリファクタリング アクションを実行するときに、リファクタリングされた関数/シンボルのヘッダー ファイルを対応するソース ファイルに含めるかどうかを制御します。", "c_cpp.configuration.refactoring.includeHeader.always.description": "ヘッダー ファイルがソース ファイルに明示的に含まれていない場合は、常にヘッダー ファイルを含めます。", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "ヘッダー ファイルがソース ファイルに明示的に含まれていない場合、または暗黙的にインクルードされていない場合にのみ、ヘッダー ファイルを含めます。", - "c_cpp.configuration.refactoring.includeHeader.never.description": "ヘッダー ファイルを含めることはありません。" -} + "c_cpp.configuration.refactoring.includeHeader.never.description": "ヘッダー ファイルを含めることはありません。", + "c_cpp.languageModelTools.configuration.displayName": "C/C++ 構成", + "c_cpp.languageModelTools.configuration.userDescription": "言語標準バージョンやターゲット プラットフォームなど、アクティブ C または C++ ファイルの構成。" +} \ No newline at end of file diff --git a/Extension/i18n/jpn/src/LanguageServer/ui.i18n.json b/Extension/i18n/jpn/src/LanguageServer/ui.i18n.json index eaa8bf0a33..e7a1e0bf8d 100644 --- a/Extension/i18n/jpn/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/jpn/src/LanguageServer/ui.i18n.json @@ -13,9 +13,9 @@ "complete.tagparser.text": "解析完了", "rescan.tagparse.text": "ワークスペースの再スキャン", "c.cpp.parsing.open.files.tooltip": "開いているファイルを解析しています", - "running.analysis.text": "Code Analysis: 実行中", - "paused.analysis.text": "Code Analysis: 一時停止", - "mode.analysis.prefix": "Code Analysis モード: ", + "running.analysis.text": "コード分析: 実行中", + "paused.analysis.text": "コード分析: 一時停止", + "mode.analysis.prefix": "コード分析モード: ", "click.to.preview": "クリックして結果をプレビューします", "c.cpp.configureIntelliSenseStatus.text": "IntelliSense の構成", "cpptools.status.intellisense": "C/c + + IntelliSense の状態", @@ -25,7 +25,7 @@ "cpptools.detail.tagparser": "初期化しています...", "tagparser.resume.text": "再開", "tagparser.pause.text": "一時停止", - "cpptools.status.codeanalysis": "C/C++ Code Analysis の状態", + "cpptools.status.codeanalysis": "C/C++ コード分析の状態", "c.cpp.codeanalysis.statusbar.runNow": "直ちに実行", "mode.codeanalysis.status.automatic": "自動", "mode.codeanalysis.status.manual": "手動", @@ -39,9 +39,9 @@ "pause.analysis": "一時停止", "another.analysis": "別のファイルを開始...", "select.command": "コマンドを選択する...", - "active.analysis": "アクティブ ファイルで Code Analysis を実行する", - "all.analysis": "すべてのファイルで Code Analysis を実行する", - "open.analysis": "開いているファイルで Code Analysis を実行する", + "active.analysis": "アクティブ ファイルでコード分析を実行する", + "all.analysis": "すべてのファイルでコード分析を実行する", + "open.analysis": "開いているファイルでコード分析を実行する", "c.cpp.references.statusbar": "C/C + + リファレンスの状態", "c.cpp.configuration.tooltip": "C/C++ 構成", "c.cpp.configureIntelliSenseStatus.cppText": "C/C++ IntelliSense の構成", diff --git a/Extension/i18n/jpn/walkthrough/installcompiler/install-compiler-windows.md.i18n.json b/Extension/i18n/jpn/walkthrough/installcompiler/install-compiler-windows.md.i18n.json index 9a1fb14d7a..b59ce0ea58 100644 --- a/Extension/i18n/jpn/walkthrough/installcompiler/install-compiler-windows.md.i18n.json +++ b/Extension/i18n/jpn/walkthrough/installcompiler/install-compiler-windows.md.i18n.json @@ -17,7 +17,7 @@ "walkthrough.windows.note1": "メモ", "walkthrough.windows.note1.text": "有効な Visual Studio ライセンス (Community、Pro、Enterprise のいずれか) があり、その C++ コードベースの開発に積極的に使用している場合は、Visual Studio Build Tools の C++ ツールセットを Visual Studio Code と合わせて使用して、C++ コードベースのコンパイル、ビルド、および検証を行うことができます。", "walkthrough.windows.open.command.prompt": "Windows スタート メニューに '開発者' と入力して、{0} を開きます。", - "walkthrough.windows.command.prompt.name1": "VS 向け開発者コマンド プロンプト", + "walkthrough.windows.command.prompt.name1": "VS 向け developer コマンド プロンプト", "walkthrough.windows.check.install": "VS の開発者コマンド プロンプトに {0} を入力して、MSVC インストールを確認します。バージョンと基本的な使用法の説明とともに、著作権に関するメッセージが表示されます。", "walkthrough.windows.note2": "メモ", "walkthrough.windows.note2.text": "コマンド ラインまたは VS Code で MSVC を使用するには、{0} で実行する必要があります。{1}、{2}、Windows コマンド プロンプトなどの通常のシェルには、必要なパス環境変数が設定されていません。", diff --git a/Extension/i18n/jpn/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json b/Extension/i18n/jpn/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json index b5f8ddd56c..caff1dfdb7 100644 --- a/Extension/i18n/jpn/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json +++ b/Extension/i18n/jpn/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json @@ -11,7 +11,7 @@ "walkthrough.windows.note1.text": "有効な Visual Studio ライセンス (Community、Pro、Enterprise のいずれか) があり、その C++ コードベースの開発に積極的に使用している場合は、Visual Studio Build Tools の C++ ツールセットを Visual Studio Code と合わせて使用して、C++ コードベースのコンパイル、ビルド、および検証を行うことができます。", "walkthrough.windows.verify.compiler": "コンパイラのインストールの確認中", "walkthrough.windows.open.command.prompt": "Windows スタート メニューに '開発者' と入力して、{0} を開きます。", - "walkthrough.windows.command.prompt.name1": "VS 向け開発者コマンド プロンプト", + "walkthrough.windows.command.prompt.name1": "VS 向け developer コマンド プロンプト", "walkthrough.windows.check.install": "VS の開発者コマンド プロンプトに {0} を入力して、MSVC インストールを確認します。バージョンと基本的な使用法の説明とともに、著作権に関するメッセージが表示されます。", "walkthrough.windows.note2": "メモ", "walkthrough.windows.note2.text": "コマンド ラインまたは VS Code で MSVC を使用するには、{0} で実行する必要があります。{1}、{2}、Windows コマンド プロンプトなどの通常のシェルには、必要なパス環境変数が設定されていません。", diff --git a/Extension/i18n/jpn/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json b/Extension/i18n/jpn/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json index b5f8ddd56c..caff1dfdb7 100644 --- a/Extension/i18n/jpn/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json +++ b/Extension/i18n/jpn/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json @@ -11,7 +11,7 @@ "walkthrough.windows.note1.text": "有効な Visual Studio ライセンス (Community、Pro、Enterprise のいずれか) があり、その C++ コードベースの開発に積極的に使用している場合は、Visual Studio Build Tools の C++ ツールセットを Visual Studio Code と合わせて使用して、C++ コードベースのコンパイル、ビルド、および検証を行うことができます。", "walkthrough.windows.verify.compiler": "コンパイラのインストールの確認中", "walkthrough.windows.open.command.prompt": "Windows スタート メニューに '開発者' と入力して、{0} を開きます。", - "walkthrough.windows.command.prompt.name1": "VS 向け開発者コマンド プロンプト", + "walkthrough.windows.command.prompt.name1": "VS 向け developer コマンド プロンプト", "walkthrough.windows.check.install": "VS の開発者コマンド プロンプトに {0} を入力して、MSVC インストールを確認します。バージョンと基本的な使用法の説明とともに、著作権に関するメッセージが表示されます。", "walkthrough.windows.note2": "メモ", "walkthrough.windows.note2.text": "コマンド ラインまたは VS Code で MSVC を使用するには、{0} で実行する必要があります。{1}、{2}、Windows コマンド プロンプトなどの通常のシェルには、必要なパス環境変数が設定されていません。", diff --git a/Extension/i18n/kor/package.i18n.json b/Extension/i18n/kor/package.i18n.json index caeef87bd7..4172646f12 100644 --- a/Extension/i18n/kor/package.i18n.json +++ b/Extension/i18n/kor/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "헤더/소스 전환", "c_cpp.command.enableErrorSquiggles.title": "오류 표시선 사용", "c_cpp.command.disableErrorSquiggles.title": "오류 표시선 사용 안 함", - "c_cpp.command.toggleIncludeFallback.title": "포함 오류 발생 시 IntelliSense 엔진 대체 설정/해제", "c_cpp.command.toggleDimInactiveRegions.title": "비활성 영역 색 지정 설정/해제", "c_cpp.command.resetDatabase.title": "IntelliSense 데이터베이스 다시 설정", "c_cpp.command.takeSurvey.title": "설문 조사 참여", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "코드 분석에 사용할 최대 동시 스레드 수입니다. 기본값인 `null`(비어 있음)은 `#C_Cpp.maxConcurrentThreads#`에서 상속된 값의 절반을 사용합니다.", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "이 메모리 사용량(MB)을 초과한 후에는 더 적은 수의 코드 분석 프로세스가 동시에 실행됩니다. 기본값인 `null`(비어 있음)은 `#C_Cpp.maxMemory#`에서 상속된 값을 사용합니다.", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "`#files.autoSave#`가 `afterDelay`이고 `#C_Cpp.codeAnalysis.runAutomatically#`가 `true`인 경우 편집에서 저장이 트리거된 후 코드 분석이 처리를 시작하기 전에 지연을 밀리초 단위로 제어합니다.", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "코드 분석을 위해 폴더 및 파일을 제외하기 위한 glob 패턴을 구성합니다. 작업 영역 폴더 아래에 있지 않은 파일은 항상 제외됩니다. `#files.exclude#` 및 `#C_Cpp.files.exclude#`에서 값을 상속합니다. [여기](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)에서 glob 패턴에 대해 자세히 알아보세요.", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "코드 분석을 위해 폴더 및 파일을 제외하기 위한 glob 패턴을 구성합니다. 작업 영역 폴더에 속하지 않은 파일은 항상 제외됩니다. `#files.exclude#` 및 `#C_Cpp.files.exclude#`에서 값을 상속합니다. [glob 패턴](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)에 대해 자세히 알아보세요.", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "파일 경로를 일치시킬 GLOB 패턴입니다. 패턴을 사용하거나 사용하지 않도록 설정하려면 `true` 또는 `false`로 설정하세요.", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "일치하는 파일의 형제에 대한 추가 검사입니다. `$(basename)`을 일치하는 파일 이름에 대한 변수로 사용하세요.", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "`true`인 경우 파일을 열거나 저장한 후 코드 분석이 자동으로 실행됩니다.", @@ -184,7 +183,6 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "별도의 IntelliSense 프로세스를 통해 컨텍스트 인식 결과를 제공합니다.", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "\"유사\" 결과를 제공합니다. 컨텍스트를 인식하지 않는 결과입니다.", "c_cpp.configuration.intelliSenseEngine.disabled.description": "C/C++ 언어 서비스 기능을 해제합니다.", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "IntelliSense 엔진이 `#include` 오류를 포함하는 변환 단위에 대해 태그 파서로 자동으로 전환되는지 여부를 제어합니다.", "c_cpp.configuration.autocomplete.markdownDescription": "자동 완성 공급자를 제어합니다. `disabled`에서 단어 기반 완성을 원할 경우 `\"[cpp]\": {\"editor.wordBasedSuggestions\": }`를 설정해야 합니다(`c`와 `cuda-cpp` 언어도 동일).", "c_cpp.configuration.autocomplete.default.description": "활성 IntelliSense 엔진을 사용합니다.", "c_cpp.configuration.autocomplete.disabled.description": "Visual Studio Code에서 제공하는 단어 기반 완성을 사용합니다.", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "`nan` 및 `node-addon-api`가 종속성일 때 해당 포함 경로를 추가합니다.", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "`true`이면 '기호 이름 바꾸기'에 유효한 C/C++ 식별자가 필요합니다.", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "`true`이면 자동 완성에서 `#editor.autoClosingBrackets#` 설정 값에 따라 함수 호출 뒤에 `(`를 자동으로 추가하며, 이 경우 `)`도 추가될 수 있습니다.", - "c_cpp.configuration.filesExclude.markdownDescription": "폴더(및 `#C_Cpp.exclusionPolicy#`가 변경된 경우 파일)를 제외하기 위한 GLOB 패턴을 구성합니다. 이는 C/C++ 확장에 고유하며 `#files.exclude#`에 추가되지만 `#files.exclude#`와 달리 현재 작업 영역 폴더 외부의 경로에도 적용되고 탐색기 보기에서 제거되지 않습니다. [여기](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)에서 GLOB 패턴에 대해 자세히 알아보세요.", + "c_cpp.configuration.filesExclude.markdownDescription": "폴더를 제외하기 위한 glob 패턴을 구성합니다(`#C_Cpp.exclusionPolicy#`가 변경된 경우 파일도). 이는 C/C++ 확장에만 해당하며 `#files.exclude#`와 더불어 사용되지만 `#files.exclude#`와 달리 현재 작업 영역 폴더 외부의 경로에도 적용되며 탐색기 보기에서 제거되지 않습니다. [glob 패턴](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options)에 대해 자세히 알아보세요.", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "파일 경로를 일치시킬 GLOB 패턴입니다. 패턴을 사용하거나 사용하지 않도록 설정하려면 `true` 또는 `false`로 설정하세요.", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "일치하는 파일의 형제에 대한 추가 검사입니다. `$(basename)`을 일치하는 파일 이름에 대한 변수로 사용하세요.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "`true`인 경우 디버거 셸 명령 대체가 사용되지 않는 백틱``(`)``을 사용합니다.", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "선언/정의 만들기와 같은 리팩터링 작업을 수행할 때 리팩터링된 함수/기호의 헤더 파일을 해당 소스 파일에 포함할지 여부를 제어합니다.", "c_cpp.configuration.refactoring.includeHeader.always.description": "헤더 파일이 소스 파일에 명시적으로 포함되지 않은 경우 항상 헤더 파일을 포함합니다.", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "헤더 파일이 소스 파일에 명시적으로 포함되지 않았거나 암시적 포함을 통해 포함된 경우에만 헤더 파일을 포함합니다.", - "c_cpp.configuration.refactoring.includeHeader.never.description": "헤더 파일을 포함하지 않습니다." + "c_cpp.configuration.refactoring.includeHeader.never.description": "헤더 파일을 포함하지 않습니다.", + "c_cpp.languageModelTools.configuration.displayName": "C/C++ 구성", + "c_cpp.languageModelTools.configuration.userDescription": "언어 표준 버전 및 대상 플랫폼과 같은 활성 C 또는 C++ 파일의 구성입니다." } \ No newline at end of file diff --git a/Extension/i18n/kor/src/LanguageServer/ui.i18n.json b/Extension/i18n/kor/src/LanguageServer/ui.i18n.json index 74bdd09273..a4b834026b 100644 --- a/Extension/i18n/kor/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/kor/src/LanguageServer/ui.i18n.json @@ -13,9 +13,9 @@ "complete.tagparser.text": "구문 분석이 완료되었습니다.", "rescan.tagparse.text": "작업 영역 다시 검사", "c.cpp.parsing.open.files.tooltip": "열린 파일을 구문 분석하는 중", - "running.analysis.text": "Code Analysis: 실행 중", - "paused.analysis.text": "Code Analysis: 일시 중지됨", - "mode.analysis.prefix": "Code Analysis 모드: ", + "running.analysis.text": "코드 분석: 실행 중", + "paused.analysis.text": "코드 분석: 일시 중지됨", + "mode.analysis.prefix": "코드 분석 모드: ", "click.to.preview": "결과를 미리 보려면 클릭", "c.cpp.configureIntelliSenseStatus.text": "IntelliSense 구성", "cpptools.status.intellisense": "C/C++ IntelliSense 상태", @@ -25,7 +25,7 @@ "cpptools.detail.tagparser": "초기화하는 중...", "tagparser.resume.text": "다시 시작", "tagparser.pause.text": "일시 중지", - "cpptools.status.codeanalysis": "C/C++ Code Analysis 상태", + "cpptools.status.codeanalysis": "C/C++ 코드 분석 상태", "c.cpp.codeanalysis.statusbar.runNow": "지금 실행", "mode.codeanalysis.status.automatic": "자동", "mode.codeanalysis.status.manual": "수동", diff --git a/Extension/i18n/plk/package.i18n.json b/Extension/i18n/plk/package.i18n.json index 9d1a03c2c9..8fb0a91bf0 100644 --- a/Extension/i18n/plk/package.i18n.json +++ b/Extension/i18n/plk/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "Przełączanie nagłówka/źródła", "c_cpp.command.enableErrorSquiggles.title": "Włączanie zygzaków sygnalizujących błędy", "c_cpp.command.disableErrorSquiggles.title": "Wyłączanie zygzaków sygnalizujących błędy", - "c_cpp.command.toggleIncludeFallback.title": "Przełączanie powrotu aparatu funkcji IntelliSense w przypadku błędów dyrektywy include", "c_cpp.command.toggleDimInactiveRegions.title": "Przełączanie kolorowania regionów nieaktywnych", "c_cpp.command.resetDatabase.title": "Resetowanie bazy danych funkcji IntelliSense", "c_cpp.command.takeSurvey.title": "Wypełnij ankietę", @@ -38,7 +37,7 @@ "c_cpp.command.GoToPrevDirectiveInGroup.title": "Przejdź do poprzedniej dyrektywy preprocesora w grupie warunkowej", "c_cpp.command.CreateDeclarationOrDefinition.title": "Utwórz deklarację/definicję", "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Uruchom analizę kodu dla aktywnego pliku", - "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Uruchamianie rozszerzenia Code Analysis na otwartych plikach", + "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Uruchamianie analizy kodu dla otwartych plików", "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Uruchamianie analizy kodu dla wszystkich plików", "c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Wyczyść wszystkie problemy z analizą kodu", "c_cpp.command.BuildAndDebugFile.title": "Debuguj plik C/C++", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "Maksymalna liczba współbieżnych wątków do użycia na potrzeby analizy kodu. Wartość domyślna `null` (pusta) używa połowy wartości elementu `#C_Cpp.maxConcurrentThreads#`.", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "Mniej procesów analizy kodu będzie uruchamianych współbieżnie po przekroczeniu tego użycia pamięci (w MB). Wartość domyślna `null` (pusta) używa wartości dziedziczonej z elementu `#C_Cpp.maxMemory#`.", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "Steruje opóźnieniem w milisekundach zanim rozszerzenie Code Analysis rozpocznie przetwarzanie po wyzwoleniu zapisu z edycji, gdy właściwość `#files.autoSave#` ma wartość `afterDelay`, a właściwość `#C_Cpp.codeAnalysis.runAutomatically#` ma wartość `true`.", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Skonfiguruj wzorce globalne na potrzeby wykluczania folderów i plików na potrzeby analizy kodu. Pliki, które nie znajdują się w folderze obszaru roboczego, są zawsze wykluczone. Dziedziczy wartości z elementów `#files.exclude#` i `#C_Cpp.files.exclude#`. Przeczytaj więcej o wzorcach globalnych [tutaj](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Skonfiguruj wzorce globalne dla wykluczania folderów i plików na potrzeby analizy kodu. Pliki, które nie znajdują się w folderze obszaru roboczego, są zawsze wykluczone. Dziedziczy wartości z elementów `#files.exclude#` i `#C_Cpp.files.exclude#`. Przeczytaj więcej o [wzorcach globalnych](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "Wzorzec globalny do dopasowywania ścieżek do plików. Aby włączyć lub wyłączyć wzorzec, ustaw na wartość `true` lub `false`.", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "Dodatkowe sprawdzenie elementów równorzędnych pasującego pliku. Użyj ciągu `$(basename)` jako zmiennej dla nazwy pasującego pliku.", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "W przypadku wartości `true` analiza kodu będzie uruchamiana automatycznie w pliku po jego otwarciu lub zapisaniu.", @@ -184,7 +183,6 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "Udostępnia wyniki związane z kontekstem za pomocą osobnego procesu funkcji IntelliSense.", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "Dostarcza wyników typu „wątpliwy”, które nie są oparte na kontekstach.", "c_cpp.configuration.intelliSenseEngine.disabled.description": "Wyłącza funkcje usługi języka C/C++.", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "Określa, czy aparat funkcji IntelliSense automatycznie przełączy się na parser znaczników dla jednostek translacji zawierających błędy dyrektywy `#include`.", "c_cpp.configuration.autocomplete.markdownDescription": "Kontroluje dostawcę funkcji automatycznego uzupełniania. Jeśli ma wartość `disabled` i chcesz stosować uzupełnianie oparte na wyrazach, musisz również ustawić element `\"[cpp]\": {\"editor.wordBasedSuggestions\": }` (oraz podobnie w przypadku języków `c` i `cuda-cpp`).", "c_cpp.configuration.autocomplete.default.description": "Używa aktywnego aparatu funkcji IntelliSense.", "c_cpp.configuration.autocomplete.disabled.description": "Używa uzupełnienia opartego na wyrazach zapewnianego przez program Visual Studio Code.", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Dodaj ścieżki dołączania z plików `nan` i `node-addon-api`, jeśli są one zależnościami.", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "Jeśli ma wartość `true`, element „Symbol zmiany nazwy” będzie wymagać prawidłowego identyfikatora C/C++.", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "Jeśli ma wartość `true`, autouzupełnianie będzie automatycznie dodawać znak `(` po wywołaniach funkcji, a w niektórych przypadkach może również dodawać znak `)`, zależnie od ustawienia `#editor.autoClosingBrackets#`.", - "c_cpp.configuration.filesExclude.markdownDescription": "Skonfiguruj wzorce globalne na potrzeby wykluczania folderów (i plików w przypadku zmiany elementu `#C_Cpp.exclusionPolicy#`). Są one specyficzne dla rozszerzenia języka C/C++ i są dodatkiem do elementu `#files.exclude#`, ale w przeciwieństwie `#files.exclude#` do tego elementu mają również zastosowanie do ścieżek spoza bieżącego folderu obszaru roboczego i nie są usuwane z widoku Eksploratora. Przeczytaj więcej o wzorcach globalnych [tutaj](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.filesExclude.markdownDescription": "Skonfiguruj wzorce globalne na potrzeby wykluczania folderów (i plików w przypadku zmiany zasad `#C_Cpp.exclusionPolicy#`). Są one specyficzne dla rozszerzenia języka C/C++ i są dodatkiem do elementu `#files.exclude#`, ale w przeciwieństwie do elementu `#files.exclude#` mają również zastosowanie do ścieżek spoza bieżącego folderu obszaru roboczego i nie są usuwane z widoku Eksploratora. Przeczytaj więcej o [wzorcach globalnych](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "Wzorzec globalny do dopasowywania ścieżek do plików. Aby włączyć lub wyłączyć wzorzec, ustaw na wartość `true` lub `false`.", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "Dodatkowe sprawdzenie elementów równorzędnych pasującego pliku. Użyj ciągu `$(basename)` jako zmiennej dla nazwy pasującego pliku.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "Jeśli `true`, to podstawianie komend powłoki debuggera będzie używało przestarzałego backticka ``(`)``.", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "Kontroluje, czy dołączyć plik nagłówkowy refaktoryzowanej funkcji/symbolu do odpowiadającego mu pliku źródłowego podczas wykonywania akcji refaktoryzacji, takiej jak tworzenie deklaracji/definicji.", "c_cpp.configuration.refactoring.includeHeader.always.description": "Zawsze dołączaj plik nagłówka, jeśli nie jest jawnie uwzględniony do swojego pliku źródłowego.", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "Dołącz plik nagłówkowy tylko wtedy, gdy nie został on uwzględniony jawnie do pliku źródłowego lub przez niejawne uwzględnienie.", - "c_cpp.configuration.refactoring.includeHeader.never.description": "Nigdy nie uwzględniaj pliku nagłówkowego." + "c_cpp.configuration.refactoring.includeHeader.never.description": "Nigdy nie uwzględniaj pliku nagłówkowego.", + "c_cpp.languageModelTools.configuration.displayName": "Konfiguracja języka C/C++", + "c_cpp.languageModelTools.configuration.userDescription": "Konfiguracja aktywnego pliku C lub C++, na przykład standardowa wersja języka i platforma docelowa." } diff --git a/Extension/i18n/plk/src/LanguageServer/ui.i18n.json b/Extension/i18n/plk/src/LanguageServer/ui.i18n.json index 102e58a009..cfe6ab487f 100644 --- a/Extension/i18n/plk/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/plk/src/LanguageServer/ui.i18n.json @@ -41,7 +41,7 @@ "select.command": "Wybierz polecenie...", "active.analysis": "Uruchom analizę kodu dla aktywnego pliku", "all.analysis": "Uruchamianie analizy kodu dla wszystkich plików", - "open.analysis": "Uruchamianie rozszerzenia Code Analysis na otwartych plikach", + "open.analysis": "Uruchamianie analizy kodu dla otwartych plików", "c.cpp.references.statusbar": "Stan odwołań języka C/C++", "c.cpp.configuration.tooltip": "Konfiguracja języka C/C++", "c.cpp.configureIntelliSenseStatus.cppText": "Konfigurowanie funkcji IntelliSense (C/C++)", diff --git a/Extension/i18n/plk/walkthrough/installcompiler/install-compiler-windows.md.i18n.json b/Extension/i18n/plk/walkthrough/installcompiler/install-compiler-windows.md.i18n.json index 17a5e4515b..ea8f9bc4b9 100644 --- a/Extension/i18n/plk/walkthrough/installcompiler/install-compiler-windows.md.i18n.json +++ b/Extension/i18n/plk/walkthrough/installcompiler/install-compiler-windows.md.i18n.json @@ -17,7 +17,7 @@ "walkthrough.windows.note1": "Uwaga", "walkthrough.windows.note1.text": "Zestawu narzędzi języka C++ z narzędzi Visual Studio Build Tools wraz z programem Visual Studio Code można używać do kompilowania, tworzenia i weryfikowania dowolnej bazy kodu języka C++, o ile masz również ważną licencję programu Visual Studio (Community, Pro lub Enterprise), której aktywnie używasz do opracowywania tej bazy kodu języka C++.", "walkthrough.windows.open.command.prompt": "Otwórz pozycję {0}, wpisując „deweloper” w menu Start systemu Windows.", - "walkthrough.windows.command.prompt.name1": "Wiersz polecenia dla deweloperów dla programu VS", + "walkthrough.windows.command.prompt.name1": "Wiersz polecenia Developer dla programu VS", "walkthrough.windows.check.install": "Sprawdź instalację programu MSVC, wpisując {0} w wierszu polecenia dewelopera dla programu VS. Powinien zostać wyświetlony komunikat o prawach autorskich z wersją i opisem użycia podstawowego.", "walkthrough.windows.note2": "Uwaga", "walkthrough.windows.note2.text": "Aby użyć programu MSVC z wiersza polecenia lub programu VS Code, należy uruchomić z {0}. Zwykła powłoka, taka jak {1}, {2} lub wiersz polecenia systemu Windows, nie ma ustawionych wymaganych zmiennych środowiskowych ścieżki.", diff --git a/Extension/i18n/plk/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json b/Extension/i18n/plk/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json index c116fa370e..24a8856488 100644 --- a/Extension/i18n/plk/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json +++ b/Extension/i18n/plk/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json @@ -11,7 +11,7 @@ "walkthrough.windows.note1.text": "Zestawu narzędzi języka C++ z narzędzi Visual Studio Build Tools wraz z programem Visual Studio Code można używać do kompilowania, tworzenia i weryfikowania dowolnej bazy kodu języka C++, o ile masz również ważną licencję programu Visual Studio (Community, Pro lub Enterprise), której aktywnie używasz do opracowywania tej bazy kodu języka C++.", "walkthrough.windows.verify.compiler": "Weryfikowanie instalacji kompilatora", "walkthrough.windows.open.command.prompt": "Otwórz pozycję {0}, wpisując „deweloper” w menu Start systemu Windows.", - "walkthrough.windows.command.prompt.name1": "Wiersz polecenia dla deweloperów dla programu VS", + "walkthrough.windows.command.prompt.name1": "Wiersz polecenia Developer dla programu VS", "walkthrough.windows.check.install": "Sprawdź instalację programu MSVC, wpisując {0} w wierszu polecenia dewelopera dla programu VS. Powinien zostać wyświetlony komunikat o prawach autorskich z wersją i opisem użycia podstawowego.", "walkthrough.windows.note2": "Notatka", "walkthrough.windows.note2.text": "Aby użyć programu MSVC z wiersza polecenia lub programu VS Code, należy uruchomić z {0}. Zwykła powłoka, taka jak {1}, {2} lub wiersz polecenia systemu Windows, nie ma ustawionych wymaganych zmiennych środowiskowych ścieżki.", diff --git a/Extension/i18n/plk/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json b/Extension/i18n/plk/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json index c116fa370e..24a8856488 100644 --- a/Extension/i18n/plk/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json +++ b/Extension/i18n/plk/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json @@ -11,7 +11,7 @@ "walkthrough.windows.note1.text": "Zestawu narzędzi języka C++ z narzędzi Visual Studio Build Tools wraz z programem Visual Studio Code można używać do kompilowania, tworzenia i weryfikowania dowolnej bazy kodu języka C++, o ile masz również ważną licencję programu Visual Studio (Community, Pro lub Enterprise), której aktywnie używasz do opracowywania tej bazy kodu języka C++.", "walkthrough.windows.verify.compiler": "Weryfikowanie instalacji kompilatora", "walkthrough.windows.open.command.prompt": "Otwórz pozycję {0}, wpisując „deweloper” w menu Start systemu Windows.", - "walkthrough.windows.command.prompt.name1": "Wiersz polecenia dla deweloperów dla programu VS", + "walkthrough.windows.command.prompt.name1": "Wiersz polecenia Developer dla programu VS", "walkthrough.windows.check.install": "Sprawdź instalację programu MSVC, wpisując {0} w wierszu polecenia dewelopera dla programu VS. Powinien zostać wyświetlony komunikat o prawach autorskich z wersją i opisem użycia podstawowego.", "walkthrough.windows.note2": "Notatka", "walkthrough.windows.note2.text": "Aby użyć programu MSVC z wiersza polecenia lub programu VS Code, należy uruchomić z {0}. Zwykła powłoka, taka jak {1}, {2} lub wiersz polecenia systemu Windows, nie ma ustawionych wymaganych zmiennych środowiskowych ścieżki.", diff --git a/Extension/i18n/ptb/package.i18n.json b/Extension/i18n/ptb/package.i18n.json index 363a591b57..1b4cbfd31b 100644 --- a/Extension/i18n/ptb/package.i18n.json +++ b/Extension/i18n/ptb/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "Alternar Cabeçalho/Origem", "c_cpp.command.enableErrorSquiggles.title": "Habilitar Rabiscos de Erro", "c_cpp.command.disableErrorSquiggles.title": "Desabilitar Rabiscos de Erro", - "c_cpp.command.toggleIncludeFallback.title": "Ativar/Desativar o Fallback do Mecanismo IntelliSense em Erros de Inclusão", "c_cpp.command.toggleDimInactiveRegions.title": "Ativar/Desativar a Colorização de Região Inativa", "c_cpp.command.resetDatabase.title": "Redefinir o Banco de Dados IntelliSense", "c_cpp.command.takeSurvey.title": "Responder Pesquisa", @@ -37,9 +36,9 @@ "c_cpp.command.GoToNextDirectiveInGroup.title": "Ir para a próxima diretiva de pré-processador no grupo condicional", "c_cpp.command.GoToPrevDirectiveInGroup.title": "Ir para a diretiva de pré-processador anterior no grupo condicional", "c_cpp.command.CreateDeclarationOrDefinition.title": "Criar Declaração/Definição", - "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Executar Code Analysis no Arquivo Ativo", - "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Executar Code Analysis em Abrir Arquivos", - "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Executar Code Analysis em Todos os Arquivos", + "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Executar Análise de Código no Arquivo Ativo", + "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Executar Análise de Código em Abrir Arquivos", + "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Executar Análise de Código em Todos os Arquivos", "c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Limpar Todos os Problemas de Code Analysis", "c_cpp.command.BuildAndDebugFile.title": "Depurar Arquivo C/C++", "c_cpp.command.BuildAndRunFile.title": "Executar Arquivo C/C++", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "O número máximo de threads simultâneos a serem usados para análise de código. O padrão `null` (vazio) usa metade do valor herdado de `#C_Cpp.maxConcurrentThreads#`.", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "Menos processos de análise de código serão executados simultaneamente depois que esse uso de memória (em MB) for excedido. O padrão de `null` (vazio) usa o valor herdado de `#C_Cpp.maxMemory#`.", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "Controla o atraso em milissegundos antes que a análise de código comece o processamento depois que um salvamento é disparado de uma edição quando `#files.autoSave#` é `afterDelay` e `#C_Cpp.codeAnalysis.runAutomatically#` é `true`.", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Configure padrões glob para excluir pastas e arquivos para análise de código. Arquivos que não estão na pasta do workspace são sempre excluídos. Herda valores de `#files.exclude#` e `#C_Cpp.files.exclude#`. Leia mais sobre padrões glob [aqui](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Configure padrões glob para excluir pastas e arquivos para análise de código. Arquivos que não estão na pasta do espaço de trabalho são sempre excluídos. Herda valores de `#files.exclude#` e `#C_Cpp.files.exclude#`. Saiba mais sobre [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "O padrão glob para corresponder aos caminhos de arquivo. Defina como `true` ou `false` para habilitar ou desabilitar o padrão.", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "Verificação adicional nos irmãos de um arquivo correspondente. Use `$(basename)` como variável para o nome do arquivo correspondente.", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "Se for `true`, a análise de código será executada automaticamente em um arquivo depois que ele for aberto ou salvo.", @@ -184,7 +183,6 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "Fornece resultados baseados no contextopor meio de um processo IntelliSense separado.", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "Fornece resultados \"difusos\" que não são sensíveis ao contexto.", "c_cpp.configuration.intelliSenseEngine.disabled.description": "Desabilita os recursos do serviço de linguagem C/C++.", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "Controla se o mecanismo IntelliSense mudará automaticamente para o Analisador de tags para unidades de tradução contendo erros `#include`.", "c_cpp.configuration.autocomplete.markdownDescription": "Controla o provedor de preenchimento automático. Se estiver `disabled` e você quiser a conclusão baseada em palavras, também precisará definir `\"[cpp]\": {\"editor.wordBasedSuggestions\": }` (e da mesma forma para linguagens `c` e `cuda-cpp`).", "c_cpp.configuration.autocomplete.default.description": "Usa o mecanismo IntelliSense ativo.", "c_cpp.configuration.autocomplete.disabled.description": "Usa o preenchimento baseado em palavras fornecido pelo Visual Studio Code.", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Adicione caminhos de inclusão de `nan` e `node-addon-api` quando forem dependências.", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "Se `true`, 'Renomear Símbolo' exigirá um identificador C/C++ válido.", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "Se `true`, autocomplete adicionará automaticamente `(` após chamadas de função, neste caso `)` também pode ser adicionado, dependendo do valor da configuração `#editor.autoClosingBrackets#`.", - "c_cpp.configuration.filesExclude.markdownDescription": "Configure os padrões glob para excluir pastas (e arquivos se `#C_Cpp.exclusionPolicy#` for alterado). Eles são específicos para a extensão C/C++ e são adicionais a `#files.exclude#`, mas ao contrário de `#files.exclude#` eles também se aplicam a caminhos fora da pasta do espaço de trabalho atual e não são removidos da visualização do Explorer. Leia mais sobre padrões glob [aqui](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.filesExclude.markdownDescription": "Configure padrões glob para excluir pastas (e arquivos se `#C_Cpp.exclusionPolicy#` for alterado). Esses são específicos para a extensão C/C++ e são adicionais a `#files.exclude#`, mas ao contrário de `#files.exclude#`, eles também se aplicam a caminhos fora do espaço de trabalho atual e não são removidos da visualização do Explorer. Saiba mais sobre [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "O padrão glob para corresponder aos caminhos de arquivo. Defina como `true` ou `false` para habilitar ou desabilitar o padrão.", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "Verificação adicional nos irmãos de um arquivo correspondente. Use `$(basename)` como variável para o nome do arquivo correspondente.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "Se for `true`, a substituição do comando shell do depurador usará o acento grave obsoleto ``(`)``.", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "Controla se o arquivo de cabeçalho de uma função/símbolo refatorado deve ser incluído em seu arquivo de origem correspondente ao executar uma ação de refatoração, como criar declaração/definição.", "c_cpp.configuration.refactoring.includeHeader.always.description": "Sempre inclua o arquivo de cabeçalho se ele não estiver incluído explicitamente em seu arquivo de origem.", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "Inclua o arquivo de cabeçalho apenas se ele não estiver incluído explicitamente em seu arquivo de origem ou por meio de inclusão implícita.", - "c_cpp.configuration.refactoring.includeHeader.never.description": "Nunca inclua o arquivo de cabeçalho." + "c_cpp.configuration.refactoring.includeHeader.never.description": "Nunca inclua o arquivo de cabeçalho.", + "c_cpp.languageModelTools.configuration.displayName": "Configuração C/C++", + "c_cpp.languageModelTools.configuration.userDescription": "Configuração do arquivo C ou C++ ativo, como versão do padrão da linguagem e plataforma de destino." } diff --git a/Extension/i18n/ptb/src/LanguageServer/ui.i18n.json b/Extension/i18n/ptb/src/LanguageServer/ui.i18n.json index 01a26e8fd3..d819ea3cc9 100644 --- a/Extension/i18n/ptb/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/ptb/src/LanguageServer/ui.i18n.json @@ -13,9 +13,9 @@ "complete.tagparser.text": "Análise Concluída", "rescan.tagparse.text": "Examinar Novamente o Workspace", "c.cpp.parsing.open.files.tooltip": "Analisando Arquivos Abertos", - "running.analysis.text": "Code Analysis: em Execução", - "paused.analysis.text": "Code Analysis: Pausado", - "mode.analysis.prefix": "Modo do Code Analysis: ", + "running.analysis.text": "Análise de Código: em Execução", + "paused.analysis.text": "Análise de Código: Pausado", + "mode.analysis.prefix": "Modo do Análise de Código: ", "click.to.preview": "clique aqui para visualizar os resultados", "c.cpp.configureIntelliSenseStatus.text": "Configurar o IntelliSense", "cpptools.status.intellisense": "Status do IntelliSense do C/C++", @@ -25,7 +25,7 @@ "cpptools.detail.tagparser": "Inicializando...", "tagparser.resume.text": "Retomar", "tagparser.pause.text": "Pausar", - "cpptools.status.codeanalysis": "Status do Code Analysis do C/C++", + "cpptools.status.codeanalysis": "Status do Análise de Código do C/C++", "c.cpp.codeanalysis.statusbar.runNow": "Executar Agora", "mode.codeanalysis.status.automatic": "Automático", "mode.codeanalysis.status.manual": "Manual", @@ -39,9 +39,9 @@ "pause.analysis": "Pausar", "another.analysis": "Iniciar Outro...", "select.command": "Selecionar um comando...", - "active.analysis": "Executar Code Analysis no Arquivo Ativo", - "all.analysis": "Executar Code Analysis em Todos os Arquivos", - "open.analysis": "Executar Code Analysis em Abrir Arquivos", + "active.analysis": "Executar Análise de Código no Arquivo Ativo", + "all.analysis": "Executar Análise de Código em Todos os Arquivos", + "open.analysis": "Executar Análise de Código em Abrir Arquivos", "c.cpp.references.statusbar": "Status de Referências do C/C++", "c.cpp.configuration.tooltip": "Configuração de C/C++", "c.cpp.configureIntelliSenseStatus.cppText": "C/C++ Configurar IntelliSense", diff --git a/Extension/i18n/ptb/walkthrough/installcompiler/install-compiler-windows.md.i18n.json b/Extension/i18n/ptb/walkthrough/installcompiler/install-compiler-windows.md.i18n.json index 693788e811..69ca126dc1 100644 --- a/Extension/i18n/ptb/walkthrough/installcompiler/install-compiler-windows.md.i18n.json +++ b/Extension/i18n/ptb/walkthrough/installcompiler/install-compiler-windows.md.i18n.json @@ -17,7 +17,7 @@ "walkthrough.windows.note1": "Observação", "walkthrough.windows.note1.text": "Você pode usar o conjunto de ferramentas C++ das Ferramentas de Build do Visual Studio junto com o Visual Studio Code para compilar, construir e verificar qualquer base de código C++, contanto que também tenha uma licença válida do Visual Studio (Community, Pro ou Enterprise) que esteja ativamente usando para desenvolver essa base de código C++.", "walkthrough.windows.open.command.prompt": "Abra o {0} digitando 'desenvolvedor' no menu Iniciar do Windows.", - "walkthrough.windows.command.prompt.name1": "Prompt de comando do desenvolvedor para VS", + "walkthrough.windows.command.prompt.name1": "Prompt de comando developer para VS", "walkthrough.windows.check.install": "Verifique a instalação do MSVC digitando {0} no Prompt de comando do desenvolvedor para VS. Você deve ver uma mensagem de copyright com a versão e a descrição básica de uso.", "walkthrough.windows.note2": "Observação", "walkthrough.windows.note2.text": "Para usar o MSVC a partir da linha de comando ou Código VS, você deve executar a partir de um {0}. Um shell comum como {1}, {2} ou o prompt de comando do Windows não possui as variáveis ​​de ambiente de caminho necessárias definidas.", diff --git a/Extension/i18n/ptb/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json b/Extension/i18n/ptb/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json index e401ff4da0..43c5f573bc 100644 --- a/Extension/i18n/ptb/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json +++ b/Extension/i18n/ptb/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json @@ -11,7 +11,7 @@ "walkthrough.windows.note1.text": "Você pode usar o conjunto de ferramentas C++ das Ferramentas de Build do Visual Studio junto com o Visual Studio Code para compilar, construir e verificar qualquer base de código C++, contanto que também tenha uma licença válida do Visual Studio (Community, Pro ou Enterprise) que esteja ativamente usando para desenvolver essa base de código C++.", "walkthrough.windows.verify.compiler": "Verificando a instalação do compilador", "walkthrough.windows.open.command.prompt": "Abra o {0} digitando 'desenvolvedor' no menu Iniciar do Windows.", - "walkthrough.windows.command.prompt.name1": "Prompt de comando do desenvolvedor para VS", + "walkthrough.windows.command.prompt.name1": "Prompt de comando developer para VS", "walkthrough.windows.check.install": "Verifique a instalação do MSVC digitando {0} no Prompt de comando do desenvolvedor para VS. Você deve ver uma mensagem de copyright com a versão e a descrição básica de uso.", "walkthrough.windows.note2": "Observação", "walkthrough.windows.note2.text": "Para usar o MSVC a partir da linha de comando ou Código VS, você deve executar a partir de um {0}. Um shell comum como {1}, {2} ou o prompt de comando do Windows não possui as variáveis ​​de ambiente de caminho necessárias definidas.", diff --git a/Extension/i18n/ptb/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json b/Extension/i18n/ptb/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json index e401ff4da0..43c5f573bc 100644 --- a/Extension/i18n/ptb/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json +++ b/Extension/i18n/ptb/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json @@ -11,7 +11,7 @@ "walkthrough.windows.note1.text": "Você pode usar o conjunto de ferramentas C++ das Ferramentas de Build do Visual Studio junto com o Visual Studio Code para compilar, construir e verificar qualquer base de código C++, contanto que também tenha uma licença válida do Visual Studio (Community, Pro ou Enterprise) que esteja ativamente usando para desenvolver essa base de código C++.", "walkthrough.windows.verify.compiler": "Verificando a instalação do compilador", "walkthrough.windows.open.command.prompt": "Abra o {0} digitando 'desenvolvedor' no menu Iniciar do Windows.", - "walkthrough.windows.command.prompt.name1": "Prompt de comando do desenvolvedor para VS", + "walkthrough.windows.command.prompt.name1": "Prompt de comando developer para VS", "walkthrough.windows.check.install": "Verifique a instalação do MSVC digitando {0} no Prompt de comando do desenvolvedor para VS. Você deve ver uma mensagem de copyright com a versão e a descrição básica de uso.", "walkthrough.windows.note2": "Observação", "walkthrough.windows.note2.text": "Para usar o MSVC a partir da linha de comando ou Código VS, você deve executar a partir de um {0}. Um shell comum como {1}, {2} ou o prompt de comando do Windows não possui as variáveis ​​de ambiente de caminho necessárias definidas.", diff --git a/Extension/i18n/rus/package.i18n.json b/Extension/i18n/rus/package.i18n.json index 5377643c90..f36089737a 100644 --- a/Extension/i18n/rus/package.i18n.json +++ b/Extension/i18n/rus/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "Переключить заголовок/источник", "c_cpp.command.enableErrorSquiggles.title": "Включить волнистые линии для ошибок", "c_cpp.command.disableErrorSquiggles.title": "Отключить волнистые линии для ошибок", - "c_cpp.command.toggleIncludeFallback.title": "Переключить резервный вариант подсистемы IntelliSense при ошибках включения", "c_cpp.command.toggleDimInactiveRegions.title": "Переключить раскраску неактивных областей", "c_cpp.command.resetDatabase.title": "Сброс базы данных IntelliSense", "c_cpp.command.takeSurvey.title": "Пройти опрос", @@ -37,9 +36,9 @@ "c_cpp.command.GoToNextDirectiveInGroup.title": "Перейти к следующей директиве препроцессора в условной группе", "c_cpp.command.GoToPrevDirectiveInGroup.title": "Перейти к предыдущей директиве препроцессора в условной группе", "c_cpp.command.CreateDeclarationOrDefinition.title": "Создать объявление или определение", - "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Запустить Code Analysis в активном файле", - "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Запустить Code Analysis в открытых файлах", - "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Запустить Code Analysis во всех файлах", + "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Запустить анализ кода в активном файле", + "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Запустить анализ кода в открытых файлах", + "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Запустить анализ кода во всех файлах", "c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Очистка всех проблем анализа кода", "c_cpp.command.BuildAndDebugFile.title": "Выполнить отладку файла C/C++", "c_cpp.command.BuildAndRunFile.title": "Запустить файл C/C++", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "Максимальное число одновременных потоков, используемых при выполнении анализа кода. При заданном по умолчанию значении `null` (пусто) используется половина значения, унаследованного от `#C_Cpp.maxConcurrentThreads#`.", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "После превышения этого объема используемой памяти (в МБ) одновременно будет запускаться меньше процессов анализа кода. При заданном по умолчанию значении `null` (пусто) используется значение, унаследованное от `#C_Cpp.maxMemory#`.", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "Задает задержку в миллисекундах перед началом выполнения анализа кода после сигнала к сохранению изменяемого элемента, когда свойство `#files.autoSave#` имеет значение `afterDelay`, а свойство `#C_Cpp.codeAnalysis.runAutomatically#` — значение `true`.", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Настройка стандартных масок для исключения папок и файлов при анализе кода. Файлы, не входящие в папку рабочей области, всегда исключаются. Наследуются значения из `#files.exclude#` и `#C_Cpp.files.exclude#`. Дополнительные сведения о стандартных масках см. [здесь](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Настройка стандартных масок для исключения папок и файлов при анализе кода. Файлы, не входящие в папку рабочей области, всегда исключаются. Наследуются значения из `#files.exclude#` и `#C_Cpp.files.exclude#`. Дополнительные сведения о [шаблонах глобусов](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "Стандартная маска, соответствующая путям к файлам. Задайте значение `true` или `false`, чтобы включить или отключить маску.", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "Дополнительная проверка элементов того же уровня соответствующего файла. Используйте `$(basename)` в качестве переменной для соответствующего имени файла.", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "При значении `true` после открытия или сохранения файла анализ кода будет выполняться для него автоматически.", @@ -184,7 +183,6 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "Предоставляет результаты, зависящие от контекста, с помощью отдельного процесса IntelliSense.", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "Предоставляет \"нечеткие\" результаты, не зависящие от контекста.", "c_cpp.configuration.intelliSenseEngine.disabled.description": "Отключает компоненты службы языка C/C++.", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "Определяет, будет ли подсистема IntelliSense автоматически переключаться на анализатор тегов для единиц трансляции, содержащих ошибки `#include`.", "c_cpp.configuration.autocomplete.markdownDescription": "Управляет поставщиком автозавершения. Если присвоено значение `disabled`, и вам требуется завершение по словам, также настройте `\"[cpp]\": {\"editor.wordBasedSuggestions\": }` (и аналогично для языков `c` и `cuda-cpp`).", "c_cpp.configuration.autocomplete.default.description": "Использует активную подсистему IntelliSense.", "c_cpp.configuration.autocomplete.disabled.description": "Использует завершение на основе слов, предоставляемое Visual Studio Code.", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Добавьте пути включения из `nan` и `node-addon-api`, если они являются зависимостями.", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "Если этот параметр имеет значение `true`, для операции 'Переименование символа' потребуется указать допустимый идентификатор C/C++.", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "Если присвоено значение `true`, автозаполнение автоматически добавит `(` после вызовов функции, при этом также может добавляться `)` в зависимости от значения параметра `#editor.autoClosingBrackets#`.", - "c_cpp.configuration.filesExclude.markdownDescription": "Настройка стандартных масок для исключения папок (и файлов, если внесено изменение в `#C_Cpp.exclusionPolicy#`). Они специфичны для расширения C/C++ и дополняют `#files.exclude#`, но в отличие от `#files.exclude#` они применяются также к путям вне папки используемой рабочей области и не удаляются из представления обозревателя. Дополнительные сведения о стандартных масках см. [здесь](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", + "c_cpp.configuration.filesExclude.markdownDescription": "Настройка стандартных масок для исключения папок (и файлов, если внесено изменение в `#C_Cpp.exclusionPolicy#`). Они специфичны для расширения C/C++ и дополняют `#files.exclude#`, но в отличие от `#files.exclude#` они применяются также к путям вне папки используемой рабочей области и не удаляются из представления обозревателя. Дополнительные сведения о [шаблонах глобусов](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "Стандартная маска, соответствующая путям к файлам. Задайте значение `true` или `false`, чтобы включить или отключить маску.", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "Дополнительная проверка элементов того же уровня соответствующего файла. Используйте `$(basename)` в качестве переменной для соответствующего имени файла.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "Если задано значение `true`, для подстановки команд оболочки отладчика будет использоваться устаревший обратный апостроф ``(`)``.", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "Определяет, следует ли включать файл заголовка переработанной функции/символа в соответствующий исходный файл при выполнении действия рефакторинга, например при создании объявления/определения.", "c_cpp.configuration.refactoring.includeHeader.always.description": "Всегда включать файл заголовка, если он не включен явным образом в исходный файл.", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "Включать файл заголовка, только если он не включен явным образом в исходный файл или путем неявного включения.", - "c_cpp.configuration.refactoring.includeHeader.never.description": "Никогда не включать файл заголовка." + "c_cpp.configuration.refactoring.includeHeader.never.description": "Никогда не включать файл заголовка.", + "c_cpp.languageModelTools.configuration.displayName": "Конфигурация C/C++", + "c_cpp.languageModelTools.configuration.userDescription": "Конфигурация активного файла C или C++, например, версия стандарта языка и целевая платформа." } \ No newline at end of file diff --git a/Extension/i18n/rus/src/LanguageServer/ui.i18n.json b/Extension/i18n/rus/src/LanguageServer/ui.i18n.json index d0498f1cd5..f3c7d21aad 100644 --- a/Extension/i18n/rus/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/rus/src/LanguageServer/ui.i18n.json @@ -13,9 +13,9 @@ "complete.tagparser.text": "Анализ завершен", "rescan.tagparse.text": "Повторное сканирование рабочей области", "c.cpp.parsing.open.files.tooltip": "Анализ открытых файлов", - "running.analysis.text": "Code Analysis: запуск", - "paused.analysis.text": "Code Analysis: приостановлено", - "mode.analysis.prefix": "Режим Code Analysis: ", + "running.analysis.text": "Анализ кода: запуск", + "paused.analysis.text": "Анализ кода: приостановлено", + "mode.analysis.prefix": "Режим анализа кода: ", "click.to.preview": "щелкните для предварительного просмотра результатов", "c.cpp.configureIntelliSenseStatus.text": "Настройка IntelliSense", "cpptools.status.intellisense": "Состояние IntelliSense C/C++", @@ -25,7 +25,7 @@ "cpptools.detail.tagparser": "Выполняется инициализация…", "tagparser.resume.text": "Возобновить", "tagparser.pause.text": "Приостановить", - "cpptools.status.codeanalysis": "Состояние Code Analysis C/C++", + "cpptools.status.codeanalysis": "Состояние анализа кода C/C++", "c.cpp.codeanalysis.statusbar.runNow": "Запустить сейчас", "mode.codeanalysis.status.automatic": "Автоматически", "mode.codeanalysis.status.manual": "Вручную", @@ -39,9 +39,9 @@ "pause.analysis": "Приостановить", "another.analysis": "Запустить другой...", "select.command": "Выберите команду...", - "active.analysis": "Запустить Code Analysis в активном файле", - "all.analysis": "Запустить Code Analysis во всех файлах", - "open.analysis": "Запустить Code Analysis в открытых файлах", + "active.analysis": "Запустить анализ кода в активном файле", + "all.analysis": "Запустить анализ кода во всех файлах", + "open.analysis": "Запустить анализ кода в открытых файлах", "c.cpp.references.statusbar": "Состояние ссылок C/C++", "c.cpp.configuration.tooltip": "Конфигурация C/C++", "c.cpp.configureIntelliSenseStatus.cppText": "Настройка IntelliSense C/C++", diff --git a/Extension/i18n/trk/package.i18n.json b/Extension/i18n/trk/package.i18n.json index 1757c8f539..dbfed7ef84 100644 --- a/Extension/i18n/trk/package.i18n.json +++ b/Extension/i18n/trk/package.i18n.json @@ -22,7 +22,6 @@ "c_cpp.command.switchHeaderSource.title": "Üst Bilgiyi/Kaynağı Değiştir", "c_cpp.command.enableErrorSquiggles.title": "Hata İlişkilendirmelerini Etkinleştir", "c_cpp.command.disableErrorSquiggles.title": "Hata İlişkilendirmelerini Devre Dışı Bırak", - "c_cpp.command.toggleIncludeFallback.title": "Ekleme Hatalarında IntelliSense Altyapısı Geri Dönüşünü Aç/Kapat", "c_cpp.command.toggleDimInactiveRegions.title": "Etkin Olmayan Bölge Renklendirmeyi Aç/Kapat", "c_cpp.command.resetDatabase.title": "IntelliSense Veritabanını Sıfırla", "c_cpp.command.takeSurvey.title": "Ankete Katılın", @@ -37,9 +36,9 @@ "c_cpp.command.GoToNextDirectiveInGroup.title": "Koşullu grupta sonraki ön işlemci yönergesine git", "c_cpp.command.GoToPrevDirectiveInGroup.title": "Koşullu grupta önceki ön işlemci yönergesine git", "c_cpp.command.CreateDeclarationOrDefinition.title": "Bildirim / Tanım Oluştur", - "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Aktif Dosyada Code Analysis’i Çalıştır", - "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Açık Dosyalarda Code Analysis’i Çalıştır", - "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Tüm Dosyalarda Code Analysis’i Çalıştır", + "c_cpp.command.RunCodeAnalysisOnActiveFile.title": "Aktif Dosyada Kod Analizini Çalıştır", + "c_cpp.command.RunCodeAnalysisOnOpenFiles.title": "Açık Dosyalarda Kod Analizini Çalıştır", + "c_cpp.command.RunCodeAnalysisOnAllFiles.title": "Tüm Dosyalarda Kod Analizini Çalıştır", "c_cpp.command.RemoveAllCodeAnalysisProblems.title": "Tüm Kod Analizi Sorunlarını Temizle", "c_cpp.command.BuildAndDebugFile.title": "C/C++ Dosyasında Hata Ayıklama", "c_cpp.command.BuildAndRunFile.title": "C/C++ Dosyasını Çalıştırın", @@ -65,7 +64,7 @@ "c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": "Kod analizi için kullanılacak maksimum eşzamanlı iş parçacığı sayısı. Varsayılan `null` (boş), `#C_Cpp.maxConcurrentThreads#` öğesinden devralınan değerin yarısını kullanır.", "c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": "Bu bellek kullanımı (MB cinsinden) aşıldıktan sonra daha az kod analizi işlemi aynı anda çalışır. Varsayılan `null` (boş), `#C_Cpp.maxMemory#` öğesinden devralınan değeri kullanır.", "c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": "`#files.autoSave#` değeri `afterDelay` ve `#C_Cpp.codeAnalysis.runAutomatically#` değeri `true` olduğunda, bir düzenlemeden bir kaydetme tetiklendikten sonra kod analizinin işlenmesine başlamadan önce geçen milisaniye cinsinden gecikmeyi kontrol eder.", - "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Kod analizi klasörleri ve dosyalarını hariç tutmak için glob desenlerini yapılandırın. Çalışma alanı klasörü altında olmayan dosyalar her zaman hariç tutulur. `#files.exclude#` ve `#C_Cpp.files.exclude#` öğelerinden değerleri devralır. Glob desenleri ile ilgili daha fazla bilgiyi [buradan](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) okuyun.", + "c_cpp.configuration.codeAnalysis.exclude.markdownDescription": "Klasörleri ve dosyaları kod analizi için hariç tutmak üzere glob desenlerini yapılandırın. Çalışma alanı klasörü altında olmayan dosyalar her zaman hariç tutulur. `#files.exclude#` ve `#C_Cpp.files.exclude#` öğelerinden değerleri devralır. [Glob desenleri](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) ile ilgili daha fazla bilgi edinin.", "c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": "Dosya yollarıyla eşleşecek glob deseni. Deseni etkinleştirmek veya devre dışı bırakmak için `true` ya da `false` olarak ayarlayın.", "c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": "Eşleşen bir dosyanın eşdüzey öğeleri üzerindeki ek denetim. Eşleşen dosya adı için değişken olarak `$(basename)` kullanın.", "c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": "`true` ise, dosya açıldıktan veya kaydedildikten sonra kod analizi otomatik olarak çalışır.", @@ -184,7 +183,6 @@ "c_cpp.configuration.intelliSenseEngine.default.description": "Ayrı bir IntelliSense işlemi aracılığıyla bağlama duyarlı sonuçlar sağlar.", "c_cpp.configuration.intelliSenseEngine.tagParser.description": "Bağlama duyarlı olmayan \"belirsiz\" sonuçlar sağlar.", "c_cpp.configuration.intelliSenseEngine.disabled.description": "C/C++ dil hizmeti özelliklerini kapatır.", - "c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": "IntelliSense altyapısının `#include` hatalarını içeren çeviri birimleri için otomatik olarak Etiket Ayrıştırıcısı'na geçip geçmeyeceğini denetler.", "c_cpp.configuration.autocomplete.markdownDescription": "Otomatik tamamlama sağlayıcısını kontrol eder. `disabled` ise ve sözcük tabanlı tamamlama istiyorsanız, aynı zamanda `\"[cpp]\": {\"editor.wordBasedSuggestions\": }` (ve aynı şekilde `c` ve `cuda-cpp` dilleri için) ayarını da belirlemeniz gerekir.", "c_cpp.configuration.autocomplete.default.description": "Etkin IntelliSense altyapısını kullanır.", "c_cpp.configuration.autocomplete.disabled.description": "Visual Studio Code tarafından sağlanan sözcük tabanlı tamamlamayı kullanır.", @@ -257,7 +255,7 @@ "c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "`nan` ve `node-addon-api` bağımlılık olduğunda bunlardan ekleme yolları ekleyin.", "c_cpp.configuration.renameRequiresIdentifier.markdownDescription": "`true` ise, 'Sembolü Yeniden Adlandır' işlemi için geçerli bir C/C++ tanımlayıcısı gerekir.", "c_cpp.configuration.autocompleteAddParentheses.markdownDescription": "`true` ise otomatik tamamla özelliği, işlev çağrılarından sonra otomatik olarak `(` ekler. Bazı durumlarda `#editor.autoClosingBrackets#` ayarının değerine bağlı olarak `)` karakteri de eklenebilir.", - "c_cpp.configuration.filesExclude.markdownDescription": "Klasörleri (ve `#C_Cpp.exclusionPolicy#` değiştirilirse dosyaları) hariç tutmak için glob desenlerini yapılandırın. Bunlar, C/C++ uzantısına özgüdür ve `#files.exclude#` öğesine ek olarak, ancak `#files.exclude#` öğesinden farklı olarak, geçerli çalışma alanı klasörünün dışındaki yollara da uygulanırlar ve Explorer görünümünden kaldırılmazlar. Glob desenleri ile ilgili daha fazla bilgiyi [buradan](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) okuyun.", + "c_cpp.configuration.filesExclude.markdownDescription": "Klasörleri (ve `#C_Cpp.exclusionPolicy#` değiştirilirse dosyaları) hariç tutmak için glob desenlerini yapılandırın. Bunlar, C/C++ uzantısına özgüdür ve `#files.exclude#` öğesine ek olarak, ancak `#files.exclude#` öğesinden farklı olarak, geçerli çalışma alanı klasörünün dışındaki yollara da uygulanırlar ve Explorer görünümünden kaldırılmazlar. [Glob desenleri](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) ile ilgili daha fazla bilgi edinin.", "c_cpp.configuration.filesExcludeBoolean.markdownDescription": "Dosya yollarıyla eşleşecek glob deseni. Deseni etkinleştirmek veya devre dışı bırakmak için `true` ya da `false` olarak ayarlayın.", "c_cpp.configuration.filesExcludeWhen.markdownDescription": "Eşleşen bir dosyanın eşdüzey öğeleri üzerindeki ek denetim. Eşleşen dosya adı için değişken olarak `$(basename)` kullanın.", "c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": "`true`ise, hata ayıklayıcı kabuk komut değiştirme eski kesme işaretini ``(`)`` kullanır.", @@ -448,5 +446,7 @@ "c_cpp.configuration.refactoring.includeHeader.markdownDescription": "Bildirim/tanım oluşturma gibi bir yeniden düzenleme eylemi gerçekleştirildiğinde, yeniden düzenlenen bir işlevin/sembolün üst bilgi dosyasının karşılık gelen kaynak dosyasına eklenmiş olup olmadığını kontrol eder.", "c_cpp.configuration.refactoring.includeHeader.always.description": "Kaynak dosyasına açıkça eklenmediyse, üst bilgi dosyasını her zaman dahil et.", "c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "Üst bilgi dosyasını yalnızca kaynak dosyasına açıkça eklenmediyse veya örtük ekleme yoluyla dahil et.", - "c_cpp.configuration.refactoring.includeHeader.never.description": "Üst bilgi dosyasını hiçbir zaman ekleme." + "c_cpp.configuration.refactoring.includeHeader.never.description": "Üst bilgi dosyasını hiçbir zaman ekleme.", + "c_cpp.languageModelTools.configuration.displayName": "C/C++ yapılandırması", + "c_cpp.languageModelTools.configuration.userDescription": "Dil standardı sürümü ve hedef platform gibi etkin C veya C++ dosyası yapılandırması." } diff --git a/Extension/i18n/trk/src/LanguageServer/ui.i18n.json b/Extension/i18n/trk/src/LanguageServer/ui.i18n.json index 56708e0b18..8c280d4f5e 100644 --- a/Extension/i18n/trk/src/LanguageServer/ui.i18n.json +++ b/Extension/i18n/trk/src/LanguageServer/ui.i18n.json @@ -13,9 +13,9 @@ "complete.tagparser.text": "Ayrıştırma Tamamlandı", "rescan.tagparse.text": "Çalışma Alanını Yeniden Tara", "c.cpp.parsing.open.files.tooltip": "Açık Dosyalar Ayrıştırılıyor", - "running.analysis.text": "Code Analysis: Çalışıyor", - "paused.analysis.text": "Code Analysis: Duraklatıldı", - "mode.analysis.prefix": "Code Analysis Modu: ", + "running.analysis.text": "Kod Analizi: Çalışıyor", + "paused.analysis.text": "Kod Analizi: Duraklatıldı", + "mode.analysis.prefix": "Kod Analizi Modu: ", "click.to.preview": "sonuçların önizlemesini görüntülemek için tıklayın", "c.cpp.configureIntelliSenseStatus.text": "IntelliSense'i Yapılandır", "cpptools.status.intellisense": "C/C++ IntelliSense Durumu", @@ -25,7 +25,7 @@ "cpptools.detail.tagparser": "Başlatılıyor...", "tagparser.resume.text": "Sürdür", "tagparser.pause.text": "Duraklat", - "cpptools.status.codeanalysis": "C/C++ Code Analysis Durumu", + "cpptools.status.codeanalysis": "C/C++ Kod Analizi Durumu", "c.cpp.codeanalysis.statusbar.runNow": "Şimdi Çalıştır", "mode.codeanalysis.status.automatic": "Otomatik", "mode.codeanalysis.status.manual": "El ile", @@ -39,9 +39,9 @@ "pause.analysis": "Duraklat", "another.analysis": "Başkasını Başlat...", "select.command": "Komut seç...", - "active.analysis": "Aktif Dosyada Code Analysis’i Çalıştır", - "all.analysis": "Tüm Dosyalarda Code Analysis’i Çalıştır", - "open.analysis": "Açık Dosyalarda Code Analysis’i Çalıştır", + "active.analysis": "Aktif Dosyada Kod Analizini Çalıştır", + "all.analysis": "Tüm Dosyalarda Kod Analizini Çalıştır", + "open.analysis": "Açık Dosyalarda Kod Analizini Çalıştır", "c.cpp.references.statusbar": "C/C++ Başvuruları Durumu", "c.cpp.configuration.tooltip": "C/C++ Yapılandırması", "c.cpp.configureIntelliSenseStatus.cppText": "C/C++ IntelliSense'i Yapılandır", diff --git a/Extension/i18n/trk/walkthrough/installcompiler/install-compiler-windows.md.i18n.json b/Extension/i18n/trk/walkthrough/installcompiler/install-compiler-windows.md.i18n.json index a6e1ef92ef..5473c3d9ec 100644 --- a/Extension/i18n/trk/walkthrough/installcompiler/install-compiler-windows.md.i18n.json +++ b/Extension/i18n/trk/walkthrough/installcompiler/install-compiler-windows.md.i18n.json @@ -17,7 +17,7 @@ "walkthrough.windows.note1": "Not", "walkthrough.windows.note1.text": "Herhangi bir C++ kod temelini derlemek, oluşturmak ve doğrulamak için Visual Studio Code ile birlikte Visual Studio Derleme Araçları’nda bulunan C++ araç takımını kullanabilirsiniz. Bunun yanı sıra, bu C++ kod temelini geliştirmek için etkin olarak kullandığınız geçerli bir Visual Studio lisansına (Community, Pro veya Enterprise) sahip olursunuz.", "walkthrough.windows.open.command.prompt": "Windows Başlat menüsüne 'geliştirici' yazarak {0} açın.", - "walkthrough.windows.command.prompt.name1": "VS için Geliştirici Komut İstemi", + "walkthrough.windows.command.prompt.name1": "VS için Developer Komut İstemi", "walkthrough.windows.check.install": "VS için Geliştirici Komut İstemi’ne {0} yazarak MSVC yüklemenizi denetleyin. Sürüm ve temel kullanım açıklamasını içeren bir telif hakkı iletisi göreceksiniz.", "walkthrough.windows.note2": "Not", "walkthrough.windows.note2.text": "Komut satırından veya VS Code’dan MSVC’yi kullanmak için şuradan çalıştırmanız gerek: {0}. {1}, {2} veya Windows komut istemi gibi sıradan bir kabuk gerekli yol ortam değişkenleri kümesi içermez.", diff --git a/Extension/i18n/trk/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json b/Extension/i18n/trk/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json index f46f3850dd..4012a3d4a0 100644 --- a/Extension/i18n/trk/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json +++ b/Extension/i18n/trk/walkthrough/installcompiler/install-compiler-windows10.md.i18n.json @@ -11,7 +11,7 @@ "walkthrough.windows.note1.text": "Herhangi bir C++ kod temelini derlemek, oluşturmak ve doğrulamak için Visual Studio Code ile birlikte Visual Studio Derleme Araçları’nda bulunan C++ araç takımını kullanabilirsiniz. Bunun yanı sıra, bu C++ kod temelini geliştirmek için etkin olarak kullandığınız geçerli bir Visual Studio lisansına (Community, Pro veya Enterprise) sahip olursunuz.", "walkthrough.windows.verify.compiler": "Derleyici yüklemesi doğrulanıyor", "walkthrough.windows.open.command.prompt": "Windows Başlat menüsüne 'geliştirici' yazarak {0} açın.", - "walkthrough.windows.command.prompt.name1": "VS için Geliştirici Komut İstemi", + "walkthrough.windows.command.prompt.name1": "VS için Developer Komut İstemi", "walkthrough.windows.check.install": "VS için Geliştirici Komut İstemi’ne {0} yazarak MSVC yüklemenizi denetleyin. Sürüm ve temel kullanım açıklamasını içeren bir telif hakkı iletisi göreceksiniz.", "walkthrough.windows.note2": "Not", "walkthrough.windows.note2.text": "Komut satırından veya VS Code’dan MSVC’yi kullanmak için şuradan çalıştırmanız gerek: {0}. {1}, {2} veya Windows komut istemi gibi sıradan bir kabuk gerekli yol ortam değişkenleri kümesi içermez.", diff --git a/Extension/i18n/trk/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json b/Extension/i18n/trk/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json index f46f3850dd..4012a3d4a0 100644 --- a/Extension/i18n/trk/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json +++ b/Extension/i18n/trk/walkthrough/installcompiler/install-compiler-windows11.md.i18n.json @@ -11,7 +11,7 @@ "walkthrough.windows.note1.text": "Herhangi bir C++ kod temelini derlemek, oluşturmak ve doğrulamak için Visual Studio Code ile birlikte Visual Studio Derleme Araçları’nda bulunan C++ araç takımını kullanabilirsiniz. Bunun yanı sıra, bu C++ kod temelini geliştirmek için etkin olarak kullandığınız geçerli bir Visual Studio lisansına (Community, Pro veya Enterprise) sahip olursunuz.", "walkthrough.windows.verify.compiler": "Derleyici yüklemesi doğrulanıyor", "walkthrough.windows.open.command.prompt": "Windows Başlat menüsüne 'geliştirici' yazarak {0} açın.", - "walkthrough.windows.command.prompt.name1": "VS için Geliştirici Komut İstemi", + "walkthrough.windows.command.prompt.name1": "VS için Developer Komut İstemi", "walkthrough.windows.check.install": "VS için Geliştirici Komut İstemi’ne {0} yazarak MSVC yüklemenizi denetleyin. Sürüm ve temel kullanım açıklamasını içeren bir telif hakkı iletisi göreceksiniz.", "walkthrough.windows.note2": "Not", "walkthrough.windows.note2.text": "Komut satırından veya VS Code’dan MSVC’yi kullanmak için şuradan çalıştırmanız gerek: {0}. {1}, {2} veya Windows komut istemi gibi sıradan bir kabuk gerekli yol ortam değişkenleri kümesi içermez.", diff --git a/Extension/package.json b/Extension/package.json index 7ec7975b7a..cad8ec768c 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.22.8-main", + "version": "1.22.9-main", "publisher": "ms-vscode", "icon": "LanguageCCPP_color_128x.png", "readme": "README.md", @@ -38,8 +38,7 @@ "Snippets" ], "enabledApiProposals": [ - "terminalDataWriteEvent", - "lmTools" + "terminalDataWriteEvent" ], "capabilities": { "untrustedWorkspaces": { @@ -1837,6 +1836,8 @@ "android-cloexec-pipe2", "android-cloexec-socket", "android-comparison-in-temp-failure-retry", + "boost-use-*", + "boost-use-ranges", "boost-use-to-string", "bugprone-*", "bugprone-argument-comment", @@ -1884,9 +1885,11 @@ "bugprone-not-null-terminated-result", "bugprone-optional-value-conversion", "bugprone-parent-virtual-call", + "bugprone-pointer-arithmetic-on-polymorphic-object", "bugprone-posix-return", "bugprone-redundant-branch-condition", "bugprone-reserved-identifier", + "bugprone-return-const-ref-from-parameter", "bugprone-shared-ptr-array-mismatch", "bugprone-signal-handler", "bugprone-signed-char-misuse", @@ -1933,10 +1936,10 @@ "cert-con*", "cert-con36-c", "cert-con54-cpp", + "cert-ctr56-cpp", "cert-dcl*", "cert-dcl03-c", "cert-dcl16-c", - "cert-dcl21-cpp", "cert-dcl37-c", "cert-dcl50-cpp", "cert-dcl51-cpp", @@ -1957,6 +1960,7 @@ "cert-flp*", "cert-flp30-c", "cert-flp37-c", + "cert-int09-c", "cert-mem57-cpp", "cert-msc*", "cert-msc30-c", @@ -1994,6 +1998,7 @@ "clang-analyzer-core.uninitialized.UndefReturn", "clang-analyzer-core.VLASize", "clang-analyzer-cplusplus.*", + "clang-analyzer-cplusplus.ArrayDelete", "clang-analyzer-cplusplus.InnerPointer", "clang-analyzer-cplusplus.Move", "clang-analyzer-cplusplus.NewDelete", @@ -2024,6 +2029,7 @@ "clang-analyzer-optin.performance.GCDAntipattern", "clang-analyzer-optin.performance.Padding", "clang-analyzer-optin.portability.UnixAPI", + "clang-analyzer-optin.taint.TaintedAlloc", "clang-analyzer-osx.*", "clang-analyzer-osx.API", "clang-analyzer-osx.cocoa.*", @@ -2075,8 +2081,11 @@ "clang-analyzer-security.insecureAPI.strcpy", "clang-analyzer-security.insecureAPI.UncheckedReturn", "clang-analyzer-security.insecureAPI.vfork", + "clang-analyzer-security.PutenvStackArray", + "clang-analyzer-security.SetgidSetuidOrder", "clang-analyzer-unix.*", "clang-analyzer-unix.API", + "clang-analyzer-unix.BlockInCriticalSection", "clang-analyzer-unix.cstring.*", "clang-analyzer-unix.cstring.BadSizeArg", "clang-analyzer-unix.cstring.NullArg", @@ -2085,6 +2094,7 @@ "clang-analyzer-unix.MallocSizeof", "clang-analyzer-unix.MismatchedDeallocator", "clang-analyzer-unix.StdCLibraryFunctions", + "clang-analyzer-unix.Stream", "clang-analyzer-unix.Vfork", "clang-analyzer-valist.*", "clang-analyzer-valist.CopyToSelf", @@ -2216,7 +2226,7 @@ "hicpp-use-nullptr", "hicpp-use-override", "hicpp-vararg", - "linuxkernel-must-use-errs", + "linuxkernel-must-check-errs", "llvm-*", "llvm-else-after-return", "llvm-header-guard", @@ -2257,7 +2267,9 @@ "misc-unused-alias-decls", "misc-unused-parameters", "misc-unused-using-decls", + "misc-use-*", "misc-use-anonymous-namespace", + "misc-use-internal-linkage", "modernize-*", "modernize-avoid-*", "modernize-avoid-bind", @@ -2271,6 +2283,7 @@ "modernize-make-*", "modernize-make-shared", "modernize-make-unique", + "modernize-min-max-use-initializer-list", "modernize-pass-by-value", "modernize-raw-string-literal", "modernize-redundant-void-arg", @@ -2297,8 +2310,10 @@ "modernize-use-noexcept", "modernize-use-nullptr", "modernize-use-override", + "modernize-use-ranges", "modernize-use-starts-ends-with", "modernize-use-std-*", + "modernize-use-std-format", "modernize-use-std-numbers", "modernize-use-std-print", "modernize-use-trailing-return-type", @@ -2366,6 +2381,7 @@ "readability-delete-null-pointer", "readability-duplicate-include", "readability-else-after-return", + "readability-enum-initial-value", "readability-function-*", "readability-function-cognitive-complexity", "readability-function-size", @@ -2377,6 +2393,7 @@ "readability-isolate-declaration", "readability-magic-numbers", "readability-make-member-function-const", + "readability-math-missing-parentheses", "readability-misleading-indentation", "readability-misplaced-array-index", "readability-named-parameter", @@ -2473,6 +2490,8 @@ "android-cloexec-pipe2", "android-cloexec-socket", "android-comparison-in-temp-failure-retry", + "boost-use-*", + "boost-use-ranges", "boost-use-to-string", "bugprone-*", "bugprone-argument-comment", @@ -2520,9 +2539,11 @@ "bugprone-not-null-terminated-result", "bugprone-optional-value-conversion", "bugprone-parent-virtual-call", + "bugprone-pointer-arithmetic-on-polymorphic-object", "bugprone-posix-return", "bugprone-redundant-branch-condition", "bugprone-reserved-identifier", + "bugprone-return-const-ref-from-parameter", "bugprone-shared-ptr-array-mismatch", "bugprone-signal-handler", "bugprone-signed-char-misuse", @@ -2569,10 +2590,10 @@ "cert-con*", "cert-con36-c", "cert-con54-cpp", + "cert-ctr56-cpp", "cert-dcl*", "cert-dcl03-c", "cert-dcl16-c", - "cert-dcl21-cpp", "cert-dcl37-c", "cert-dcl50-cpp", "cert-dcl51-cpp", @@ -2593,6 +2614,7 @@ "cert-flp*", "cert-flp30-c", "cert-flp37-c", + "cert-int09-c", "cert-mem57-cpp", "cert-msc*", "cert-msc30-c", @@ -2630,6 +2652,7 @@ "clang-analyzer-core.uninitialized.UndefReturn", "clang-analyzer-core.VLASize", "clang-analyzer-cplusplus.*", + "clang-analyzer-cplusplus.ArrayDelete", "clang-analyzer-cplusplus.InnerPointer", "clang-analyzer-cplusplus.Move", "clang-analyzer-cplusplus.NewDelete", @@ -2660,6 +2683,7 @@ "clang-analyzer-optin.performance.GCDAntipattern", "clang-analyzer-optin.performance.Padding", "clang-analyzer-optin.portability.UnixAPI", + "clang-analyzer-optin.taint.TaintedAlloc", "clang-analyzer-osx.*", "clang-analyzer-osx.API", "clang-analyzer-osx.cocoa.*", @@ -2711,8 +2735,11 @@ "clang-analyzer-security.insecureAPI.strcpy", "clang-analyzer-security.insecureAPI.UncheckedReturn", "clang-analyzer-security.insecureAPI.vfork", + "clang-analyzer-security.PutenvStackArray", + "clang-analyzer-security.SetgidSetuidOrder", "clang-analyzer-unix.*", "clang-analyzer-unix.API", + "clang-analyzer-unix.BlockInCriticalSection", "clang-analyzer-unix.cstring.*", "clang-analyzer-unix.cstring.BadSizeArg", "clang-analyzer-unix.cstring.NullArg", @@ -2721,6 +2748,7 @@ "clang-analyzer-unix.MallocSizeof", "clang-analyzer-unix.MismatchedDeallocator", "clang-analyzer-unix.StdCLibraryFunctions", + "clang-analyzer-unix.Stream", "clang-analyzer-unix.Vfork", "clang-analyzer-valist.*", "clang-analyzer-valist.CopyToSelf", @@ -2852,7 +2880,7 @@ "hicpp-use-nullptr", "hicpp-use-override", "hicpp-vararg", - "linuxkernel-must-use-errs", + "linuxkernel-must-check-errs", "llvm-*", "llvm-else-after-return", "llvm-header-guard", @@ -2893,7 +2921,9 @@ "misc-unused-alias-decls", "misc-unused-parameters", "misc-unused-using-decls", + "misc-use-*", "misc-use-anonymous-namespace", + "misc-use-internal-linkage", "modernize-*", "modernize-avoid-*", "modernize-avoid-bind", @@ -2907,6 +2937,7 @@ "modernize-make-*", "modernize-make-shared", "modernize-make-unique", + "modernize-min-max-use-initializer-list", "modernize-pass-by-value", "modernize-raw-string-literal", "modernize-redundant-void-arg", @@ -2933,8 +2964,10 @@ "modernize-use-noexcept", "modernize-use-nullptr", "modernize-use-override", + "modernize-use-ranges", "modernize-use-starts-ends-with", "modernize-use-std-*", + "modernize-use-std-format", "modernize-use-std-numbers", "modernize-use-std-print", "modernize-use-trailing-return-type", @@ -3002,6 +3035,7 @@ "readability-delete-null-pointer", "readability-duplicate-include", "readability-else-after-return", + "readability-enum-initial-value", "readability-function-*", "readability-function-cognitive-complexity", "readability-function-size", @@ -3013,6 +3047,7 @@ "readability-isolate-declaration", "readability-magic-numbers", "readability-make-member-function-const", + "readability-math-missing-parentheses", "readability-misleading-indentation", "readability-misplaced-array-index", "readability-named-parameter", @@ -6444,17 +6479,14 @@ ], "languageModelTools": [ { - "id": "cpptools-lmtool-configuration", - "name": "cpp", + "name": "cpptools-lmtool-configuration", + "toolReferenceName": "cpp", "displayName": "%c_cpp.languageModelTools.configuration.displayName%", - "canBeInvokedManually": true, + "canBeReferencedInPrompt": true, "userDescription": "%c_cpp.languageModelTools.configuration.userDescription%", "modelDescription": "For the active C or C++ file, this tool provides: the language (C, C++, or CUDA), the language standard version (such as C++11, C++14, C++17, or C++20), the compiler (such as GCC, Clang, or MSVC), the target platform (such as x86, x64, or ARM), and the target architecture (such as 32-bit or 64-bit).", "icon": "$(file-code)", - "when": "(config.C_Cpp.experimentalFeatures =~ /^[eE]nabled$/)", - "supportedContentTypes": [ - "text/plain" - ] + "when": "(config.C_Cpp.experimentalFeatures =~ /^[eE]nabled$/)" } ] }, @@ -6490,8 +6522,10 @@ "@types/node": "^20.14.2", "@types/node-fetch": "^2.6.11", "@types/plist": "^3.0.5", + "@types/proxyquire": "^1.3.31", "@types/semver": "^7.5.8", "@types/shell-quote": "^1.7.5", + "@types/sinon": "^17.0.3", "@types/tmp": "^0.2.6", "@types/which": "^2.0.2", "@types/yauzl": "^2.10.3", @@ -6519,6 +6553,8 @@ "parse-git-config": "^3.0.0", "parse5": "^7.1.2", "parse5-traverse": "^1.0.3", + "proxyquire": "^2.1.3", + "sinon": "^19.0.2", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "typescript": "^5.4.5", diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 04dcaba701..7d4d81d5ad 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -2387,7 +2387,9 @@ export class DefaultClient implements Client { } this.updateInactiveRegions(intelliSenseResult.uri, intelliSenseResult.inactiveRegions, intelliSenseResult.clearExistingInactiveRegions, intelliSenseResult.isCompletePass); - this.updateSquiggles(intelliSenseResult.uri, intelliSenseResult.diagnostics, intelliSenseResult.clearExistingDiagnostics); + if (intelliSenseResult.clearExistingDiagnostics || intelliSenseResult.diagnostics.length > 0) { + this.updateSquiggles(intelliSenseResult.uri, intelliSenseResult.diagnostics, intelliSenseResult.clearExistingDiagnostics); + } } private updateSquiggles(uriString: string, diagnostics: IntelliSenseDiagnostic[], startNewSet: boolean): void { diff --git a/Extension/src/LanguageServer/codeAnalysis.ts b/Extension/src/LanguageServer/codeAnalysis.ts index c709516d5a..155f9fad34 100644 --- a/Extension/src/LanguageServer/codeAnalysis.ts +++ b/Extension/src/LanguageServer/codeAnalysis.ts @@ -122,7 +122,7 @@ export const codeAnalysisAllFixes: CodeActionAllInfo = { command: { title: 'FixAllCodeAnalysisProblems', command: 'C_Cpp.FixAllCodeAnalysisProblems', - arguments: [ 0, undefined, true, [] ] + arguments: [0, undefined, true, []] }, kind: vscode.CodeActionKind.QuickFix }, @@ -179,7 +179,7 @@ function rebuildCodeAnalysisCodeAndAllFixes(): void { command: { title: 'FixAllTypeCodeAnalysisProblems', command: 'C_Cpp.FixAllTypeCodeAnalysisProblems', - arguments: [ codeToFixes[0], ++codeToFixes[1].version, allTypeWorkspaceEdit, true, identifiersAndUris ] + arguments: [codeToFixes[0], ++codeToFixes[1].version, allTypeWorkspaceEdit, true, identifiersAndUris] }, kind: vscode.CodeActionKind.QuickFix }; @@ -191,7 +191,7 @@ function rebuildCodeAnalysisCodeAndAllFixes(): void { command: { title: 'DisableAllTypeCodeAnalysisProblems', command: 'C_Cpp.DisableAllTypeCodeAnalysisProblems', - arguments: [ codeToFixes[0], identifiersAndUris ] + arguments: [codeToFixes[0], identifiersAndUris] }, kind: vscode.CodeActionKind.QuickFix }; @@ -205,7 +205,7 @@ function rebuildCodeAnalysisCodeAndAllFixes(): void { command: { title: 'RemoveAllTypeCodeAnalysisProblems', command: 'C_Cpp.RemoveCodeAnalysisProblems', - arguments: [ false, identifiersAndUris ] + arguments: [false, identifiersAndUris] }, kind: vscode.CodeActionKind.QuickFix }; @@ -259,7 +259,7 @@ export function publishCodeAnalysisDiagnostics(params: PublishCodeAnalysisDiagno const diagnostic: vscode.Diagnostic = new vscode.Diagnostic(makeVscodeRange(d.range), getLocalizedString(d.localizeStringParams), d.severity); const identifier: CodeAnalysisDiagnosticIdentifier = { range: d.range, code: d.code }; - const identifiersAndUri: CodeAnalysisDiagnosticIdentifiersAndUri = { uri: params.uri, identifiers: [ identifier ] }; + const identifiersAndUri: CodeAnalysisDiagnosticIdentifiersAndUri = { uri: params.uri, identifiers: [identifier] }; const codeAction: CodeActionDiagnosticInfo = { version: nextVersion, range: makeVscodeRange(identifier.range), @@ -269,7 +269,7 @@ export function publishCodeAnalysisDiagnostics(params: PublishCodeAnalysisDiagno command: { title: 'RemoveCodeAnalysisProblems', command: 'C_Cpp.RemoveCodeAnalysisProblems', - arguments: [ false, [ identifiersAndUri ] ] + arguments: [false, [identifiersAndUri]] }, kind: vscode.CodeActionKind.QuickFix } @@ -285,7 +285,7 @@ export function publishCodeAnalysisDiagnostics(params: PublishCodeAnalysisDiagno command: { title: 'FixThisCodeAnalysisProblem', command: 'C_Cpp.FixThisCodeAnalysisProblem', - arguments: [ nextVersion, codeActionWorkspaceEdit.workspaceEdit, true, [ identifiersAndUri ] ] + arguments: [nextVersion, codeActionWorkspaceEdit.workspaceEdit, true, [identifiersAndUri]] }, kind: vscode.CodeActionKind.QuickFix }; @@ -313,13 +313,14 @@ export function publishCodeAnalysisDiagnostics(params: PublishCodeAnalysisDiagno } const relatedIdentifier: CodeAnalysisDiagnosticIdentifier = { range: info.location.range, code: d.code }; const relatedIdentifiersAndUri: CodeAnalysisDiagnosticIdentifiersAndUri = { - uri: info.location.uri, identifiers: [ relatedIdentifier ] }; + uri: info.location.uri, identifiers: [relatedIdentifier] + }; const relatedCodeAction: vscode.CodeAction = { title: localize("fix.this.problem", "Fix this {0} problem", d.code), command: { title: 'FixThisCodeAnalysisProblem', command: 'C_Cpp.FixThisCodeAnalysisProblem', - arguments: [ nextVersion, relatedWorkspaceEdit, true, [ relatedIdentifiersAndUri ] ] + arguments: [nextVersion, relatedWorkspaceEdit, true, [relatedIdentifiersAndUri]] }, kind: vscode.CodeActionKind.QuickFix }; @@ -334,7 +335,7 @@ export function publishCodeAnalysisDiagnostics(params: PublishCodeAnalysisDiagno }; relatedCodeActions.push(relatedCodeActionInfo); } - rootAndRelatedWorkspaceEdits.push({ workspaceEdit: relatedWorkspaceEdit}); + rootAndRelatedWorkspaceEdits.push({ workspaceEdit: relatedWorkspaceEdit }); rootAndRelatedIdentifiersAndUris.push(relatedIdentifiersAndUri); } } @@ -349,7 +350,7 @@ export function publishCodeAnalysisDiagnostics(params: PublishCodeAnalysisDiagno const rootAndRelatedWorkspaceEdit: CodeActionWorkspaceEdit = rootAndRelatedWorkspaceEdits[rootAndRelatedWorkspaceEditsIndex]; if (rootAndRelatedWorkspaceEdit !== undefined) { if (existingInfo.workspaceEdits === undefined) { - existingInfo.workspaceEdits = [ rootAndRelatedWorkspaceEdit ]; + existingInfo.workspaceEdits = [rootAndRelatedWorkspaceEdit]; } else { existingInfo.workspaceEdits.push(rootAndRelatedWorkspaceEdit); } @@ -378,7 +379,7 @@ export function publishCodeAnalysisDiagnostics(params: PublishCodeAnalysisDiagno docPage = `checks${checksGroup}/${checksPage}.html`; } // TODO: This should be checking the clang-tidy version used to better support usage of older versions. - const primaryDocUri: vscode.Uri = vscode.Uri.parse(`https://releases.llvm.org/18.1.6/tools/clang/tools/extra/docs/clang-tidy/${docPage}`); + const primaryDocUri: vscode.Uri = vscode.Uri.parse(`https://releases.llvm.org/19.1.0/tools/clang/tools/extra/docs/clang-tidy/${docPage}`); diagnostic.code = { value: identifier.code, target: primaryDocUri }; if (new CppSettings().clangTidyCodeActionShowDocumentation) { @@ -388,7 +389,7 @@ export function publishCodeAnalysisDiagnostics(params: PublishCodeAnalysisDiagno command: { title: 'ShowDocumentation', command: 'C_Cpp.ShowCodeAnalysisDocumentation', - arguments: [ primaryDocUri ] + arguments: [primaryDocUri] }, kind: vscode.CodeActionKind.QuickFix }; diff --git a/Extension/src/LanguageServer/copilotProviders.ts b/Extension/src/LanguageServer/copilotProviders.ts new file mode 100644 index 0000000000..f23554f76d --- /dev/null +++ b/Extension/src/LanguageServer/copilotProviders.ts @@ -0,0 +1,103 @@ +/* -------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All Rights Reserved. + * See 'LICENSE' in the project root for license information. + * ------------------------------------------------------------------------------------------ */ +'use strict'; + +import * as vscode from 'vscode'; +import * as util from '../common'; +import { ChatContextResult, GetIncludesResult } from './client'; +import { getActiveClient } from './extension'; + +export interface CopilotTrait { + name: string; + value: string; + includeInPrompt?: boolean; + promptTextOverride?: string; +} + +export interface CopilotApi { + registerRelatedFilesProvider( + providerId: { extensionId: string; languageId: string }, + callback: ( + uri: vscode.Uri, + context: { flags: Record }, + cancellationToken: vscode.CancellationToken + ) => Promise<{ entries: vscode.Uri[]; traits?: CopilotTrait[] }> + ): Disposable; +} + +export async function registerRelatedFilesProvider(): Promise { + const api = await getCopilotApi(); + if (util.extensionContext && api) { + try { + for (const languageId of ['c', 'cpp', 'cuda-cpp']) { + api.registerRelatedFilesProvider( + { extensionId: util.extensionContext.extension.id, languageId }, + async (_uri: vscode.Uri, context: { flags: Record }, token: vscode.CancellationToken) => { + + const getIncludesHandler = async () => (await getIncludesWithCancellation(1, token))?.includedFiles.map(file => vscode.Uri.file(file)) ?? []; + const getTraitsHandler = async () => { + const chatContext: ChatContextResult | undefined = await (getActiveClient().getChatContext(token) ?? undefined); + + if (!chatContext) { + return undefined; + } + + let traits: CopilotTrait[] = [ + { name: "language", value: chatContext.language, includeInPrompt: true, promptTextOverride: `The language is ${chatContext.language}.` }, + { name: "compiler", value: chatContext.compiler, includeInPrompt: true, promptTextOverride: `This project compiles using ${chatContext.compiler}.` }, + { name: "standardVersion", value: chatContext.standardVersion, includeInPrompt: true, promptTextOverride: `This project uses the ${chatContext.standardVersion} language standard.` }, + { name: "targetPlatform", value: chatContext.targetPlatform, includeInPrompt: true, promptTextOverride: `This build targets ${chatContext.targetPlatform}.` }, + { name: "targetArchitecture", value: chatContext.targetArchitecture, includeInPrompt: true, promptTextOverride: `This build targets ${chatContext.targetArchitecture}.` } + ]; + + const excludeTraits = context.flags.copilotcppExcludeTraits as string[] ?? []; + traits = traits.filter(trait => !excludeTraits.includes(trait.name)); + + return traits.length > 0 ? traits : undefined; + }; + + // Call both handlers in parallel + const traitsPromise = ((context.flags.copilotcppTraits as boolean) ?? false) ? getTraitsHandler() : Promise.resolve(undefined); + const includesPromise = getIncludesHandler(); + + return { entries: await includesPromise, traits: await traitsPromise }; + } + ); + } + } catch { + console.log("Failed to register Copilot related files provider."); + } + } +} + +async function getIncludesWithCancellation(maxDepth: number, token: vscode.CancellationToken): Promise { + const activeClient = getActiveClient(); + const includes = await activeClient.getIncludes(maxDepth, token); + const wksFolder = activeClient.RootUri?.toString(); + + if (!wksFolder) { + return includes; + } + + includes.includedFiles = includes.includedFiles.filter(header => vscode.Uri.file(header).toString().startsWith(wksFolder)); + return includes; +} + +export async function getCopilotApi(): Promise { + const copilotExtension = vscode.extensions.getExtension('github.copilot'); + if (!copilotExtension) { + return undefined; + } + + if (!copilotExtension.isActive) { + try { + return await copilotExtension.activate(); + } catch { + return undefined; + } + } else { + return copilotExtension.exports; + } +} diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index 47a7cd0342..c70abfb26b 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -20,9 +20,10 @@ import * as util from '../common'; import { getCrashCallStacksChannel } from '../logger'; import { PlatformInformation } from '../platform'; import * as telemetry from '../telemetry'; -import { Client, DefaultClient, DoxygenCodeActionCommandArguments, GetIncludesResult, openFileVersions } from './client'; +import { Client, DefaultClient, DoxygenCodeActionCommandArguments, openFileVersions } from './client'; import { ClientCollection } from './clientCollection'; import { CodeActionDiagnosticInfo, CodeAnalysisDiagnosticIdentifiersAndUri, codeAnalysisAllFixes, codeAnalysisCodeToFixes, codeAnalysisFileToCodeActions } from './codeAnalysis'; +import { registerRelatedFilesProvider } from './copilotProviders'; import { CppBuildTaskProvider } from './cppBuildTaskProvider'; import { getCustomConfigProviders } from './customProviders'; import { getLanguageConfig } from './languageConfig'; @@ -33,24 +34,6 @@ import { CppSettings } from './settings'; import { LanguageStatusUI, getUI } from './ui'; import { makeLspRange, rangeEquals, showInstallCompilerWalkthrough } from './utils'; -interface CopilotTrait { - name: string; - value: string; - includeInPrompt?: boolean; - promptTextOverride?: string; -} - -interface CopilotApi { - registerRelatedFilesProvider( - providerId: { extensionId: string; languageId: string }, - callback: ( - uri: vscode.Uri, - context: { flags: Record }, - cancellationToken: vscode.CancellationToken - ) => Promise<{ entries: vscode.Uri[]; traits?: CopilotTrait[] }> - ): Disposable; -} - nls.config({ messageFormat: nls.MessageFormat.bundle, bundleFormat: nls.BundleFormat.standalone })(); const localize: nls.LocalizeFunc = nls.loadMessageBundle(); export const CppSourceStr: string = "C/C++"; @@ -187,6 +170,7 @@ export async function activate(): Promise { }); disposables.push(vscode.workspace.onDidChangeConfiguration(onDidChangeSettings)); + disposables.push(vscode.workspace.onDidChangeTextDocument(onDidChangeTextDocument)); disposables.push(vscode.window.onDidChangeTextEditorVisibleRanges((e) => clients.ActiveClient.enqueue(async () => onDidChangeTextEditorVisibleRanges(e)))); disposables.push(vscode.window.onDidChangeActiveTextEditor((e) => clients.ActiveClient.enqueue(async () => onDidChangeActiveTextEditor(e)))); ui.didChangeActiveEditor(); // Handle already active documents (for non-cpp files that we don't register didOpen). @@ -201,8 +185,7 @@ export async function activate(): Promise { void clients.ActiveClient.ready.then(() => intervalTimer = global.setInterval(onInterval, 2500)); - const isRelatedFilesApiEnabled = await telemetry.isExperimentEnabled("CppToolsRelatedFilesApi"); - registerCommands(true, isRelatedFilesApiEnabled); + await registerCommands(true); vscode.tasks.onDidStartTask(() => getActiveClient().PauseCodeAnalysis()); @@ -274,22 +257,7 @@ export async function activate(): Promise { disposables.push(tool); } - if (isRelatedFilesApiEnabled) { - const api = await getCopilotApi(); - if (util.extensionContext && api) { - try { - for (const languageId of ['c', 'cpp', 'cuda-cpp']) { - api.registerRelatedFilesProvider( - { extensionId: util.extensionContext.extension.id, languageId }, - async (_uri: vscode.Uri, _context: { flags: Record }, token: vscode.CancellationToken) => - ({ entries: (await getIncludesWithCancellation(1, token))?.includedFiles.map(file => vscode.Uri.file(file)) ?? [] }) - ); - } - } catch { - console.log("Failed to register Copilot related files provider."); - } - } - } + await registerRelatedFilesProvider(); } export function updateLanguageConfigurations(): void { @@ -321,6 +289,11 @@ async function onDidChangeSettings(event: vscode.ConfigurationChangeEvent): Prom } } +async function onDidChangeTextDocument(event: vscode.TextDocumentChangeEvent): Promise { + const me: Client = clients.getClientFor(event.document.uri); + me.onDidChangeTextDocument(event); +} + let noActiveEditorTimeout: NodeJS.Timeout | undefined; async function onDidChangeTextEditorVisibleRanges(event: vscode.TextEditorVisibleRangesChangeEvent): Promise { @@ -386,7 +359,7 @@ function onInterval(): void { /** * registered commands */ -export function registerCommands(enabled: boolean, isRelatedFilesApiEnabled: boolean): void { +export async function registerCommands(enabled: boolean): Promise { commandDisposables.forEach(d => d.dispose()); commandDisposables.length = 0; commandDisposables.push(vscode.commands.registerCommand('C_Cpp.SwitchHeaderSource', enabled ? onSwitchHeaderSource : onDisabledCommand)); @@ -444,10 +417,6 @@ export function registerCommands(enabled: boolean, isRelatedFilesApiEnabled: boo commandDisposables.push(vscode.commands.registerCommand('C_Cpp.ExtractToFreeFunction', enabled ? () => onExtractToFunction(true, false) : onDisabledCommand)); commandDisposables.push(vscode.commands.registerCommand('C_Cpp.ExtractToMemberFunction', enabled ? () => onExtractToFunction(false, true) : onDisabledCommand)); commandDisposables.push(vscode.commands.registerCommand('C_Cpp.ExpandSelection', enabled ? (r: Range) => onExpandSelection(r) : onDisabledCommand)); - - if (!isRelatedFilesApiEnabled) { - commandDisposables.push(vscode.commands.registerCommand('C_Cpp.getIncludes', enabled ? (maxDepth: number) => getIncludes(maxDepth) : () => Promise.resolve())); - } } function onDisabledCommand() { @@ -1412,42 +1381,3 @@ export async function preReleaseCheck(): Promise { } } } - -export async function getIncludesWithCancellation(maxDepth: number, token: vscode.CancellationToken): Promise { - const includes = await clients.ActiveClient.getIncludes(maxDepth, token); - const wksFolder = clients.ActiveClient.RootUri?.toString(); - - if (!wksFolder) { - return includes; - } - - includes.includedFiles = includes.includedFiles.filter(header => vscode.Uri.file(header).toString().startsWith(wksFolder)); - return includes; -} - -async function getIncludes(maxDepth: number): Promise { - const tokenSource = new vscode.CancellationTokenSource(); - try { - const includes = await getIncludesWithCancellation(maxDepth, tokenSource.token); - return includes; - } finally { - tokenSource.dispose(); - } -} - -async function getCopilotApi(): Promise { - const copilotExtension = vscode.extensions.getExtension('github.copilot'); - if (!copilotExtension) { - return undefined; - } - - if (!copilotExtension.isActive) { - try { - return await copilotExtension.activate(); - } catch { - return undefined; - } - } else { - return copilotExtension.exports; - } -} diff --git a/Extension/src/LanguageServer/lmTool.ts b/Extension/src/LanguageServer/lmTool.ts index 5951377b4e..ed5be61a00 100644 --- a/Extension/src/LanguageServer/lmTool.ts +++ b/Extension/src/LanguageServer/lmTool.ts @@ -44,15 +44,10 @@ const knownValues: { [Property in keyof ChatContextResult]?: { [id: string]: str } }; -const plainTextContentType = 'text/plain'; - export class CppConfigurationLanguageModelTool implements vscode.LanguageModelTool { public async invoke(options: vscode.LanguageModelToolInvocationOptions, token: vscode.CancellationToken): Promise { - const result: vscode.LanguageModelToolResult = {}; - if (options.requestedContentTypes.includes(plainTextContentType)) { - result[plainTextContentType] = await this.getContext(token); - } - return result; + return new vscode.LanguageModelToolResult([ + new vscode.LanguageModelTextPart(await this.getContext(token))]); } private async getContext(token: vscode.CancellationToken): Promise { diff --git a/Extension/src/LanguageServer/protocolFilter.ts b/Extension/src/LanguageServer/protocolFilter.ts index 742727241b..4dddbbcc22 100644 --- a/Extension/src/LanguageServer/protocolFilter.ts +++ b/Extension/src/LanguageServer/protocolFilter.ts @@ -59,11 +59,7 @@ export function createProtocolFilter(): Middleware { } } }), - didChange: async (textDocumentChangeEvent, sendMessage) => clients.ActiveClient.enqueue(async () => { - const me: Client = clients.getClientFor(textDocumentChangeEvent.document.uri); - me.onDidChangeTextDocument(textDocumentChangeEvent); - await sendMessage(textDocumentChangeEvent); - }), + didChange: invoke1, willSave: invoke1, willSaveWaitUntil: async (event, sendMessage) => { // await clients.ActiveClient.ready; diff --git a/Extension/src/main.ts b/Extension/src/main.ts index fd6bacb89e..e15389ddac 100644 --- a/Extension/src/main.ts +++ b/Extension/src/main.ts @@ -146,8 +146,7 @@ export async function activate(context: vscode.ExtensionContext): Promise { + let moduleUnderTest: any; + let mockCopilotApi: sinon.SinonStubbedInstance; + let getActiveClientStub: sinon.SinonStub; + let activeClientStub: sinon.SinonStubbedInstance; + let vscodeGetExtensionsStub: sinon.SinonStub; + let callbackPromise: Promise<{ entries: vscode.Uri[]; traits?: CopilotTrait[] }> | undefined; + let vscodeExtension: vscode.Extension; + + const includedFiles = process.platform === 'win32' ? + ['c:\\system\\include\\vector', 'c:\\system\\include\\string', 'C:\\src\\my_project\\foo.h'] : + ['/system/include/vector', '/system/include/string', '/home/src/my_project/foo.h']; + const rootUri = vscode.Uri.file(process.platform === 'win32' ? 'C:\\src\\my_project' : '/home/src/my_project'); + const expectedInclude = process.platform === 'win32' ? 'file:///c%3A/src/my_project/foo.h' : 'file:///home/src/my_project/foo.h'; + + beforeEach(() => { + proxyquire.noPreserveCache(); // Tells proxyquire to not fetch the module from cache + // Ensures that each test has a freshly loaded instance of moduleUnderTest + moduleUnderTest = proxyquire( + '../../../../src/LanguageServer/copilotProviders', + {} // Stub if you need to, or keep the object empty + ); + + sinon.stub(util, 'extensionContext').value({ extension: { id: 'test-extension-id' } }); + + class MockCopilotApi implements CopilotApi { + public registerRelatedFilesProvider( + _providerId: { extensionId: string; languageId: string }, + _callback: ( + uri: vscode.Uri, + context: { flags: Record }, + cancellationToken: vscode.CancellationToken + ) => Promise<{ entries: vscode.Uri[]; traits?: CopilotTrait[] }> + ): vscode.Disposable & { [Symbol.dispose](): void } { + return { + dispose: () => { }, + [Symbol.dispose]: () => { } + }; + } + } + mockCopilotApi = sinon.createStubInstance(MockCopilotApi); + vscodeExtension = { + id: 'test-extension-id', + extensionUri: vscode.Uri.parse('file:///test-extension-path'), + extensionPath: 'test-extension-path', + isActive: true, + packageJSON: { name: 'test-extension-name' }, + activate: async () => { }, + exports: mockCopilotApi, + extensionKind: vscode.ExtensionKind.UI + }; + + activeClientStub = sinon.createStubInstance(DefaultClient); + getActiveClientStub = sinon.stub(extension, 'getActiveClient').returns(activeClientStub); + activeClientStub.getIncludes.resolves({ includedFiles: [] }); + }); + + afterEach(() => { + sinon.restore(); + }); + + const arrange = ({ vscodeExtension, getIncludeFiles, chatContext, rootUri, flags }: + { vscodeExtension?: vscode.Extension; getIncludeFiles?: GetIncludesResult; chatContext?: ChatContextResult; rootUri?: vscode.Uri; flags?: Record } = + { vscodeExtension: undefined, getIncludeFiles: undefined, chatContext: undefined, rootUri: undefined, flags: {} } + ) => { + activeClientStub.getIncludes.resolves(getIncludeFiles); + activeClientStub.getChatContext.resolves(chatContext); + sinon.stub(activeClientStub, 'RootUri').get(() => rootUri); + mockCopilotApi.registerRelatedFilesProvider.callsFake((_providerId: { extensionId: string; languageId: string }, callback: (uri: vscode.Uri, context: { flags: Record }, cancellationToken: vscode.CancellationToken) => Promise<{ entries: vscode.Uri[]; traits?: CopilotTrait[] }>) => { + const tokenSource = new vscode.CancellationTokenSource(); + try { + callbackPromise = callback(vscode.Uri.parse('file:///test-extension-path'), { flags: flags ?? {} }, tokenSource.token); + } finally { + tokenSource.dispose(); + } + + return { + dispose: () => { }, + [Symbol.dispose]: () => { } + }; + }); + vscodeGetExtensionsStub = sinon.stub(vscode.extensions, 'getExtension').returns(vscodeExtension); + }; + + it('should register provider', async () => { + arrange( + { vscodeExtension: vscodeExtension } + ); + + await moduleUnderTest.registerRelatedFilesProvider(); + + ok(vscodeGetExtensionsStub.calledOnce, 'vscode.extensions.getExtension should be called once'); + ok(mockCopilotApi.registerRelatedFilesProvider.calledWithMatch(sinon.match({ extensionId: 'test-extension-id', languageId: sinon.match.in(['c', 'cpp', 'cuda-cpp']) })), 'registerRelatedFilesProvider should be called with the correct providerId and languageId'); + }); + + it('should not add #cpp traits when ChatContext isn\'t available.', async () => { + arrange({ + vscodeExtension: vscodeExtension, + getIncludeFiles: { includedFiles }, + chatContext: undefined, + rootUri, + flags: { copilotcppTraits: true } + }); + await moduleUnderTest.registerRelatedFilesProvider(); + + const result = await callbackPromise; + + ok(vscodeGetExtensionsStub.calledOnce, 'vscode.extensions.getExtension should be called once'); + ok(mockCopilotApi.registerRelatedFilesProvider.calledWithMatch(sinon.match({ extensionId: 'test-extension-id', languageId: sinon.match.in(['c', 'cpp', 'cuda-cpp']) })), 'registerRelatedFilesProvider should be called with the correct providerId and languageId'); + ok(getActiveClientStub.callCount !== 0, 'getActiveClient should be called'); + ok(callbackPromise, 'callbackPromise should be defined'); + ok(result, 'result should be defined'); + ok(result.entries.length === 1, 'result.entries should have 1 included file'); + ok(result.entries[0].toString() === expectedInclude, `result.entries should have "${expectedInclude}"`); + ok(result.traits === undefined, 'result.traits should be undefined'); + }); + + it('should not add #cpp traits when copilotcppTraits flag is false.', async () => { + arrange({ + vscodeExtension: vscodeExtension, + getIncludeFiles: { includedFiles }, + chatContext: { + language: 'c++', + standardVersion: 'c++20', + compiler: 'msvc', + targetPlatform: 'windows', + targetArchitecture: 'x64' + }, + rootUri, + flags: { copilotcppTraits: false } + }); + await moduleUnderTest.registerRelatedFilesProvider(); + + const result = await callbackPromise; + + ok(vscodeGetExtensionsStub.calledOnce, 'vscode.extensions.getExtension should be called once'); + ok(mockCopilotApi.registerRelatedFilesProvider.calledWithMatch(sinon.match({ extensionId: 'test-extension-id', languageId: sinon.match.in(['c', 'cpp', 'cuda-cpp']) })), 'registerRelatedFilesProvider should be called with the correct providerId and languageId'); + ok(getActiveClientStub.callCount !== 0, 'getActiveClient should be called'); + ok(callbackPromise, 'callbackPromise should be defined'); + ok(result, 'result should be defined'); + ok(result.entries.length === 1, 'result.entries should have 1 included file'); + ok(result.entries[0].toString() === expectedInclude, `result.entries should have "${expectedInclude}"`); + ok(result.traits === undefined, 'result.traits should be undefined'); + }); + + it('should add #cpp traits when copilotcppTraits flag is true.', async () => { + arrange({ + vscodeExtension: vscodeExtension, + getIncludeFiles: { includedFiles }, + chatContext: { + language: 'c++', + standardVersion: 'c++20', + compiler: 'msvc', + targetPlatform: 'windows', + targetArchitecture: 'x64' + }, + rootUri, + flags: { copilotcppTraits: true } + }); + await moduleUnderTest.registerRelatedFilesProvider(); + + const result = await callbackPromise; + + ok(vscodeGetExtensionsStub.calledOnce, 'vscode.extensions.getExtension should be called once'); + ok(mockCopilotApi.registerRelatedFilesProvider.calledThrice, 'registerRelatedFilesProvider should be called three times'); + ok(mockCopilotApi.registerRelatedFilesProvider.calledWithMatch(sinon.match({ extensionId: 'test-extension-id', languageId: sinon.match.in(['c', 'cpp', 'cuda-cpp']) })), 'registerRelatedFilesProvider should be called with the correct providerId and languageId'); + ok(getActiveClientStub.callCount !== 0, 'getActiveClient should be called'); + ok(callbackPromise, 'callbackPromise should be defined'); + ok(result, 'result should be defined'); + ok(result.entries.length === 1, 'result.entries should have 1 included file'); + ok(result.entries[0].toString() === expectedInclude, `result.entries should have "${expectedInclude}"`); + ok(result.traits, 'result.traits should be defined'); + ok(result.traits.length === 5, 'result.traits should have 5 traits'); + ok(result.traits[0].name === 'language', 'result.traits[0].name should be "language"'); + ok(result.traits[0].value === 'c++', 'result.traits[0].value should be "c++"'); + ok(result.traits[0].includeInPrompt, 'result.traits[0].includeInPrompt should be true'); + ok(result.traits[0].promptTextOverride === 'The language is c++.', 'result.traits[0].promptTextOverride should be "The language is c++."'); + ok(result.traits[1].name === 'compiler', 'result.traits[1].name should be "compiler"'); + ok(result.traits[1].value === 'msvc', 'result.traits[1].value should be "msvc"'); + ok(result.traits[1].includeInPrompt, 'result.traits[1].includeInPrompt should be true'); + ok(result.traits[1].promptTextOverride === 'This project compiles using msvc.', 'result.traits[1].promptTextOverride should be "This project compiles using msvc."'); + ok(result.traits[2].name === 'standardVersion', 'result.traits[2].name should be "standardVersion"'); + ok(result.traits[2].value === 'c++20', 'result.traits[2].value should be "c++20"'); + ok(result.traits[2].includeInPrompt, 'result.traits[2].includeInPrompt should be true'); + ok(result.traits[2].promptTextOverride === 'This project uses the c++20 language standard.', 'result.traits[2].promptTextOverride should be "This project uses the c++20 language standard."'); + ok(result.traits[3].name === 'targetPlatform', 'result.traits[3].name should be "targetPlatform"'); + ok(result.traits[3].value === 'windows', 'result.traits[3].value should be "windows"'); + ok(result.traits[3].includeInPrompt, 'result.traits[3].includeInPrompt should be true'); + ok(result.traits[3].promptTextOverride === 'This build targets windows.', 'result.traits[3].promptTextOverride should be "This build targets windows."'); + ok(result.traits[4].name === 'targetArchitecture', 'result.traits[4].name should be "targetArchitecture"'); + ok(result.traits[4].value === 'x64', 'result.traits[4].value should be "x64"'); + ok(result.traits[4].includeInPrompt, 'result.traits[4].includeInPrompt should be true'); + ok(result.traits[4].promptTextOverride === 'This build targets x64.', 'result.traits[4].promptTextOverride should be "This build targets x64."'); + }); + + it('should exclude #cpp traits per copilotcppExcludeTraits.', async () => { + const excludeTraits = ['compiler', 'targetPlatform']; + arrange({ + vscodeExtension: vscodeExtension, + getIncludeFiles: { includedFiles }, + chatContext: { + language: 'c++', + standardVersion: 'c++20', + compiler: 'msvc', + targetPlatform: 'windows', + targetArchitecture: 'x64' + }, + rootUri, + flags: { copilotcppTraits: true, copilotcppExcludeTraits: excludeTraits } + }); + await moduleUnderTest.registerRelatedFilesProvider(); + + const result = await callbackPromise; + + ok(vscodeGetExtensionsStub.calledOnce, 'vscode.extensions.getExtension should be called once'); + ok(mockCopilotApi.registerRelatedFilesProvider.calledThrice, 'registerRelatedFilesProvider should be called three times'); + ok(mockCopilotApi.registerRelatedFilesProvider.calledWithMatch(sinon.match({ extensionId: 'test-extension-id', languageId: sinon.match.in(['c', 'cpp', 'cuda-cpp']) })), 'registerRelatedFilesProvider should be called with the correct providerId and languageId'); + ok(getActiveClientStub.callCount !== 0, 'getActiveClient should be called'); + ok(callbackPromise, 'callbackPromise should be defined'); + ok(result, 'result should be defined'); + ok(result.entries.length === 1, 'result.entries should have 1 included file'); + ok(result.entries[0].toString() === expectedInclude, `result.entries should have "${expectedInclude}"`); + ok(result.traits, 'result.traits should be defined'); + ok(result.traits.length === 3, 'result.traits should have 3 traits'); + ok(result.traits.filter(trait => excludeTraits.includes(trait.name)).length === 0, 'result.traits should not include excluded traits'); + }); + + it('should handle errors during provider registration', async () => { + arrange({}); + + await moduleUnderTest.registerRelatedFilesProvider(); + + ok(vscodeGetExtensionsStub.calledOnce, 'vscode.extensions.getExtension should be called once'); + ok(mockCopilotApi.registerRelatedFilesProvider.notCalled, 'registerRelatedFilesProvider should not be called'); + }); +}); diff --git a/Extension/yarn.lock b/Extension/yarn.lock index 16653af1f1..7a59a937de 100644 --- a/Extension/yarn.lock +++ b/Extension/yarn.lock @@ -372,6 +372,34 @@ resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@rtsao/scc/-/scc-1.1.0.tgz#927dd2fae9bc3361403ac2c7a00c32ddce9ad7e8" integrity sha1-kn3S+um8M2FAOsLHoAwy3c6a1+g= +"@sinonjs/commons@^3.0.1": + version "3.0.1" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@sinonjs/commons/-/commons-3.0.1.tgz#1029357e44ca901a615585f6d27738dbc89084cd" + integrity sha1-ECk1fkTKkBphVYX20nc428iQhM0= + dependencies: + type-detect "4.0.8" + +"@sinonjs/fake-timers@^13.0.1", "@sinonjs/fake-timers@^13.0.2": + version "13.0.2" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@sinonjs/fake-timers/-/fake-timers-13.0.2.tgz#3ffe88abb062067a580fdfba706ad00435a0f2a6" + integrity sha1-P/6Iq7BiBnpYD9+6cGrQBDWg8qY= + dependencies: + "@sinonjs/commons" "^3.0.1" + +"@sinonjs/samsam@^8.0.1": + version "8.0.2" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@sinonjs/samsam/-/samsam-8.0.2.tgz#e4386bf668ff36c95949e55a38dc5f5892fc2689" + integrity sha1-5Dhr9mj/NslZSeVaONxfWJL8Jok= + dependencies: + "@sinonjs/commons" "^3.0.1" + lodash.get "^4.4.2" + type-detect "^4.1.0" + +"@sinonjs/text-encoding@^0.7.3": + version "0.7.3" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@sinonjs/text-encoding/-/text-encoding-0.7.3.tgz#282046f03e886e352b2d5f5da5eb755e01457f3f" + integrity sha1-KCBG8D6IbjUrLV9dpet1XgFFfz8= + "@tsconfig/node10@^1.0.7": version "1.0.11" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@tsconfig/node10/-/node10-1.0.11.tgz#6ee46400685f130e278128c7b38b7e031ff5b2f2" @@ -460,6 +488,11 @@ "@types/node" "*" xmlbuilder ">=11.0.1" +"@types/proxyquire@^1.3.31": + version "1.3.31" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@types/proxyquire/-/proxyquire-1.3.31.tgz#a008b78dad6061754e3adf2cb64b60303f68deaa" + integrity sha1-oAi3ja1gYXVOOt8stktgMD9o3qo= + "@types/semver@^7.5.0", "@types/semver@^7.5.8": version "7.5.8" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@types/semver/-/semver-7.5.8.tgz#8268a8c57a3e4abd25c165ecd36237db7948a55e" @@ -470,6 +503,18 @@ resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@types/shell-quote/-/shell-quote-1.7.5.tgz#6db4704742d307cd6d604e124e3ad6cd5ed943f3" integrity sha1-bbRwR0LTB81tYE4STjrWzV7ZQ/M= +"@types/sinon@^17.0.3": + version "17.0.3" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@types/sinon/-/sinon-17.0.3.tgz#9aa7e62f0a323b9ead177ed23a36ea757141a5fa" + integrity sha1-mqfmLwoyO56tF37SOjbqdXFBpfo= + dependencies: + "@types/sinonjs__fake-timers" "*" + +"@types/sinonjs__fake-timers@*": + version "8.1.5" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.5.tgz#5fd3592ff10c1e9695d377020c033116cc2889f2" + integrity sha1-X9NZL/EMHpaV03cCDAMxFswoifI= + "@types/tmp@^0.2.6": version "0.2.6" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/@types/tmp/-/tmp-0.2.6.tgz#d785ee90c52d7cc020e249c948c36f7b32d1e217" @@ -1521,6 +1566,11 @@ diff@^5.2.0: resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/diff/-/diff-5.2.0.tgz#26ded047cd1179b78b9537d5ef725503ce1ae531" integrity sha1-Jt7QR80RebeLlTfV73JVA84a5TE= +diff@^7.0.0: + version "7.0.0" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/diff/-/diff-7.0.0.tgz#3fb34d387cd76d803f6eebea67b921dab0182a9a" + integrity sha1-P7NNOHzXbYA/buvqZ7kh2rAYKpo= + dir-glob@^3.0.1: version "3.0.1" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -2095,6 +2145,14 @@ file-entry-cache@^6.0.1: dependencies: flat-cache "^3.0.4" +fill-keys@^1.0.2: + version "1.0.2" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/fill-keys/-/fill-keys-1.0.2.tgz#9a8fa36f4e8ad634e3bf6b4f3c8882551452eb20" + integrity sha1-mo+jb06K1jTjv2tPPIiCVRRS6yA= + dependencies: + is-object "~1.0.1" + merge-descriptors "~1.0.0" + fill-range@^7.1.1: version "7.1.1" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" @@ -2791,6 +2849,11 @@ is-number@^7.0.0: resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha1-dTU0W4lnNNX4DE0GxQlVUnoU8Ss= +is-object@~1.0.1: + version "1.0.2" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/is-object/-/is-object-1.0.2.tgz#a56552e1c665c9e950b4a025461da87e72f86fcf" + integrity sha1-pWVS4cZlyelQtKAlRh2ofnL4b88= + is-path-inside@^3.0.3: version "3.0.3" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" @@ -2997,6 +3060,11 @@ jszip@^3.10.1: readable-stream "~2.3.6" setimmediate "^1.0.5" +just-extend@^6.2.0: + version "6.2.0" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/just-extend/-/just-extend-6.2.0.tgz#b816abfb3d67ee860482e7401564672558163947" + integrity sha1-uBar+z1n7oYEgudAFWRnJVgWOUc= + keyv@^4.5.3: version "4.5.4" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" @@ -3094,6 +3162,11 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" +lodash.get@^4.4.2: + version "4.4.2" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" + integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk= + lodash.merge@^4.6.2: version "4.6.2" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" @@ -3151,6 +3224,11 @@ memoizee@0.4.X: next-tick "^1.1.0" timers-ext "^0.1.7" +merge-descriptors@~1.0.0: + version "1.0.3" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/merge-descriptors/-/merge-descriptors-1.0.3.tgz#d80319a65f3c7935351e5cfdac8f9318504dbed5" + integrity sha1-2AMZpl88eTU1Hlz9rI+TGFBNvtU= + merge-stream@^2.0.0: version "2.0.0" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" @@ -3243,6 +3321,11 @@ mocha@^10.4.0: yargs-parser "^20.2.9" yargs-unparser "^2.0.0" +module-not-found-error@^1.0.1: + version "1.0.1" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/module-not-found-error/-/module-not-found-error-1.0.1.tgz#cf8b4ff4f29640674d6cdd02b0e3bc523c2bbdc0" + integrity sha1-z4tP9PKWQGdNbN0CsOO8UjwrvcA= + ms@^2.1.1, ms@^2.1.3: version "2.1.3" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" @@ -3284,6 +3367,17 @@ next-tick@^1.1.0: resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" integrity sha1-GDbuMK1W1n7ygbIr0Zn3CUSbNes= +nise@^6.1.1: + version "6.1.1" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/nise/-/nise-6.1.1.tgz#78ea93cc49be122e44cb7c8fdf597b0e8778b64a" + integrity sha1-eOqTzEm+Ei5Ey3yP31l7Dod4tko= + dependencies: + "@sinonjs/commons" "^3.0.1" + "@sinonjs/fake-timers" "^13.0.1" + "@sinonjs/text-encoding" "^0.7.3" + just-extend "^6.2.0" + path-to-regexp "^8.1.0" + node-fetch@^2.7.0: version "2.7.0" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" @@ -3576,6 +3670,11 @@ path-root@^0.1.1: dependencies: path-root-regex "^0.1.0" +path-to-regexp@^8.1.0: + version "8.2.0" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/path-to-regexp/-/path-to-regexp-8.2.0.tgz#73990cc29e57a3ff2a0d914095156df5db79e8b4" + integrity sha1-c5kMwp5Xo/8qDZFAlRVt9dt56LQ= + path-type@^4.0.0: version "4.0.0" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" @@ -3661,6 +3760,15 @@ prompts@^2.4.2: kleur "^3.0.3" sisteransi "^1.0.5" +proxyquire@^2.1.3: + version "2.1.3" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/proxyquire/-/proxyquire-2.1.3.tgz#2049a7eefa10a9a953346a18e54aab2b4268df39" + integrity sha1-IEmn7voQqalTNGoY5UqrK0Jo3zk= + dependencies: + fill-keys "^1.0.2" + module-not-found-error "^1.0.1" + resolve "^1.11.1" + pump@^2.0.0: version "2.0.1" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" @@ -3837,7 +3945,7 @@ resolve-options@^2.0.0: dependencies: value-or-function "^4.0.0" -resolve@^1.20.0, resolve@^1.22.4: +resolve@^1.11.1, resolve@^1.20.0, resolve@^1.22.4: version "1.22.8" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" integrity sha1-tsh6nyqgbfq1Lj1wrIzeMh+lpI0= @@ -4011,6 +4119,18 @@ signal-exit@^3.0.2: resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha1-qaF2f4r4QVURTqq9c/mSc8j1mtk= +sinon@^19.0.2: + version "19.0.2" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/sinon/-/sinon-19.0.2.tgz#944cf771d22236aa84fc1ab70ce5bffc3a215dad" + integrity sha1-lEz3cdIiNqqE/Bq3DOW//DohXa0= + dependencies: + "@sinonjs/commons" "^3.0.1" + "@sinonjs/fake-timers" "^13.0.2" + "@sinonjs/samsam" "^8.0.1" + diff "^7.0.0" + nise "^6.1.1" + supports-color "^7.2.0" + sisteransi@^1.0.5: version "1.0.5" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" @@ -4231,7 +4351,7 @@ strip-json-comments@^3.1.1: resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha1-MfEoGzgyYwQ0gxwxDAHMzajL4AY= -supports-color@^7.1.0: +supports-color@^7.1.0, supports-color@^7.2.0: version "7.2.0" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" integrity sha1-G33NyzK4E4gBs+R4umpRyqiWSNo= @@ -4459,6 +4579,16 @@ type-check@^0.4.0, type-check@~0.4.0: dependencies: prelude-ls "^1.2.1" +type-detect@4.0.8: + version "4.0.8" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" + integrity sha1-dkb7XxiHHPu3dJ5pvTmmOI63RQw= + +type-detect@^4.1.0: + version "4.1.0" + resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/type-detect/-/type-detect-4.1.0.tgz#deb2453e8f08dcae7ae98c626b13dddb0155906c" + integrity sha1-3rJFPo8I3K566YxiaxPd2wFVkGw= + type-fest@^0.20.2: version "0.20.2" resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4"