Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7230886a12 | ||
|
|
deb7a7da46 | ||
|
|
90fb9919f4 | ||
|
|
11ed061136 | ||
|
|
c98d437c0d | ||
|
|
9c53c7090e | ||
|
|
a86d713e8a | ||
|
|
bbe5c42e64 | ||
|
|
9791061ca2 | ||
|
|
f87d7a735e |
@@ -1,12 +1,12 @@
|
||||
variables:
|
||||
llvm_repo: https://github.com/llvm/llvm-project.git
|
||||
llvm_branch: release/10.x
|
||||
llvm_branch: release/12.x
|
||||
llvm_build_type: Release
|
||||
llvm_arch: x86_64
|
||||
llvm_additional_parameters: "-DLLDB_RELOCATABLE_PYTHON=1 -DLLDB_INCLUDE_TESTS=OFF -DLLDB_BUILD_FRAMEWORK=1"
|
||||
# TODO: fix lldb_mi_repo and lldb_mi_branch (https://github.com/lldb-tools/lldb-mi/pull/37 and https://github.com/lldb-tools/lldb-mi/pull/39)
|
||||
lldb_mi_repo: https://github.com/WardenGnaw/lldb-mi # TODO: Change to lldb-tools
|
||||
lldb_mi_branch: release/cpptools # TODO: Change to main
|
||||
lldb_mi_branch: dev/waan/testLLDB12x # TODO: Change to main
|
||||
lldb_mi_additional_parameters: "-DUSE_LLDB_FRAMEWORK=1"
|
||||
|
||||
jobs:
|
||||
@@ -30,6 +30,10 @@ jobs:
|
||||
$1
|
||||
}
|
||||
|
||||
# Don't use XCode CLI since it will cause C++ headers to be missing.
|
||||
log_and_exec_cmd "sudo rm -rf /Library/Developer/CommandLineTools"
|
||||
log_and_exec_cmd "sudo xcode-select --switch /Applications/XCode.app"
|
||||
|
||||
log_and_exec_cmd "cd $(Build.StagingDirectory)"
|
||||
log_and_exec_cmd "mkdir $(Build.StagingDirectory)/buildspace"
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# C/C++ for Visual Studio Code Change Log
|
||||
|
||||
## Version 1.5.1: July 9, 2021
|
||||
### Bug Fixes
|
||||
* cppvsdbg Debugging becomes no-op between 1.4.1 and 1.5.0 [#7808](https://github.com/microsoft/vscode-cpptools/issues/7808)
|
||||
|
||||
## Version 1.5.0: July 8, 2021
|
||||
### New Feature
|
||||
* Add the "Inline macro" code action. [#4183](https://github.com/microsoft/vscode-cpptools/issues/4183)
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "默认配置",
|
||||
"select.configuration": "选择配置",
|
||||
"debug.configuration.selection.canceled": "已取消调试配置选择",
|
||||
"cl.exe.not.available": "仅当从 VS 开发人员命令提示符处运行 VS Code 时,{0} 生成和调试才可用。",
|
||||
"miDebuggerPath.not.available": "miDebuggerPath 不存在: {0}。是否安装了调试程序?",
|
||||
"debugger.deprecated.config": "密钥“{0}”已弃用。请改用“{1}”。",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "此 {0} {1} 版本的扩展与你的 OS 不兼容,请下载并安装 \"{2}\" 版本的扩展。",
|
||||
"extension.installation.failed": "C/C++ 扩展安装失败。为使函数正常工作,需要修复或重新安装 C/C++ 语言功能的扩展。",
|
||||
"remove.extension": "尝试修复",
|
||||
"jason.files.missing": "C/C++ 扩展安装失败。为使函数正常工作,需要重新安装 C/C++ 语言功能的扩展。",
|
||||
"json.files.missing": "C/C++ 扩展安装失败。为使函数正常工作,需要重新安装 C/C++ 语言功能的扩展。",
|
||||
"initialization.failed": "C/C++ 扩展安装失败。有关详细信息,请查看输出窗口。",
|
||||
"updating.dependencies": "正在更新 C/C++ 依赖项...",
|
||||
"rename.failed.delete.manually": "错误: fs.rename 失败,原因为“{0}”。请手动删除 {1} 以启用调试。",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "預設組態",
|
||||
"select.configuration": "選取組態",
|
||||
"debug.configuration.selection.canceled": "已取消偵錯設定選取範圍",
|
||||
"cl.exe.not.available": "只有從 VS 的開發人員命令提示字元執行 VS Code 時,才可使用 {0} 組建和偵錯。",
|
||||
"miDebuggerPath.not.available": "miDebuggerPath 不存在: {0}。是否已安裝偵錯工具?",
|
||||
"debugger.deprecated.config": "金鑰 '{0}' 已淘汰。請改用 '{1}'。",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "此 {0} {1} 版延伸模組與您的作業系統不相容。請下載並安裝 \"{2}\" 版延伸模組。",
|
||||
"extension.installation.failed": "無法成功安裝 C/C++ 延伸模組。您必須修復或重新安裝 C/C++ 語言功能的延伸模組,才可正常運作。",
|
||||
"remove.extension": "嘗試修復",
|
||||
"jason.files.missing": "無法成功安裝 C/C++ 延伸模組。您必須重新安裝 C/C++ 語言功能的延伸模組,才可正常運作。",
|
||||
"json.files.missing": "無法成功安裝 C/C++ 延伸模組。您必須重新安裝 C/C++ 語言功能的延伸模組,才可正常運作。",
|
||||
"initialization.failed": "C/C + + 延伸模組安裝失敗。如需詳細資訊,請查看 [輸出] 視窗。",
|
||||
"updating.dependencies": "正在更新 C/C + + 相依性...",
|
||||
"rename.failed.delete.manually": "錯誤: fs.rename 失敗,\"{0}\"。請手動刪除 {1} 以啟用偵錯。",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "Výchozí konfigurace",
|
||||
"select.configuration": "Vybrat konfiguraci",
|
||||
"debug.configuration.selection.canceled": "Výběr konfigurace ladění byl zrušen.",
|
||||
"cl.exe.not.available": "Sestavení a ladění {0} je k dispozici jen v případě, že se nástroj VS Code spustil z nástroje Developer Command Prompt pro VS.",
|
||||
"miDebuggerPath.not.available": "miDebuggerPath neexistuje: {0}. Byl nainstalován ladicí program?",
|
||||
"debugger.deprecated.config": "Klíč {0} je zastaralý. Použijte prosím místo něj {1}.",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "Tato verze rozšíření pro {0} {1} není kompatibilní s vaším operačním systémem. Stáhněte a nainstalujte si prosím verzi rozšíření {2}.",
|
||||
"extension.installation.failed": "Nepovedlo se úspěšně nainstalovat rozšíření jazyka C/C++. Aby rozšíření pro funkce jazyka C/C++ fungovalo správně, bude nutné ho opravit nebo přeinstalovat.",
|
||||
"remove.extension": "Pokusit se o opravu",
|
||||
"jason.files.missing": "Nepovedlo se úspěšně nainstalovat rozšíření jazyka C/C++. Aby rozšíření pro funkce jazyka C/C++ fungovalo správně, bude nutné ho přeinstalovat.",
|
||||
"json.files.missing": "Nepovedlo se úspěšně nainstalovat rozšíření jazyka C/C++. Aby rozšíření pro funkce jazyka C/C++ fungovalo správně, bude nutné ho přeinstalovat.",
|
||||
"initialization.failed": "Nepovedlo se nainstalovat rozšíření C/C++. Další informace najdete v okně výstupu.",
|
||||
"updating.dependencies": "Aktualizují se závislosti C/C++...",
|
||||
"rename.failed.delete.manually": "CHYBA: Operace fs.rename neproběhla úspěšně s chybou {0}. Pokud chcete povolit ladění, odstraňte {1} ručně.",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "Standardkonfiguration",
|
||||
"select.configuration": "Konfiguration auswählen",
|
||||
"debug.configuration.selection.canceled": "Auswahl der Debugkonfiguration abgebrochen",
|
||||
"cl.exe.not.available": "{0}-Build und -Debuggen können nur verwendet werden, wenn VS Code von der Developer-Eingabeaufforderung für VS ausgeführt wird.",
|
||||
"miDebuggerPath.not.available": "\"miDebuggerPath\" ist nicht vorhanden: {0}. Wurde ein Debugger installiert?",
|
||||
"debugger.deprecated.config": "Der Schlüssel \"{0}\" ist veraltet. Verwenden Sie stattdessen \"{1}\".",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "Diese Version {0} {1} der Erweiterung ist nicht mit Ihrem Betriebssystem kompatibel. Laden Sie Version \"{2}\" der Erweiterung herunter, und installieren Sie sie.",
|
||||
"extension.installation.failed": "Die C/C++-Erweiterung konnte nicht erfolgreich installiert werden. Sie müssen die Erweiterung für C/C++-Sprachfeatures reparieren oder neu installieren, damit die Erweiterung ordnungsgemäß funktioniert.",
|
||||
"remove.extension": "Reparaturversuch",
|
||||
"jason.files.missing": "Die C/C++-Erweiterung konnte nicht erfolgreich installiert werden. Sie müssen die Erweiterung für C/C++-Sprachfeatures neu installieren, damit die Erweiterung ordnungsgemäß funktioniert.",
|
||||
"json.files.missing": "Die C/C++-Erweiterung konnte nicht erfolgreich installiert werden. Sie müssen die Erweiterung für C/C++-Sprachfeatures neu installieren, damit die Erweiterung ordnungsgemäß funktioniert.",
|
||||
"initialization.failed": "Fehler bei der Installation der C/C++-Erweiterung. Weitere Informationen finden Sie im Ausgabefenster.",
|
||||
"updating.dependencies": "C/C++-Abhängigkeiten werden aktualisiert...",
|
||||
"rename.failed.delete.manually": "FEHLER bei \"fs.rename\": {0}. Löschen Sie \"{1}\" manuell, um das Debugging zu aktivieren.",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "Configuración predeterminada",
|
||||
"select.configuration": "Seleccionar una configuración",
|
||||
"debug.configuration.selection.canceled": "Se canceló la selección de configuración de depuración",
|
||||
"cl.exe.not.available": "La compilación y depuración de {0} solo se puede usar cuando VS Code se ejecuta desde el Símbolo del sistema para desarrolladores de Visual Studio.",
|
||||
"miDebuggerPath.not.available": "El valor miDebuggerPath no existe: {0}. ¿Se ha instalado algún depurador?",
|
||||
"debugger.deprecated.config": "La clave \"{0}\" está en desuso. En su lugar, use \"{1}\".",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "La versión para {0} {1} de la extensión no es compatible con el sistema operativo. Descargue la versión \"{2}\" de la extensión e instálela.",
|
||||
"extension.installation.failed": "Error de instalación de la extensión de C/C++. Tendrá que reparar o reinstalar la extensión para que las características del lenguaje C/C++ funcionen correctamente.",
|
||||
"remove.extension": "Intentar reparar",
|
||||
"jason.files.missing": "Error de instalación de la extensión de C/C++. Tendrá que reinstalar la extensión para que las características del lenguaje C/C++ funcionen correctamente.",
|
||||
"json.files.missing": "Error de instalación de la extensión de C/C++. Tendrá que reinstalar la extensión para que las características del lenguaje C/C++ funcionen correctamente.",
|
||||
"initialization.failed": "No se pudo instalar la extensión de C/C++. Para obtener más información, consulte la ventana de salida.",
|
||||
"updating.dependencies": "Actualizando las dependencias de C/C++...",
|
||||
"rename.failed.delete.manually": "ERROR: No se puedo ejecutar fs.rename con \"{0}\". Elimine {1} manualmente para habilitar la depuración.",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "Configuration par défaut",
|
||||
"select.configuration": "Sélectionner une configuration",
|
||||
"debug.configuration.selection.canceled": "Sélection de la configuration de débogage annulée",
|
||||
"cl.exe.not.available": "La génération et le débogage de {0} peuvent être utilisés uniquement quand VS Code est exécuté à partir de l'invite de commandes développeur pour VS.",
|
||||
"miDebuggerPath.not.available": "miDebuggerPath n'existe pas : {0}. Un débogueur a-t-il été installé ?",
|
||||
"debugger.deprecated.config": "La clé '{0}' est dépréciée. Utilisez '{1}' à la place.",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "Cette version {0} {1} de l'extension est incompatible avec votre système d'exploitation. Téléchargez et installez la version {2} de l'extension.",
|
||||
"extension.installation.failed": "Échec de l'installation de l'extension C/C++. Vous devez réparer ou réinstaller l'extension pour que les fonctionnalités du langage C/C++ fonctionnent correctement.",
|
||||
"remove.extension": "Tentative de réparation",
|
||||
"jason.files.missing": "Échec de l'installation de l'extension C/C++. Vous devez réinstaller l'extension pour que les fonctionnalités du langage C/C++ fonctionnent correctement.",
|
||||
"json.files.missing": "Échec de l'installation de l'extension C/C++. Vous devez réinstaller l'extension pour que les fonctionnalités du langage C/C++ fonctionnent correctement.",
|
||||
"initialization.failed": "L'installation de l'extension C/C++ a échoué. Pour plus d'informations, consultez la fenêtre Sortie.",
|
||||
"updating.dependencies": "Mise à jour des dépendances C/C++...",
|
||||
"rename.failed.delete.manually": "ERREUR : fs.rename a échoué avec \"{0}\". Supprimez {1} manuellement pour activer le débogage.",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "Configurazione predefinita",
|
||||
"select.configuration": "Seleziona una configurazione",
|
||||
"debug.configuration.selection.canceled": "Selezione configurazione debug annullata",
|
||||
"cl.exe.not.available": "La compilazione e il debug di {0} sono utilizzabili solo quando VS Code viene eseguito da Prompt dei comandi per gli sviluppatori per Visual Studio.",
|
||||
"miDebuggerPath.not.available": "miDebuggerPath non esiste: {0}. È stato installato un debugger?",
|
||||
"debugger.deprecated.config": "La chiave '{0}' è deprecata. In alternativa, usare '{1}'.",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "La versione {0} {1} dell'estensione non è compatibile con il sistema operativo. Scaricare e installare la versione \"{2}\" dell'estensione.",
|
||||
"extension.installation.failed": "Non è stato possibile installare l'estensione C/C++. Per funzionare correttamente, è necessario riparare o reinstallare l'estensione per le funzionalità del linguaggio C/C++.",
|
||||
"remove.extension": "Tentativo di riparazione",
|
||||
"jason.files.missing": "Non è stato possibile installare l'estensione C/C++. Per funzionare correttamente, sarà necessario reinstallare l'estensione per le funzionalità del linguaggio C/C++.",
|
||||
"json.files.missing": "Non è stato possibile installare l'estensione C/C++. Per funzionare correttamente, sarà necessario reinstallare l'estensione per le funzionalità del linguaggio C/C++.",
|
||||
"initialization.failed": "L'installazione dell'estensione C/C++ non è riuscita. Per altre informazioni, vedere la finestra di output.",
|
||||
"updating.dependencies": "Aggiornamento delle dipendenze di C/C++...",
|
||||
"rename.failed.delete.manually": "ERRORE: fs.rename non riuscito con \"{0}\". Per abilitare il debug, eliminare manualmente {1}.",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "既定の構成",
|
||||
"select.configuration": "構成の選択",
|
||||
"debug.configuration.selection.canceled": "デバッグ構成の選択が取り消されました",
|
||||
"cl.exe.not.available": "{0} のビルドとデバッグを使用できるのは、VS 用開発者コマンド プロンプトから VS Code を実行する場合のみです。",
|
||||
"miDebuggerPath.not.available": "miDebuggerPath が存在しません: {0}。デバッガーはインストールされていますか?",
|
||||
"debugger.deprecated.config": "キー '{0}' は非推奨です。代わりに '{1}' をお使いください。",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "この {0} {1} バージョンの拡張機能は、お使いの OS と互換性がありません。拡張機能の \"{2}\" バージョンをダウンロードしてインストールしてください。",
|
||||
"extension.installation.failed": "C/C++ の拡張機能を正常にインストールできませんでした。正常に機能させるには、C/C++ 言語機能の拡張機能を修復または再インストールする必要があります。",
|
||||
"remove.extension": "修復の試行",
|
||||
"jason.files.missing": "C/C++ の拡張機能を正常にインストールできませんでした。正常に機能させるには、C/C++ 言語機能の拡張機能を再インストールする必要があります。",
|
||||
"json.files.missing": "C/C++ の拡張機能を正常にインストールできませんでした。正常に機能させるには、C/C++ 言語機能の拡張機能を再インストールする必要があります。",
|
||||
"initialization.failed": "C/C++ 拡張機能のインストールに失敗しました。詳細については、出力ウィンドウをご覧ください。",
|
||||
"updating.dependencies": "C/C++ の依存関係を更新しています...",
|
||||
"rename.failed.delete.manually": "エラー: fs.rename が、\"{0}\" により失敗しました。{1} を手動で削除し、デバッグを有効にしてください。",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "기본 구성",
|
||||
"select.configuration": "구성을 선택합니다.",
|
||||
"debug.configuration.selection.canceled": "디버그 구성 선택 취소됨",
|
||||
"cl.exe.not.available": "{0} 빌드 및 디버그는 VS의 개발자 명령 프롬프트에서 VS Code를 실행하는 경우에만 사용할 수 있습니다.",
|
||||
"miDebuggerPath.not.available": "miDebuggerPath가 없습니다. {0}. 디버거가 설치되었습니까?",
|
||||
"debugger.deprecated.config": "'{0}' 키는 사용되지 않습니다. 대신 '{1}'을(를) 사용하세요.",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "이 확장의 {0} {1} 버전은 OS와 호환되지 않습니다. 확장의 \"{2}\" 버전을 다운로드하여 설치하세요.",
|
||||
"extension.installation.failed": "C/C++ 확장을 설치하지 못했습니다. C/C++ 언어 기능이 제대로 작동하려면 확장을 복구하거나 다시 설치해야 합니다.",
|
||||
"remove.extension": "복구 시도",
|
||||
"jason.files.missing": "C/C++ 확장을 설치하지 못했습니다. C/C++ 언어 기능이 제대로 작동하려면 확장을 다시 설치해야 합니다.",
|
||||
"json.files.missing": "C/C++ 확장을 설치하지 못했습니다. C/C++ 언어 기능이 제대로 작동하려면 확장을 다시 설치해야 합니다.",
|
||||
"initialization.failed": "C/C++ 확장을 설치하지 못했습니다. 자세한 내용은 출력 창을 참조하세요.",
|
||||
"updating.dependencies": "C/C++ 종속성을 업데이트하는 중...",
|
||||
"rename.failed.delete.manually": "오류: fs.rename이 \"{0}\"과(와) 함께 실패했습니다. {1}을(를) 수동으로 삭제하여 디버깅을 사용하도록 설정합니다.",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "Konfiguracja domyślna",
|
||||
"select.configuration": "Wybierz konfigurację",
|
||||
"debug.configuration.selection.canceled": "Anulowano wybór konfiguracji debugowania",
|
||||
"cl.exe.not.available": "{0} — funkcji kompilacji i debugowania można używać tylko wtedy, gdy program VS Code został uruchomiony z wiersza polecenia dla deweloperów w programie VS.",
|
||||
"miDebuggerPath.not.available": "Element miDebuggerPath nie istnieje: {0}. Czy zainstalowano debuger?",
|
||||
"debugger.deprecated.config": "Klucz „{0}” jest przestarzały. Zamiast niego użyj klucza „{1}”.",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "Ta wersja rozszerzenia systemu {0} {1} jest niezgodna z Twoim systemem operacyjnym. Pobierz i zainstaluj wersję rozszerzenia „{2}”.",
|
||||
"extension.installation.failed": "Nie można pomyślnie zainstalować rozszerzenia języka C/C++. Aby umożliwić poprawne działanie, należy naprawić lub zainstalować ponownie rozszerzenie dla funkcji języka C/C++.",
|
||||
"remove.extension": "Spróbuj naprawić",
|
||||
"jason.files.missing": "Nie można pomyślnie zainstalować rozszerzenia języka C/C++. Aby umożliwić poprawne działanie, należy zainstalować ponownie rozszerzenie dla funkcji języka C/C++.",
|
||||
"json.files.missing": "Nie można pomyślnie zainstalować rozszerzenia języka C/C++. Aby umożliwić poprawne działanie, należy zainstalować ponownie rozszerzenie dla funkcji języka C/C++.",
|
||||
"initialization.failed": "Instalacja rozszerzenia języka C/C++ nie powiodła się. Zobacz okno danych wyjściowych, aby uzyskać więcej informacji.",
|
||||
"updating.dependencies": "Trwa aktualizowanie zależności języka C/C++...",
|
||||
"rename.failed.delete.manually": "BŁĄD: wystąpił błąd funkcji fs.rename: „{0}”. Usuń element {1} ręcznie, aby włączyć debugowanie.",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "Configuração Padrão",
|
||||
"select.configuration": "Selecionar uma configuração",
|
||||
"debug.configuration.selection.canceled": "A seleção de configuração de depuração foi cancelada",
|
||||
"cl.exe.not.available": "A criação e a depuração de {0} só podem ser usadas quando o VS Code é executado por meio do Prompt de Comando do Desenvolvedor para VS.",
|
||||
"miDebuggerPath.not.available": "miDebuggerPath não existe: {0}. Algum depurador foi instalado?",
|
||||
"debugger.deprecated.config": "A chave '{0}' foi preterida. Use '{1}'.",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "Esta versão {0} {1} da extensão é incompatível com seu sistema operacional. Baixe e instale a versão \"{2}\" da extensão.",
|
||||
"extension.installation.failed": "A extensão C/C++ não foi instalada com êxito. Será necessário reparar ou reinstalar a extensão dos recursos da linguagem C/C++ para que ela funcione corretamente.",
|
||||
"remove.extension": "Tentar Reparar",
|
||||
"jason.files.missing": "A extensão C/C++ não foi instalada com êxito. Será necessário reinstalar a extensão dos recursos da linguagem C/C++ para que ela funcione corretamente.",
|
||||
"json.files.missing": "A extensão C/C++ não foi instalada com êxito. Será necessário reinstalar a extensão dos recursos da linguagem C/C++ para que ela funcione corretamente.",
|
||||
"initialization.failed": "Falha na instalação da extensão C/C++. Para obter mais informações, confira a janela de saída.",
|
||||
"updating.dependencies": "Atualizando dependências de C/C++...",
|
||||
"rename.failed.delete.manually": "ERRO: o fs.rename falhou com \"{0}\". Exclua {1} manualmente para habilitar a depuração.",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "Конфигурация по умолчанию",
|
||||
"select.configuration": "Выберите конфигурацию",
|
||||
"debug.configuration.selection.canceled": "Выбор конфигурации отладки отменен",
|
||||
"cl.exe.not.available": "Сборку и отладку {0} можно использовать только при запуске VS Code из Командной строки разработчика для VS.",
|
||||
"miDebuggerPath.not.available": "Путь miDebuggerPath не существует: {0}. Установлен ли отладчик?",
|
||||
"debugger.deprecated.config": "Ключ \"{0}\" устарел. Используйте \"{1}\".",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "Версия расширения для {0} {1} несовместима с вашей ОС. Скачайте и установите версию расширения \"{2}\".",
|
||||
"extension.installation.failed": "Установить расширение C/C++ не удалось. Исправьте или переустановите расширение функций языка C/C++ для корректной работы.",
|
||||
"remove.extension": "Попытка исправления",
|
||||
"jason.files.missing": "Установить расширение C/C++ не удалось. Переустановите расширение функций языка C/C++ для корректной работы.",
|
||||
"json.files.missing": "Установить расширение C/C++ не удалось. Переустановите расширение функций языка C/C++ для корректной работы.",
|
||||
"initialization.failed": "Не удалось установить расширение C/C++. Дополнительные сведения см. в окне вывода.",
|
||||
"updating.dependencies": "Обновление зависимостей C/C++...",
|
||||
"rename.failed.delete.manually": "Ошибка: сбой fs.rename с \"{0}\". Удалите {1} вручную, чтобы включить отладку.",
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
{
|
||||
"default.configuration.menuitem": "Varsayılan Yapılandırma",
|
||||
"select.configuration": "Yapılandırma seçin",
|
||||
"debug.configuration.selection.canceled": "Hata ayıklama yapılandırma seçimi iptal edildi",
|
||||
"cl.exe.not.available": "{0} derlemesi ve hata ayıklama yalnızca VS Code, VS için Geliştirici Komut İstemi'nden çalıştırıldığında kullanılabilir.",
|
||||
"miDebuggerPath.not.available": "miDebuggerPath yok: {0}. Hata ayıklayıcısı yüklendi mi?",
|
||||
"debugger.deprecated.config": "{0}' anahtarı kullanım dışı. Lütfen bunun yerine '{1}' kullanın.",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"native.binaries.not.supported": "Uzantının bu {0} {1} sürümü, işletim sisteminizle uyumlu değil. Lütfen uzantının \"{2}\" sürümünü indirip yükleyin.",
|
||||
"extension.installation.failed": "C/C++ uzantısı başarıyla yüklenemedi. C/C++ dil özelliklerinin düzgün çalışması için uzantıyı onarmanız veya yeniden yüklemeniz gerekir.",
|
||||
"remove.extension": "Onarmayı Dene",
|
||||
"jason.files.missing": "C/C++ uzantısı başarıyla yüklenemedi. C/C++ dil özelliklerinin düzgün çalışabilmesi için uzantıyı yeniden yüklemeniz gerekir.",
|
||||
"json.files.missing": "C/C++ uzantısı başarıyla yüklenemedi. C/C++ dil özelliklerinin düzgün çalışabilmesi için uzantıyı yeniden yüklemeniz gerekir.",
|
||||
"initialization.failed": "C/C++ uzantısının yüklenmesi başarısız oldu. Daha fazla bilgi için lütfen çıkış penceresine bakın.",
|
||||
"updating.dependencies": "C/C++ bağımlılıkları güncelleştiriliyor...",
|
||||
"rename.failed.delete.manually": "HATA: fs.rename, \"{0}\" ile başarısız oldu. Hata ayıklamayı etkinleştirmek için {1} dosyasını kendiniz silin.",
|
||||
|
||||
+319
-24
@@ -2,7 +2,7 @@
|
||||
"name": "cpptools",
|
||||
"displayName": "C/C++",
|
||||
"description": "C/C++ IntelliSense, debugging, and code browsing.",
|
||||
"version": "1.5.0-main",
|
||||
"version": "1.5.1-main",
|
||||
"publisher": "ms-vscode",
|
||||
"icon": "LanguageCCPP_color_128x.png",
|
||||
"readme": "README.md",
|
||||
@@ -54,7 +54,6 @@
|
||||
"id": "cppWelcome",
|
||||
"title": "Get Started with C++ Development",
|
||||
"description": "Dive into VS Code's rich C++ development experience.",
|
||||
"primary": true,
|
||||
"when": "false",
|
||||
"steps": [
|
||||
{
|
||||
@@ -2642,60 +2641,356 @@
|
||||
],
|
||||
"semanticTokenScopes": [
|
||||
{
|
||||
"language": "c",
|
||||
"scopes": {
|
||||
"namespace": [
|
||||
"entity.name.namespace.c"
|
||||
],
|
||||
"type": [
|
||||
"entity.name.type.c"
|
||||
],
|
||||
"type.defaultLibrary": [
|
||||
"support.type.c"
|
||||
],
|
||||
"struct": [
|
||||
"storage.type.struct.c"
|
||||
],
|
||||
"class": [
|
||||
"entity.name.type.class.c"
|
||||
],
|
||||
"class.defaultLibrary": [
|
||||
"support.class.c"
|
||||
],
|
||||
"interface": [
|
||||
"entity.name.type.interface.c"
|
||||
],
|
||||
"enum": [
|
||||
"entity.name.type.enum.c"
|
||||
],
|
||||
"function": [
|
||||
"entity.name.function.c"
|
||||
],
|
||||
"function.defaultLibrary": [
|
||||
"support.function.c"
|
||||
],
|
||||
"method": [
|
||||
"entity.name.function.member.c"
|
||||
],
|
||||
"variable": [
|
||||
"variable.other.readwrite.c",
|
||||
"entity.name.variable.c"
|
||||
],
|
||||
"variable.readonly": [
|
||||
"variable.other.constant.c"
|
||||
],
|
||||
"variable.readonly.defaultLibrary": [
|
||||
"support.constant.c"
|
||||
],
|
||||
"parameter": [
|
||||
"variable.parameter.c"
|
||||
],
|
||||
"property": [
|
||||
"variable.other.property.c"
|
||||
],
|
||||
"property.readonly": [
|
||||
"variable.other.constant.property.c"
|
||||
],
|
||||
"enumMember": [
|
||||
"variable.other.enummember.c"
|
||||
],
|
||||
"event": [
|
||||
"variable.other.event.c"
|
||||
],
|
||||
"label": [
|
||||
"entity.name.label"
|
||||
"entity.name.label.c"
|
||||
],
|
||||
"variable.global": [
|
||||
"variable.other.global"
|
||||
"variable.other.global.c"
|
||||
],
|
||||
"variable.local": [
|
||||
"variable.other.local"
|
||||
"variable.other.local.c"
|
||||
],
|
||||
"property.static": [
|
||||
"variable.other.property.static"
|
||||
"variable.other.property.static.c"
|
||||
],
|
||||
"method.static": [
|
||||
"entity.name.function.member.static"
|
||||
"entity.name.function.member.static.c"
|
||||
],
|
||||
"macro": [
|
||||
"entity.name.function.preprocessor"
|
||||
"entity.name.function.preprocessor.c",
|
||||
"entity.name.function.macro.c"
|
||||
],
|
||||
"referenceType": [
|
||||
"entity.name.type.class.reference"
|
||||
"entity.name.type.class.reference.c"
|
||||
],
|
||||
"cliProperty": [
|
||||
"variable.other.property.cli"
|
||||
"variable.other.property.cli.c"
|
||||
],
|
||||
"genericType": [
|
||||
"entity.name.type.class.generic"
|
||||
"entity.name.type.class.generic.c"
|
||||
],
|
||||
"valueType": [
|
||||
"entity.name.type.class.value"
|
||||
"entity.name.type.class.value.c"
|
||||
],
|
||||
"templateFunction": [
|
||||
"entity.name.function.templated"
|
||||
"entity.name.function.templated.c"
|
||||
],
|
||||
"templateType": [
|
||||
"entity.name.type.class.templated"
|
||||
"entity.name.type.class.templated.c"
|
||||
],
|
||||
"operatorOverload": [
|
||||
"entity.name.function.operator"
|
||||
"entity.name.function.operator.c"
|
||||
],
|
||||
"memberOperatorOverload": [
|
||||
"entity.name.function.operator.member"
|
||||
"entity.name.function.operator.member.c"
|
||||
],
|
||||
"newOperator": [
|
||||
"keyword.operator.new"
|
||||
"keyword.operator.new.c"
|
||||
],
|
||||
"numberLiteral": [
|
||||
"entity.name.operator.custom-literal.number"
|
||||
"entity.name.operator.custom-literal.number.c"
|
||||
],
|
||||
"customLiteral": [
|
||||
"entity.name.operator.custom-literal"
|
||||
"entity.name.operator.custom-literal.c"
|
||||
],
|
||||
"stringLiteral": [
|
||||
"entity.name.operator.custom-literal.string"
|
||||
"entity.name.operator.custom-literal.string.c"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"language": "cpp",
|
||||
"scopes": {
|
||||
"namespace": [
|
||||
"entity.name.namespace.cpp"
|
||||
],
|
||||
"type": [
|
||||
"entity.name.type.cpp"
|
||||
],
|
||||
"type.defaultLibrary": [
|
||||
"support.type.cpp"
|
||||
],
|
||||
"struct": [
|
||||
"storage.type.struct.cpp"
|
||||
],
|
||||
"class": [
|
||||
"entity.name.type.class.cpp"
|
||||
],
|
||||
"class.defaultLibrary": [
|
||||
"support.class.cpp"
|
||||
],
|
||||
"interface": [
|
||||
"entity.name.type.interface.cpp"
|
||||
],
|
||||
"enum": [
|
||||
"entity.name.type.enum.cpp"
|
||||
],
|
||||
"function": [
|
||||
"entity.name.function.cpp"
|
||||
],
|
||||
"function.defaultLibrary": [
|
||||
"support.function.cpp"
|
||||
],
|
||||
"method": [
|
||||
"entity.name.function.member.cpp"
|
||||
],
|
||||
"variable": [
|
||||
"variable.other.readwrite.cpp",
|
||||
"entity.name.variable.cpp"
|
||||
],
|
||||
"variable.readonly": [
|
||||
"variable.other.constant.cpp"
|
||||
],
|
||||
"variable.readonly.defaultLibrary": [
|
||||
"support.constant.cpp"
|
||||
],
|
||||
"parameter": [
|
||||
"variable.parameter.cpp"
|
||||
],
|
||||
"property": [
|
||||
"variable.other.property.cpp"
|
||||
],
|
||||
"property.readonly": [
|
||||
"variable.other.constant.property.cpp"
|
||||
],
|
||||
"enumMember": [
|
||||
"variable.other.enummember.cpp"
|
||||
],
|
||||
"event": [
|
||||
"variable.other.event.cpp"
|
||||
],
|
||||
"label": [
|
||||
"entity.name.label.cpp"
|
||||
],
|
||||
"variable.global": [
|
||||
"variable.other.global.cpp"
|
||||
],
|
||||
"variable.local": [
|
||||
"variable.other.local.cpp"
|
||||
],
|
||||
"property.static": [
|
||||
"variable.other.property.static.cpp"
|
||||
],
|
||||
"method.static": [
|
||||
"entity.name.function.member.static.cpp"
|
||||
],
|
||||
"macro": [
|
||||
"entity.name.function.preprocessor.cpp",
|
||||
"entity.name.function.macro.cpp"
|
||||
],
|
||||
"referenceType": [
|
||||
"entity.name.type.class.reference.cpp"
|
||||
],
|
||||
"cliProperty": [
|
||||
"variable.other.property.cli.cpp"
|
||||
],
|
||||
"genericType": [
|
||||
"entity.name.type.class.generic.cpp"
|
||||
],
|
||||
"valueType": [
|
||||
"entity.name.type.class.value.cpp"
|
||||
],
|
||||
"templateFunction": [
|
||||
"entity.name.function.templated.cpp"
|
||||
],
|
||||
"templateType": [
|
||||
"entity.name.type.class.templated.cpp"
|
||||
],
|
||||
"operatorOverload": [
|
||||
"entity.name.function.operator.cpp"
|
||||
],
|
||||
"memberOperatorOverload": [
|
||||
"entity.name.function.operator.member.cpp"
|
||||
],
|
||||
"newOperator": [
|
||||
"keyword.operator.new.cpp"
|
||||
],
|
||||
"numberLiteral": [
|
||||
"entity.name.operator.custom-literal.number.cpp"
|
||||
],
|
||||
"customLiteral": [
|
||||
"entity.name.operator.custom-literal.cpp"
|
||||
],
|
||||
"stringLiteral": [
|
||||
"entity.name.operator.custom-literal.string.cpp"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"language": "cuda-cpp",
|
||||
"scopes": {
|
||||
"namespace": [
|
||||
"entity.name.namespace.cuda-cpp"
|
||||
],
|
||||
"type": [
|
||||
"entity.name.type.cuda-cpp"
|
||||
],
|
||||
"type.defaultLibrary": [
|
||||
"support.type.cuda-cpp"
|
||||
],
|
||||
"struct": [
|
||||
"storage.type.struct.cuda-cpp"
|
||||
],
|
||||
"class": [
|
||||
"entity.name.type.class.cuda-cpp"
|
||||
],
|
||||
"class.defaultLibrary": [
|
||||
"support.class.cuda-cpp"
|
||||
],
|
||||
"interface": [
|
||||
"entity.name.type.interface.cuda-cpp"
|
||||
],
|
||||
"enum": [
|
||||
"entity.name.type.enum.cuda-cpp"
|
||||
],
|
||||
"function": [
|
||||
"entity.name.function.cuda-cpp"
|
||||
],
|
||||
"function.defaultLibrary": [
|
||||
"support.function.cuda-cpp"
|
||||
],
|
||||
"method": [
|
||||
"entity.name.function.member.cuda-cpp"
|
||||
],
|
||||
"variable": [
|
||||
"variable.other.readwrite.cuda-cpp",
|
||||
"entity.name.variable.cuda-cpp"
|
||||
],
|
||||
"variable.readonly": [
|
||||
"variable.other.constant.cuda-cpp"
|
||||
],
|
||||
"variable.readonly.defaultLibrary": [
|
||||
"support.constant.cuda-cpp"
|
||||
],
|
||||
"parameter": [
|
||||
"variable.parameter.cuda-cpp"
|
||||
],
|
||||
"property": [
|
||||
"variable.other.property.cuda-cpp"
|
||||
],
|
||||
"property.readonly": [
|
||||
"variable.other.constant.property.cuda-cpp"
|
||||
],
|
||||
"enumMember": [
|
||||
"variable.other.enummember.cuda-cpp"
|
||||
],
|
||||
"event": [
|
||||
"variable.other.event.cuda-cpp"
|
||||
],
|
||||
"label": [
|
||||
"entity.name.label.cuda-cpp"
|
||||
],
|
||||
"variable.global": [
|
||||
"variable.other.global.cuda-cpp"
|
||||
],
|
||||
"variable.local": [
|
||||
"variable.other.local.cuda-cpp"
|
||||
],
|
||||
"property.static": [
|
||||
"variable.other.property.static.cuda-cpp"
|
||||
],
|
||||
"method.static": [
|
||||
"entity.name.function.member.static.cuda-cpp"
|
||||
],
|
||||
"macro": [
|
||||
"entity.name.function.preprocessor.cuda-cpp",
|
||||
"entity.name.function.macro.cuda-cpp"
|
||||
],
|
||||
"referenceType": [
|
||||
"entity.name.type.class.reference.cuda-cpp"
|
||||
],
|
||||
"cliProperty": [
|
||||
"variable.other.property.cli.cuda-cpp"
|
||||
],
|
||||
"genericType": [
|
||||
"entity.name.type.class.generic.cuda-cpp"
|
||||
],
|
||||
"valueType": [
|
||||
"entity.name.type.class.value.cuda-cpp"
|
||||
],
|
||||
"templateFunction": [
|
||||
"entity.name.function.templated.cuda-cpp"
|
||||
],
|
||||
"templateType": [
|
||||
"entity.name.type.class.templated.cuda-cpp"
|
||||
],
|
||||
"operatorOverload": [
|
||||
"entity.name.function.operator.cuda-cpp"
|
||||
],
|
||||
"memberOperatorOverload": [
|
||||
"entity.name.function.operator.member.cuda-cpp"
|
||||
],
|
||||
"newOperator": [
|
||||
"keyword.operator.new.cuda-cpp"
|
||||
],
|
||||
"numberLiteral": [
|
||||
"entity.name.operator.custom-literal.number.cuda-cpp"
|
||||
],
|
||||
"customLiteral": [
|
||||
"entity.name.operator.custom-literal.cuda-cpp"
|
||||
],
|
||||
"stringLiteral": [
|
||||
"entity.name.operator.custom-literal.string.cuda-cpp"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -3107,7 +3402,7 @@
|
||||
},
|
||||
{
|
||||
"description": "Visual Studio Windows Debugger",
|
||||
"url": "https://go.microsoft.com/fwlink/?linkid=2167487",
|
||||
"url": "https://go.microsoft.com/fwlink/?linkid=2167539",
|
||||
"platforms": [
|
||||
"win32"
|
||||
],
|
||||
@@ -3118,11 +3413,11 @@
|
||||
"binaries": [
|
||||
"./debugAdapters/vsdbg/bin/vsdbg.exe"
|
||||
],
|
||||
"integrity": "BACAD3BC69C548FA5CEC0B15109C8628CB45D0F622F1F6C635A23C29B0B042E1"
|
||||
"integrity": "3E71A1FDD78FBD9FD46ADEE0DF1283349363078B273CAE765978ACF1BA9C2DB1"
|
||||
},
|
||||
{
|
||||
"description": "Visual Studio Windows ARM64 Debugger",
|
||||
"url": "https://go.microsoft.com/fwlink/?linkid=2167488",
|
||||
"url": "https://go.microsoft.com/fwlink/?linkid=2167648",
|
||||
"platforms": [
|
||||
"win32"
|
||||
],
|
||||
@@ -3132,7 +3427,7 @@
|
||||
"binaries": [
|
||||
"./debugAdapters/vsdbg/bin/vsdbg.exe"
|
||||
],
|
||||
"integrity": "64325BABDC9B51E7D51111788083BE91C3CC36DEC80145687D9AB6F988F9071F"
|
||||
"integrity": "698BA3D45B925F998AACE9ED387ADE4927FFE569860408570FD074DD0CD56252"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -27,19 +27,13 @@ export class FoldingRangeProvider implements vscode.FoldingRangeProvider {
|
||||
return undefined;
|
||||
}
|
||||
const result: vscode.FoldingRange[] = [];
|
||||
ranges.ranges.forEach((r: CppFoldingRange, index: number, array: CppFoldingRange[]) => {
|
||||
let nextNonNestedIndex: number = index + 1; // Skip over nested if's.
|
||||
for (; nextNonNestedIndex < array.length; ++nextNonNestedIndex) {
|
||||
if (array[nextNonNestedIndex].range.start.line >= r.range.end.line) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
ranges.ranges.forEach((r: CppFoldingRange) => {
|
||||
const foldingRange: vscode.FoldingRange = {
|
||||
start: r.range.start.line,
|
||||
// Move the end range up one if it overlaps with the next start range, because
|
||||
// Move the end range up one, so the end } line isn't folded, because
|
||||
// VS Code doesn't support column-based folding: https://github.com/microsoft/vscode/issues/50840
|
||||
end: r.range.end.line - (nextNonNestedIndex >= array.length ? 0 :
|
||||
(array[nextNonNestedIndex].range.start.line !== r.range.end.line ? 0 : 1))
|
||||
// The behavior matches TypeScript but not VS (which has column-based folding).
|
||||
end: r.range.end.line - 1
|
||||
};
|
||||
switch (r.kind) {
|
||||
case FoldingRangeKind.Comment:
|
||||
|
||||
@@ -650,6 +650,7 @@ export class DefaultClient implements Client {
|
||||
private isSupported: boolean = true;
|
||||
private inactiveRegionsDecorations = new Map<string, DecorationRangesPair>();
|
||||
private settingsTracker: SettingsTracker;
|
||||
private loggingLevel: string | undefined;
|
||||
private configurationProvider?: string;
|
||||
private documentSelector: DocumentFilter[] = [
|
||||
{ scheme: 'file', language: 'c' },
|
||||
@@ -1302,6 +1303,7 @@ export class DefaultClient implements Client {
|
||||
};
|
||||
|
||||
// Create the language client
|
||||
this.loggingLevel = clientOptions.initializationOptions.loggingLevel;
|
||||
return new LanguageClient(`cpptools`, serverOptions, clientOptions);
|
||||
}
|
||||
|
||||
@@ -1379,6 +1381,16 @@ export class DefaultClient implements Client {
|
||||
if (changedSettings["commentContinuationPatterns"]) {
|
||||
updateLanguageConfigurations();
|
||||
}
|
||||
if (changedSettings["loggingLevel"]) {
|
||||
const oldLoggingLevelLogged: boolean = !!this.loggingLevel && this.loggingLevel !== "None" && this.loggingLevel !== "Error";
|
||||
const newLoggingLevel: string | undefined = changedSettings["loggingLevel"];
|
||||
this.loggingLevel = newLoggingLevel;
|
||||
const newLoggingLevelLogged: boolean = !!newLoggingLevel && newLoggingLevel !== "None" && newLoggingLevel !== "Error";
|
||||
if (oldLoggingLevelLogged || newLoggingLevelLogged) {
|
||||
const out: logger.Logger = logger.getOutputChannelLogger();
|
||||
out.appendLine(localize("loggingLevel.changed", "{0} has changed to: {1}", "loggingLevel", changedSettings["loggingLevel"]));
|
||||
}
|
||||
}
|
||||
const settings: CppSettings = new CppSettings();
|
||||
if (changedSettings["formatting"]) {
|
||||
if (settings.formattingEngine !== "Disabled") {
|
||||
|
||||
@@ -775,12 +775,11 @@ export class CppProperties {
|
||||
configuration.intelliSenseModeIsExplicit = configuration.intelliSenseModeIsExplicit || settings.defaultIntelliSenseMode !== "";
|
||||
configuration.cStandardIsExplicit = configuration.cStandardIsExplicit || settings.defaultCStandard !== "";
|
||||
configuration.cppStandardIsExplicit = configuration.cppStandardIsExplicit || settings.defaultCppStandard !== "";
|
||||
configuration.compilerPathIsExplicit = false;
|
||||
if (!configuration.compileCommands) {
|
||||
// compile_commands.json already specifies a compiler. compilerPath overrides the compile_commands.json compiler so
|
||||
// don't set a default when compileCommands is in use.
|
||||
configuration.compilerPath = this.updateConfigurationString(configuration.compilerPath, settings.defaultCompilerPath, env, true);
|
||||
configuration.compilerPathIsExplicit = configuration.compilerPath !== undefined;
|
||||
configuration.compilerPathIsExplicit = configuration.compilerPathIsExplicit || settings.defaultCompilerPath !== undefined;
|
||||
if (configuration.compilerPath === undefined) {
|
||||
if (!!this.defaultCompilerPath) {
|
||||
// If no config value yet set for these, pick up values from the defaults, but don't consider them explicit.
|
||||
@@ -820,6 +819,8 @@ export class CppProperties {
|
||||
} else if (configuration.compilerPath !== undefined) {
|
||||
configuration.compilerPath = util.resolveVariables(configuration.compilerPath, env);
|
||||
configuration.compilerPathIsExplicit = true;
|
||||
} else {
|
||||
configuration.compilerPathIsExplicit = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
import * as vscode from 'vscode';
|
||||
import * as os from 'os';
|
||||
import { CppSettings } from './LanguageServer/settings';
|
||||
|
||||
// This is used for testing purposes
|
||||
let Subscriber: (message: string) => void;
|
||||
@@ -70,6 +71,11 @@ let outputChannel: vscode.OutputChannel | undefined;
|
||||
export function getOutputChannel(): vscode.OutputChannel {
|
||||
if (!outputChannel) {
|
||||
outputChannel = vscode.window.createOutputChannel("C/C++");
|
||||
const settings: CppSettings = new CppSettings();
|
||||
const loggingLevel: string | undefined = settings.loggingLevel;
|
||||
if (!!loggingLevel && loggingLevel !== "None" && loggingLevel !== "Error") {
|
||||
outputChannel.appendLine(`loggingLevel: ${loggingLevel}`);
|
||||
}
|
||||
}
|
||||
return outputChannel;
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<CppToo
|
||||
});
|
||||
} else if (!(await util.checkInstallJsonsExist())) {
|
||||
// Check the Json files to declare if the extension has been installed successfully.
|
||||
errMsg = localize("jason.files.missing", "The C/C++ extension failed to install successfully. You will need to reinstall the extension for C/C++ language features to function properly.");
|
||||
errMsg = localize("json.files.missing", "The C/C++ extension failed to install successfully. You will need to reinstall the extension for C/C++ language features to function properly.");
|
||||
const downloadLink: string = localize("download.button", "Go to Download Page");
|
||||
vscode.window.showErrorMessage(errMsg, downloadLink).then(async (selection) => {
|
||||
if (selection === downloadLink) {
|
||||
|
||||
@@ -229,5 +229,8 @@
|
||||
"invoking_nvcc": "Invoking nvcc with command line: {0}",
|
||||
"nvcc_host_compile_command_not_found": "Unable to find host compile command in output of nvcc.",
|
||||
"unable_to_locate_forced_include": "Unable to locate forced include: {0}",
|
||||
"inline_macro": "Inline macro"
|
||||
"inline_macro": {
|
||||
"text": "Inline macro",
|
||||
"hint": "'Inline' is a command and not an adjective, i.e. like 'Expand macro'."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user