diff --git a/CHANGELOG.md b/CHANGELOG.md index 039161e09b..5121ef1ca3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ - Diagnostics related feature requests and improvements [#5951](https://github.com/dotnet/vscode-csharp/issues/5951) - Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876) +# 2.92.x +* Bump Razor to 10.0.0-preview.25464.2 (PR: [#8628](https://github.com/dotnet/vscode-csharp/pull/8628)) + * Improve go to definition for mvc tag helpers (PR: [#12216](https://github.com/dotnet/razor/pull/12216)) + * Filter CSS024 when caused by C# code in an attribute (PR: [#12209](https://github.com/dotnet/razor/pull/12209)) + * Provide more specific information in cohosting failures (PR: [#12193](https://github.com/dotnet/razor/pull/12193)) + * Fix renaming file (PR: [#12196](https://github.com/dotnet/razor/pull/12196)) + # 2.91.x * Bump Roslyn to 5.0.0-2.25458.10 (PR: [#8588](https://github.com/dotnet/vscode-csharp/pull/8588)) * Move brace adjustment on enter to on auto insert in LSP(PR: [#80075](https://github.com/dotnet/roslyn/pull/80075)) @@ -15,12 +22,10 @@ * Allow Razor to get task list items for a document (PR: [#80102](https://github.com/dotnet/roslyn/pull/80102)) * Update debugger packages, move to PortableInterop IMetadataImport (PR: [#80063](https://github.com/dotnet/roslyn/pull/80063)) * Fix issue reporting diagnostic in additional file when diagnostic produced by a source generator (PR: [#80071](https://github.com/dotnet/roslyn/pull/80071)) - * Always run the razor generator even in balanced mode (PR: [#79510](https://github.com/dotnet/roslyn/pull/79510)) * Bump Razor to 10.0.0-preview.25454.5 (PR: [#8590](https://github.com/dotnet/vscode-csharp/pull/8590)) * Fix extra character insertion during attribute completion in VS Code (PR: [#12177](https://github.com/dotnet/razor/pull/12177)) * Remove UseNewRazorFormattingEngine feature flag (PR: [#12160](https://github.com/dotnet/razor/pull/12160)) * Allow for weird Uris as file paths (PR: [#12155](https://github.com/dotnet/razor/pull/12155)) - * Remove the feature flag for precise semantic tokens (PR: [#12149](https://github.com/dotnet/razor/pull/12149)) * Do not create a proxy agent if proxy url is empty string. (PR: [#8580](https://github.com/dotnet/vscode-csharp/pull/8580)) * Use aka.ms link for ARM32 Linux help page (PR: [#8574](https://github.com/dotnet/vscode-csharp/pull/8574)) * Update Debugger to 2.90.0 (PR: [#8572](https://github.com/dotnet/vscode-csharp/pull/8572)) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 376a5738a4..187a9c3f28 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,13 +15,33 @@ pr: - prerelease - main paths: + # Exclude paths and files which do not cause functional changes to the C# extension and do not impact CI. exclude: - - '*.md' - - 'version.json' + # Changes to these configuration files are not functional changes. + - .azuredevops/* + - .config/* + - .devcontainer/* - .github/* + - .vscode/* + # The following pipelines are not run for PRs and changes should be validated by a separate run of the pipeline. + - azure-pipelines/dotnet-vscode-csharp-insertion.yml + - azure-pipelines/loc.yml - azure-pipelines/release.yml - - CHANGELOG. + - azure-pipelines/profiling.yml + - azure-pipelines/publish-roslyn-copilot.yml + # Changes to documentation are not functional changes. + - docs/* + - images/* + - RuntimeLicenses/* + # Changes to language bundles are not functional changes. We still run CI when `l10n/bundle.l10n.json` itself is changed. - 'l10n/bundle.l10n.*.json' + # Changes to the color themes are not functional changes. + - themes/* + # Changes to documentation are not functional changes. + - '**.md' + - CODEOWNERS + # Changes to the vesion is not a functional change. The extension version is updated by the branch-snap GH action. + - 'version.json' # Run a scheduled build every night on main to run tests against insiders VSCode. # The variable testVSCodeVersion is set to insiders based on the build reason. diff --git a/azure-pipelines/publish-roslyn-copilot.yml b/azure-pipelines/publish-roslyn-copilot.yml index 353e3933c7..b0335762a6 100644 --- a/azure-pipelines/publish-roslyn-copilot.yml +++ b/azure-pipelines/publish-roslyn-copilot.yml @@ -33,7 +33,7 @@ extends: image: 1ESPT-Windows2022 os: windows templateContext: - isProduction: false #change this + isProduction: true inputs: - input: pipelineArtifact pipeline: CI diff --git a/es-metadata.yml b/es-metadata.yml new file mode 100644 index 0000000000..0cfb7ee369 --- /dev/null +++ b/es-metadata.yml @@ -0,0 +1,8 @@ +schemaVersion: 0.0.1 +isProduction: true +accountableOwners: + service: c8aedd2a-1f14-4660-83e2-c74a9417c3cc +routing: + defaultAreaPath: + org: devdiv + path: DevDiv\NET Developer Experience\CSharp and VB IDE diff --git a/l10n/bundle.l10n.de.json b/l10n/bundle.l10n.de.json index 15f8a91255..ff3f573b03 100644 --- a/l10n/bundle.l10n.de.json +++ b/l10n/bundle.l10n.de.json @@ -13,7 +13,7 @@ "An error occurred during installation of the .NET Debugger. The C# extension may need to be reinstalled.": "Fehler bei der Installation des .NET-Debuggers. Die C#-Erweiterung muss möglicherweise neu installiert werden.", "Author": "Autor", "Bug": "Fehler", - "C# Activation Status": "C# Activation Status", + "C# Activation Status": "C#-Aktivierungsstatus", "C# LSP Trace Logs": "C#-LSP-Ablaufverfolgungsprotokolle", "C# Project Context Status": "C#-Projektkontextstatus", "C# Workspace Status": "C#-Arbeitsbereichsstatus", @@ -94,10 +94,10 @@ "Invalid project index": "Ungültiger Projektindex", "Is this a Bug or Feature request?": "Handelt es sich um einen Fehler oder eine Featureanforderung?", "Language server process not found, ensure the server is running.": "Der Sprachserverprozess wurde nicht gefunden. Stellen Sie sicher, dass der Server ausgeführt wird.", - "Limited Activation": "Limited Activation", + "Limited Activation": "Eingeschränkte Aktivierung", "Logs": "Protokolle", "Machine information": "Computerinformationen", - "Manage": "Manage", + "Manage": "Verwalten", "More Detail": "Weitere Details", "More Information": "Weitere Informationen", "Name not defined in current configuration.": "Der Name ist in der aktuellen Konfiguration nicht definiert.", @@ -142,7 +142,7 @@ "Razor.VSCode version": "Razor.VSCode-Version", "Recording trace...": "Ablaufverfolgung wird aufgezeichnet...", "Reload C# Extension": "C#-Erweiterung neu laden", - "Reload Extensions": "Reload Extensions", + "Reload Extensions": "Erweiterungen erneut laden", "Reload Window": "Fenster neu laden", "Replace existing build and debug assets?": "Vorhandene Build- und Debugressourcen ersetzen?", "Report Razor Issue": "Razor-Problem melden", @@ -187,7 +187,7 @@ "The active document is not part of the open workspace. Not all language features will be available.": "Das aktive Dokument ist nicht Teil des geöffneten Arbeitsbereichs. Nicht alle Sprachfeatures sind verfügbar.", "The selected launch configuration is configured to launch a web browser but no trusted development certificate was found. Create a trusted self-signed certificate?": "Die ausgewählte Startkonfiguration ist so konfiguriert, dass ein Webbrowser gestartet wird, es wurde jedoch kein vertrauenswürdiges Entwicklungszertifikat gefunden. Vertrauenswürdiges selbstsigniertes Zertifikat erstellen?", "The value '{0}' for 'targetArchitecture' in launch configuraiton is invalid. Expected 'x86_64' or 'arm64'.": "Der Wert \"{0}\" für \"targetArchitecture\" in der Startkonfiguration ist ungültig. \"x86_64\" oder \"arm64\" wurde erwartet.", - "The workspace is not trusted.": "The workspace is not trusted.", + "The workspace is not trusted.": "Der Arbeitsbereich ist nicht vertrauenswürdig.", "The {0} extension requires at least {1} of the .NET Install Tool ({2}) extension. Please update to continue": "Für die Erweiterung {0} ist mindestens {1} der Erweiterung „.NET-Installationstool“ ({2}) erforderlich. Führen Sie eine Aktualisierung durch, um fortzufahren", "There are unresolved dependencies. Please execute the restore command to continue.": "Es sind nicht aufgelöste Abhängigkeiten vorhanden. Führen Sie den Wiederherstellungsbefehl aus, um den Vorgang fortzusetzen.", "There was an unexpected error while launching your debugging session. Check the console for helpful logs and visit the debugging docs for more info.": "Unerwarteter Fehler beim Starten der Debugsitzung. Überprüfen Sie die Konsole auf hilfreiche Protokolle, und besuchen Sie die Debugdokumentation, um weitere Informationen zu erhalten.", @@ -220,7 +220,7 @@ "WARNING": "WARNUNG", "Workspace information": "Arbeitsbereichsinformationen", "Workspace projects": "Arbeitsbereichsprojekte", - "Workspace trust has changed. Would you like to reload extensions?": "Workspace trust has changed. Would you like to reload extensions?", + "Workspace trust has changed. Would you like to reload extensions?": "Die Vertrauensstellung des Arbeitsbereichs wurde geändert. Möchten Sie Erweiterungen neu laden?", "Yes": "Ja", "You can modify the default arguments if needed": "Sie können die Standardargumente bei Bedarf ändern.", "You must first start the data collection before copying.": "Sie müssen die Datensammlung vor dem Kopieren starten.", diff --git a/l10n/bundle.l10n.es.json b/l10n/bundle.l10n.es.json index 7ae8c4d911..2a6cdd8287 100644 --- a/l10n/bundle.l10n.es.json +++ b/l10n/bundle.l10n.es.json @@ -13,7 +13,7 @@ "An error occurred during installation of the .NET Debugger. The C# extension may need to be reinstalled.": "Error durante la instalación del depurador de .NET. Es posible que sea necesario reinstalar la extensión de C#.", "Author": "Autor", "Bug": "Error", - "C# Activation Status": "C# Activation Status", + "C# Activation Status": "Estado de activación de C#", "C# LSP Trace Logs": "Registros de seguimiento LSP de C#", "C# Project Context Status": "Estado de contexto del proyecto de C#", "C# Workspace Status": "Estado del área de trabajo de C#", @@ -94,10 +94,10 @@ "Invalid project index": "Índice de proyecto no válido", "Is this a Bug or Feature request?": "¿Se trata de una solicitud de error o característica?", "Language server process not found, ensure the server is running.": "No se encuentra el proceso del servidor de lenguaje, asegúrese de que el servidor está en funcionamiento.", - "Limited Activation": "Limited Activation", + "Limited Activation": "Activación limitada", "Logs": "Registros", "Machine information": "Información del equipo", - "Manage": "Manage", + "Manage": "Administrar", "More Detail": "Más detalles", "More Information": "Más información", "Name not defined in current configuration.": "Nombre no definido en la configuración actual.", @@ -142,7 +142,7 @@ "Razor.VSCode version": "Versión de Razor.VSCode", "Recording trace...": "Grabando seguimiento...", "Reload C# Extension": "Recargar la extensión de C#", - "Reload Extensions": "Reload Extensions", + "Reload Extensions": "Recargar extensiones", "Reload Window": "Recargar ventana", "Replace existing build and debug assets?": "¿Quiere reemplazar los recursos de compilación y depuración existentes?", "Report Razor Issue": "Notificar problema de Razor", @@ -187,7 +187,7 @@ "The active document is not part of the open workspace. Not all language features will be available.": "El documento activo no forma parte del área de trabajo abierta. No todas las características de lenguaje estarán disponibles.", "The selected launch configuration is configured to launch a web browser but no trusted development certificate was found. Create a trusted self-signed certificate?": "La configuración de inicio seleccionada está configurada para iniciar un explorador web, pero no se encontró ningún certificado de desarrollo de confianza. ¿Desea crear un certificado autofirmado de confianza?", "The value '{0}' for 'targetArchitecture' in launch configuraiton is invalid. Expected 'x86_64' or 'arm64'.": "El valor “{0}” para “targetArchitecture” en la configuración de inicio no es válido. El valor que se esperaba es “x86_64” o “arm64”.", - "The workspace is not trusted.": "The workspace is not trusted.", + "The workspace is not trusted.": "El área de trabajo no es de confianza.", "The {0} extension requires at least {1} of the .NET Install Tool ({2}) extension. Please update to continue": "La extensión {0} requiere al menos {1} de la extensión de la Herramienta de instalación de .NET ({2}). Actualice para continuar", "There are unresolved dependencies. Please execute the restore command to continue.": "Hay dependencias sin resolver. Ejecute el comando de restauración para continuar.", "There was an unexpected error while launching your debugging session. Check the console for helpful logs and visit the debugging docs for more info.": "Error inesperado al iniciar la sesión de depuración. Compruebe si hay registros útiles en la consola y visite los documentos de depuración para obtener más información.", @@ -220,7 +220,7 @@ "WARNING": "ADVERTENCIA", "Workspace information": "Ver información del área de trabajo", "Workspace projects": "Proyectos de área de trabajo", - "Workspace trust has changed. Would you like to reload extensions?": "Workspace trust has changed. Would you like to reload extensions?", + "Workspace trust has changed. Would you like to reload extensions?": "La confianza del área de trabajo ha cambiado. ¿Desea recargar las extensiones?", "Yes": "Sí", "You can modify the default arguments if needed": "Puede modificar los argumentos predeterminados si es necesario", "You must first start the data collection before copying.": "Primero debe iniciar la recopilación de datos antes de copiar.", diff --git a/l10n/bundle.l10n.fr.json b/l10n/bundle.l10n.fr.json index 95ea4f6bad..5f0807eaa9 100644 --- a/l10n/bundle.l10n.fr.json +++ b/l10n/bundle.l10n.fr.json @@ -13,7 +13,7 @@ "An error occurred during installation of the .NET Debugger. The C# extension may need to be reinstalled.": "Une erreur s’est produite lors de l’installation du débogueur .NET. L’extension C# doit peut-être être réinstallée.", "Author": "Auteur", "Bug": "Bogue", - "C# Activation Status": "C# Activation Status", + "C# Activation Status": "C# État d’activation", "C# LSP Trace Logs": "Journaux de suivi C# LSP", "C# Project Context Status": "État du contexte du projet C#", "C# Workspace Status": "État de l’espace de travail C#", @@ -94,10 +94,10 @@ "Invalid project index": "Index de projet non valide", "Is this a Bug or Feature request?": "S’agit-il d’une demande de bogue ou de fonctionnalité ?", "Language server process not found, ensure the server is running.": "Processus du serveur de langage introuvable. Vérifiez que le serveur est en cours d’exécution.", - "Limited Activation": "Limited Activation", + "Limited Activation": "Activation limitée", "Logs": "Journaux", "Machine information": "Informations sur l'ordinateur", - "Manage": "Manage", + "Manage": "Gérer", "More Detail": "Plus de détails", "More Information": "Plus d'informations", "Name not defined in current configuration.": "Nom non défini dans la configuration actuelle.", @@ -142,7 +142,7 @@ "Razor.VSCode version": "Version de Razor.VSCode", "Recording trace...": "Enregistrement de la trace...", "Reload C# Extension": "Recharger l'extension C#", - "Reload Extensions": "Reload Extensions", + "Reload Extensions": "Recharger les extensions", "Reload Window": "Recharger la fenêtre", "Replace existing build and debug assets?": "Remplacer les ressources de build et de débogage existantes ?", "Report Razor Issue": "Signaler un problème Razor", @@ -187,7 +187,7 @@ "The active document is not part of the open workspace. Not all language features will be available.": "Le document actif ne fait pas partie de l’espace de travail ouvert. Toutes les fonctionnalités de langage ne seront pas disponibles.", "The selected launch configuration is configured to launch a web browser but no trusted development certificate was found. Create a trusted self-signed certificate?": "La configuration de lancement sélectionnée est configurée pour lancer un navigateur web, mais aucun certificat de développement approuvé n’a été trouvé. Créer un certificat auto-signé approuvé ?", "The value '{0}' for 'targetArchitecture' in launch configuraiton is invalid. Expected 'x86_64' or 'arm64'.": "La valeur « {0} » pour « Architecture cible » dans la configuration de lancement n'est pas valide. \"x86_64\" ou \"arm64\" attendu.", - "The workspace is not trusted.": "The workspace is not trusted.", + "The workspace is not trusted.": "L'espace de travail n'est pas approuvé.", "The {0} extension requires at least {1} of the .NET Install Tool ({2}) extension. Please update to continue": "L’extension {0} nécessite au moins la version {1} de l’extension Outil d’installation .NET ({2}). Effectuez une mise à jour pour continuer", "There are unresolved dependencies. Please execute the restore command to continue.": "Il existe des dépendances non résolues. Exécutez la commande de restauration pour continuer.", "There was an unexpected error while launching your debugging session. Check the console for helpful logs and visit the debugging docs for more info.": "Une erreur inattendue s’est produite lors du lancement de votre session de débogage. Consultez la console pour obtenir des journaux utiles et consultez les documents de débogage pour plus d’informations.", @@ -220,7 +220,7 @@ "WARNING": "AVERTISSEMENT", "Workspace information": "Informations sur l’espace de travail", "Workspace projects": "Projets de l’espace de travail", - "Workspace trust has changed. Would you like to reload extensions?": "Workspace trust has changed. Would you like to reload extensions?", + "Workspace trust has changed. Would you like to reload extensions?": "La confiance dans l’espace de travail a changé. Souhaitez-vous recharger les extensions ?", "Yes": "Oui", "You can modify the default arguments if needed": "Vous pouvez modifier les arguments par défaut si nécessaire", "You must first start the data collection before copying.": "Vous devez d’abord démarrer la collecte de données avant de la copier.", diff --git a/l10n/bundle.l10n.it.json b/l10n/bundle.l10n.it.json index 1d030649fb..33ae02aa56 100644 --- a/l10n/bundle.l10n.it.json +++ b/l10n/bundle.l10n.it.json @@ -13,7 +13,7 @@ "An error occurred during installation of the .NET Debugger. The C# extension may need to be reinstalled.": "Errore durante l'installazione del debugger .NET. Potrebbe essere necessario reinstallare l'estensione C#.", "Author": "Autore", "Bug": "Bug", - "C# Activation Status": "C# Activation Status", + "C# Activation Status": "Stato attivazione C#", "C# LSP Trace Logs": "Log di traccia LSP C#", "C# Project Context Status": "Stato contesto del progetto C#", "C# Workspace Status": "Stato dell'area di lavoro C#", @@ -94,10 +94,10 @@ "Invalid project index": "Indice di progetto non valido", "Is this a Bug or Feature request?": "Si tratta di una richiesta di bug o funzionalità?", "Language server process not found, ensure the server is running.": "Il processo del server di linguaggio non è stato trovato. Assicurarsi che il server sia in esecuzione.", - "Limited Activation": "Limited Activation", + "Limited Activation": "Attivazione limitata", "Logs": "Log", "Machine information": "Informazioni computer", - "Manage": "Manage", + "Manage": "Gestisci", "More Detail": "Altri dettagli", "More Information": "Altre informazioni", "Name not defined in current configuration.": "Nome non definito nella configurazione corrente.", @@ -142,7 +142,7 @@ "Razor.VSCode version": "Versione Razor.VSCode", "Recording trace...": "Registrazione della traccia in corso...", "Reload C# Extension": "Ricaricare l'estensione C#", - "Reload Extensions": "Reload Extensions", + "Reload Extensions": "Ricarica estensioni", "Reload Window": "Ricaricare la finestra", "Replace existing build and debug assets?": "Sostituire gli asset di compilazione ed debug esistenti?", "Report Razor Issue": "Segnala problema Razor", @@ -187,7 +187,7 @@ "The active document is not part of the open workspace. Not all language features will be available.": "Il documento attivo non fa parte dell'area di lavoro aperta. Non tutte le funzionalità della lingua saranno disponibili.", "The selected launch configuration is configured to launch a web browser but no trusted development certificate was found. Create a trusted self-signed certificate?": "La configurazione di avvio selezionata è configurata per l'avvio di un Web browser, ma non è stato trovato alcun certificato di sviluppo attendibile. Creare un certificato autofirmato attendibile?", "The value '{0}' for 'targetArchitecture' in launch configuraiton is invalid. Expected 'x86_64' or 'arm64'.": "Il valore \"{0}\" per \"targetArchitecture\" nella configurazione di avvio non è valido. \"x86_64\" o \"arm64\" previsto.", - "The workspace is not trusted.": "The workspace is not trusted.", + "The workspace is not trusted.": "L'area di lavoro non è attendibile.", "The {0} extension requires at least {1} of the .NET Install Tool ({2}) extension. Please update to continue": "L'estensione {0} richiede almeno {1} dell'estensione .NET Install Tool ({2}). Aggiorna per continuare", "There are unresolved dependencies. Please execute the restore command to continue.": "Sono presenti dipendenze non risolte. Eseguire il comando di ripristino per continuare.", "There was an unexpected error while launching your debugging session. Check the console for helpful logs and visit the debugging docs for more info.": "Si è verificato un errore imprevisto durante l'avvio della sessione di debug. Per altre informazioni, controllare la console per i log utili e visitare la documentazione di debug.", @@ -220,7 +220,7 @@ "WARNING": "AVVISO", "Workspace information": "Informazioni area di lavoro", "Workspace projects": "Progetti dell’area di lavoro", - "Workspace trust has changed. Would you like to reload extensions?": "Workspace trust has changed. Would you like to reload extensions?", + "Workspace trust has changed. Would you like to reload extensions?": "L'attendibilità dell'area di lavoro è stata modificata. Ricaricare l'estensione?", "Yes": "Sì", "You can modify the default arguments if needed": "Se necessario, è possibile modificare gli argomenti predefiniti", "You must first start the data collection before copying.": "Prima di eseguire la copia, è necessario avviare la raccolta dati.", diff --git a/l10n/bundle.l10n.ko.json b/l10n/bundle.l10n.ko.json index a0d2997010..6b3c5b4284 100644 --- a/l10n/bundle.l10n.ko.json +++ b/l10n/bundle.l10n.ko.json @@ -13,7 +13,7 @@ "An error occurred during installation of the .NET Debugger. The C# extension may need to be reinstalled.": ".NET 디버거를 설치하는 동안 오류가 발생했습니다. C# 확장을 다시 설치해야 할 수 있습니다.", "Author": "작성자", "Bug": "버그", - "C# Activation Status": "C# Activation Status", + "C# Activation Status": "C# 활성화 상태", "C# LSP Trace Logs": "C# LSP 추적 로그", "C# Project Context Status": "C# 프로젝트 컨텍스트 상태", "C# Workspace Status": "C# 작업 영역 상태", @@ -94,10 +94,10 @@ "Invalid project index": "잘못된 프로젝트 인덱스", "Is this a Bug or Feature request?": "버그인가요, 기능 요청인가요?", "Language server process not found, ensure the server is running.": "언어 서버 프로세스를 찾을 수 없습니다. 서버가 실행 중인지 확인하세요.", - "Limited Activation": "Limited Activation", + "Limited Activation": "제한된 정품 인증", "Logs": "로그", "Machine information": "컴퓨터 정보", - "Manage": "Manage", + "Manage": "관리", "More Detail": "자세한 정보", "More Information": "추가 정보", "Name not defined in current configuration.": "현재 구성에 정의되지 않은 이름입니다.", @@ -142,7 +142,7 @@ "Razor.VSCode version": "Razor.VSCode 버전", "Recording trace...": "추적 기록 중...", "Reload C# Extension": "C# 확장 다시 로드", - "Reload Extensions": "Reload Extensions", + "Reload Extensions": "확장 다시 로드", "Reload Window": "창 다시 로드", "Replace existing build and debug assets?": "기존 빌드 및 디버그 자산을 바꾸시겠습니까?", "Report Razor Issue": "Razor 문제 보고", @@ -187,7 +187,7 @@ "The active document is not part of the open workspace. Not all language features will be available.": "활성 문서는 열려 있는 작업 영역의 일부가 아닙니다. 일부 언어 기능을 사용할 수 없습니다.", "The selected launch configuration is configured to launch a web browser but no trusted development certificate was found. Create a trusted self-signed certificate?": "선택한 시작 구성이 웹 브라우저를 시작하도록 구성되었지만 신뢰할 수 있는 개발 인증서를 찾을 수 없습니다. 신뢰할 수 있는 자체 서명 인증서를 만드시겠습니까?", "The value '{0}' for 'targetArchitecture' in launch configuraiton is invalid. Expected 'x86_64' or 'arm64'.": "시작 구성의 'targetArchitecture'의 '{0}' 값이 잘못되었습니다. 'x86_64' 또는 'arm64'가 필요합니다.", - "The workspace is not trusted.": "The workspace is not trusted.", + "The workspace is not trusted.": "작업 영역을 신뢰할 수 없습니다.", "The {0} extension requires at least {1} of the .NET Install Tool ({2}) extension. Please update to continue": "{0} 확장에는 .NET 설치 도구({2}) 확장 중 최소 {1}개가 필요합니다. 계속하려면 업데이트하세요.", "There are unresolved dependencies. Please execute the restore command to continue.": "확인되지 않은 종속성이 있습니다. 계속하려면 복원 명령을 실행하세요.", "There was an unexpected error while launching your debugging session. Check the console for helpful logs and visit the debugging docs for more info.": "디버깅 세션을 시작하는 동안 예기치 않은 오류가 발생했습니다. 콘솔에서 도움이 되는 로그를 확인하세요. 자세한 내용은 디버깅 문서를 참조하세요.", @@ -220,7 +220,7 @@ "WARNING": "경고", "Workspace information": "작업 영역 정보", "Workspace projects": "작업 영역 프로젝트", - "Workspace trust has changed. Would you like to reload extensions?": "Workspace trust has changed. Would you like to reload extensions?", + "Workspace trust has changed. Would you like to reload extensions?": "작업 영역 신뢰가 변경되었습니다. 확장을 다시 로드하시겠습니까?", "Yes": "예", "You can modify the default arguments if needed": "필요한 경우 기본 인수를 수정할 수 있습니다.", "You must first start the data collection before copying.": "복사하기 전에 먼저 데이터 수집을 시작해야 합니다.", diff --git a/l10n/bundle.l10n.pl.json b/l10n/bundle.l10n.pl.json index 4d9eb5046c..6746f3dbc6 100644 --- a/l10n/bundle.l10n.pl.json +++ b/l10n/bundle.l10n.pl.json @@ -13,7 +13,7 @@ "An error occurred during installation of the .NET Debugger. The C# extension may need to be reinstalled.": "Wystąpił błąd podczas instalacji debugera platformy .NET. Może być konieczne ponowne zainstalowanie rozszerzenia języka C#.", "Author": "Autor", "Bug": "Usterka", - "C# Activation Status": "C# Activation Status", + "C# Activation Status": "Stan aktywacji języka C#", "C# LSP Trace Logs": "Dzienniki śledzenia LSP języka C#", "C# Project Context Status": "Stan kontekstu projektu C#", "C# Workspace Status": "Stan obszaru roboczego języka C#", @@ -94,10 +94,10 @@ "Invalid project index": "Nieprawidłowy indeks projektu", "Is this a Bug or Feature request?": "Czy jest to żądanie dotyczące usterki czy funkcji?", "Language server process not found, ensure the server is running.": "Nie znaleziono procesu serwera języka. Upewnij się, że serwer jest uruchomiony.", - "Limited Activation": "Limited Activation", + "Limited Activation": "Aktywacja ograniczona", "Logs": "Dzienniki", "Machine information": "Informacje o maszynie", - "Manage": "Manage", + "Manage": "Zarządzanie", "More Detail": "Więcej szczegółów", "More Information": "Więcej informacji", "Name not defined in current configuration.": "Nazwa nie jest zdefiniowana w bieżącej konfiguracji.", @@ -142,7 +142,7 @@ "Razor.VSCode version": "Wersja Razor.VSCode", "Recording trace...": "Trwa rejestrowanie śledzenia...", "Reload C# Extension": "Ponowne ładowanie rozszerzenia języka C#", - "Reload Extensions": "Reload Extensions", + "Reload Extensions": "Załaduj rozszerzenia ponownie", "Reload Window": "Ponownie załaduj okno", "Replace existing build and debug assets?": "Zamienić istniejące zasoby kompilacji i debugowania?", "Report Razor Issue": "Zgłoś problem z aparatem Razor", @@ -187,7 +187,7 @@ "The active document is not part of the open workspace. Not all language features will be available.": "Dokument aktywny nie jest częścią otwartego obszaru roboczego. Nie wszystkie funkcje językowe będą dostępne.", "The selected launch configuration is configured to launch a web browser but no trusted development certificate was found. Create a trusted self-signed certificate?": "Wybrana konfiguracja uruchamiania jest skonfigurowana do uruchamiania przeglądarki internetowej, ale nie znaleziono zaufanego certyfikatu programistycznego. Utworzyć zaufany certyfikat z podpisem własnym?", "The value '{0}' for 'targetArchitecture' in launch configuraiton is invalid. Expected 'x86_64' or 'arm64'.": "Wartość „{0}” dla elementu „targetArchitecture” w konfiguracji uruchamiania jest nieprawidłowa. Oczekiwane elementy „x86_64” lub „arm64”.", - "The workspace is not trusted.": "The workspace is not trusted.", + "The workspace is not trusted.": "Obszar roboczy nie jest zaufany.", "The {0} extension requires at least {1} of the .NET Install Tool ({2}) extension. Please update to continue": "Rozszerzenie {0} wymaga co najmniej {1} rozszerzenia narzędzia instalacji platformy .NET ({2}). Zaktualizuj, aby kontynuować", "There are unresolved dependencies. Please execute the restore command to continue.": "Istnieją nierozwiązane zależności. Wykonaj polecenie przywracania, aby kontynuować.", "There was an unexpected error while launching your debugging session. Check the console for helpful logs and visit the debugging docs for more info.": "Wystąpił nieoczekiwany błąd podczas uruchamiania sesji debugowania. Aby uzyskać więcej informacji, sprawdź konsolę pod kątem przydatnych dzienników i odwiedź dokumentację debugowania.", @@ -220,7 +220,7 @@ "WARNING": "OSTRZEŻENIE", "Workspace information": "Informacje o obszarze roboczym", "Workspace projects": "Projekty obszaru roboczego", - "Workspace trust has changed. Would you like to reload extensions?": "Workspace trust has changed. Would you like to reload extensions?", + "Workspace trust has changed. Would you like to reload extensions?": "Relacja zaufania obszaru roboczego została zmieniona. Czy chcesz ponownie załadować rozszerzenia?", "Yes": "Tak", "You can modify the default arguments if needed": "W razie potrzeby możesz zmodyfikować argumenty domyślne", "You must first start the data collection before copying.": "Przed skopiowaniem należy najpierw rozpocząć zbieranie danych.", diff --git a/l10n/bundle.l10n.pt-br.json b/l10n/bundle.l10n.pt-br.json index e8fcc98202..97645eba2c 100644 --- a/l10n/bundle.l10n.pt-br.json +++ b/l10n/bundle.l10n.pt-br.json @@ -13,7 +13,7 @@ "An error occurred during installation of the .NET Debugger. The C# extension may need to be reinstalled.": "Ocorreu um erro durante a instalação do Depurador do .NET. Talvez seja necessário reinstalar a extensão C#.", "Author": "Autor", "Bug": "Bug", - "C# Activation Status": "C# Activation Status", + "C# Activation Status": "Status de Ativação do C#", "C# LSP Trace Logs": "C# Logs de Rastreamento LSP", "C# Project Context Status": "Status do Contexto do Projeto do C#", "C# Workspace Status": "Status do workspace do C#", @@ -94,10 +94,10 @@ "Invalid project index": "Índice de projeto inválido", "Is this a Bug or Feature request?": "Isso é uma solicitação de bug ou recurso?", "Language server process not found, ensure the server is running.": "Processo do servidor de linguagem não encontrado, certifique-se de que o servidor está em execução.", - "Limited Activation": "Limited Activation", + "Limited Activation": "Ativação Limitada", "Logs": "Logs", "Machine information": "Informações do computador", - "Manage": "Manage", + "Manage": "Gerenciar", "More Detail": "Mais Detalhes", "More Information": "Mais Informações", "Name not defined in current configuration.": "Nome não definido na configuração atual.", @@ -142,7 +142,7 @@ "Razor.VSCode version": "Versão do Razor.VSCode", "Recording trace...": "Gravando rastreamento...", "Reload C# Extension": "Recarregar Extensão C#", - "Reload Extensions": "Reload Extensions", + "Reload Extensions": "Recarregar Extensões", "Reload Window": "Recarregar a Janela", "Replace existing build and debug assets?": "Substituir os ativos de compilação e depuração existentes?", "Report Razor Issue": "Relatar Problema do Razor", @@ -187,7 +187,7 @@ "The active document is not part of the open workspace. Not all language features will be available.": "O documento ativo não faz parte do workspace aberto. Nem todos os recursos de linguagem estarão disponíveis.", "The selected launch configuration is configured to launch a web browser but no trusted development certificate was found. Create a trusted self-signed certificate?": "A configuração de inicialização selecionada está configurada para iniciar um navegador da web, mas nenhum certificado de desenvolvimento confiável foi encontrado. Deseja criar um certificado autoassinado confiável?", "The value '{0}' for 'targetArchitecture' in launch configuraiton is invalid. Expected 'x86_64' or 'arm64'.": "O valor “{0}” para “targetArchitecture” na configuração de inicialização é inválido. Esperado “x86_64” ou “arm64”.", - "The workspace is not trusted.": "The workspace is not trusted.", + "The workspace is not trusted.": "O espaço de trabalho não é confiável.", "The {0} extension requires at least {1} of the .NET Install Tool ({2}) extension. Please update to continue": "A extensão {0} requer pelo menos {1} da extensão .NET Install Tool ({2}). Atualize para continuar", "There are unresolved dependencies. Please execute the restore command to continue.": "Há dependências não resolvidas. Execute o comando de restauração para continuar.", "There was an unexpected error while launching your debugging session. Check the console for helpful logs and visit the debugging docs for more info.": "Ocorreu um erro inesperado ao iniciar sua sessão de depuração. Verifique o console para obter logs úteis e visite os documentos de depuração para obter mais informações.", @@ -220,7 +220,7 @@ "WARNING": "AVISO", "Workspace information": "Informações do workspace", "Workspace projects": "Projetos do espaço de trabalho", - "Workspace trust has changed. Would you like to reload extensions?": "Workspace trust has changed. Would you like to reload extensions?", + "Workspace trust has changed. Would you like to reload extensions?": "A confiança do espaço de trabalho foi alterada. Deseja recarregar extensões?", "Yes": "Sim", "You can modify the default arguments if needed": "Você pode modificar os argumentos padrão, se necessário", "You must first start the data collection before copying.": "Você deve primeiro iniciar a coleta de dados antes de copiar.", diff --git a/l10n/bundle.l10n.tr.json b/l10n/bundle.l10n.tr.json index 30fec350a0..d684cf52d6 100644 --- a/l10n/bundle.l10n.tr.json +++ b/l10n/bundle.l10n.tr.json @@ -13,7 +13,7 @@ "An error occurred during installation of the .NET Debugger. The C# extension may need to be reinstalled.": ".NET Hata Ayıklayıcısı yüklenirken bir hata oluştu. C# uzantısının yeniden yüklenmesi gerekebilir.", "Author": "Yazar", "Bug": "Hata", - "C# Activation Status": "C# Activation Status", + "C# Activation Status": "C# Etkinleştirme Durumu", "C# LSP Trace Logs": "C# LSP İzleme Günlükleri", "C# Project Context Status": "C# Proje Bağlamı Durumu", "C# Workspace Status": "C# Çalışma Alanı Durumu", @@ -94,10 +94,10 @@ "Invalid project index": "Geçersiz proje dizini", "Is this a Bug or Feature request?": "Bu bir Hata bildirimi mi Özellik isteği mi?", "Language server process not found, ensure the server is running.": "Dil sunucusu işlemi bulunamadı, sunucunun çalıştığından emin olun.", - "Limited Activation": "Limited Activation", + "Limited Activation": "Sınırlı Etkinleştirme", "Logs": "Günlükler", "Machine information": "Makine bilgileri", - "Manage": "Manage", + "Manage": "Yönet", "More Detail": "Diğer Ayrıntılar", "More Information": "Daha Fazla Bilgi", "Name not defined in current configuration.": "Ad geçerli yapılandırmada tanımlanmadı.", @@ -142,7 +142,7 @@ "Razor.VSCode version": "Razor.VSCode sürümü", "Recording trace...": "İzlemeler kaydediliyor...", "Reload C# Extension": "C# Uzantısını Yeniden Yükle", - "Reload Extensions": "Reload Extensions", + "Reload Extensions": "Uzantıları Yeniden Yükle", "Reload Window": "Pencereyi Yeniden Yükle", "Replace existing build and debug assets?": "Mevcut derleme ve hata ayıklama varlıkları değiştirilsin mi?", "Report Razor Issue": "Razor Sorunu Bildir", @@ -187,7 +187,7 @@ "The active document is not part of the open workspace. Not all language features will be available.": "Etkin belge açık çalışma alanının bir parçası değil. Tüm dil özellikleri kullanılamaz.", "The selected launch configuration is configured to launch a web browser but no trusted development certificate was found. Create a trusted self-signed certificate?": "Seçilen başlatma yapılandırması bir web tarayıcısı başlatmak üzere yapılandırılmış, ancak güvenilir bir geliştirme sertifikası bulunamadı. Otomatik olarak imzalanan güvenilir bir sertifika oluşturulsun mu?", "The value '{0}' for 'targetArchitecture' in launch configuraiton is invalid. Expected 'x86_64' or 'arm64'.": "Başlatma yapılandırmasında 'targetArchitecture' için '{0}' değeri geçersiz. 'x86_64' veya 'arm64' bekleniyordu.", - "The workspace is not trusted.": "The workspace is not trusted.", + "The workspace is not trusted.": "Çalışma alanına güvenilmiyor.", "The {0} extension requires at least {1} of the .NET Install Tool ({2}) extension. Please update to continue": "Bu {0} uzantısı en az {1} .NET Yükleme Aracı ({2}) uzantısını gerektirir. Devam etmek için lütfen güncelleyin", "There are unresolved dependencies. Please execute the restore command to continue.": "Çözümlenmemiş bağımlılıklar var. Devam etmek için lütfen restore komutunu çalıştırın.", "There was an unexpected error while launching your debugging session. Check the console for helpful logs and visit the debugging docs for more info.": "Hata ayıklama oturumunuz başlatılırken beklenmeyen bir hata oluştu. Konsolda size yardımcı olabilecek günlüklere bakın ve daha fazla bilgi için hata ayıklama belgelerini ziyaret edin.", @@ -220,7 +220,7 @@ "WARNING": "UYARI", "Workspace information": "Çalışma alanı bilgileri", "Workspace projects": "Çalışma alanı projeleri", - "Workspace trust has changed. Would you like to reload extensions?": "Workspace trust has changed. Would you like to reload extensions?", + "Workspace trust has changed. Would you like to reload extensions?": "Çalışma alanı güveni değişti. Uzantıları yeniden yüklemek ister misiniz?", "Yes": "Evet", "You can modify the default arguments if needed": "Gerekirse varsayılan bağımsız değişkenleri değiştirebilirsiniz", "You must first start the data collection before copying.": "Kopyalamadan önce veri toplamayı başlatmalısınız.", diff --git a/package.json b/package.json index b514aaa71f..00865491dd 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "defaults": { "roslyn": "5.0.0-2.25458.10", "omniSharp": "1.39.14", - "razor": "10.0.0-preview.25454.5", + "razor": "10.0.0-preview.25464.2", "razorOmnisharp": "7.0.0-preview.23363.1", "xamlTools": "17.14.36106.43" }, @@ -405,7 +405,7 @@ { "id": "RoslynCopilot", "description": "Language server for Roslyn Copilot integration", - "url": "https://roslyn.blob.core.windows.net/releases/Microsoft.VisualStudio.Copilot.Roslyn.LanguageServer-18.0.701-alpha.zip", + "url": "https://roslyn.blob.core.windows.net/releases/Microsoft.VisualStudio.Copilot.Roslyn.LanguageServer-18.0.743-alpha.zip", "installPath": ".roslynCopilot", "platforms": [ "neutral" @@ -414,7 +414,7 @@ "neutral" ], "installTestPath": "./.roslynCopilot/Microsoft.VisualStudio.Copilot.Roslyn.LanguageServer.dll", - "integrity": "4609A58D1BA337B4917391FFEF70FEF7DD04EF97F1B0A72B4F73114635A54918" + "integrity": "94F87755F5AA90B578E06A8C91DFAA0F99BBE58B147A53BA8C53CEFA07374583" }, { "id": "Debugger", diff --git a/src/lsptoolshost/copilot/contextProviders.ts b/src/lsptoolshost/copilot/contextProviders.ts index 1f21151084..78722dbbf0 100644 --- a/src/lsptoolshost/copilot/contextProviders.ts +++ b/src/lsptoolshost/copilot/contextProviders.ts @@ -76,17 +76,8 @@ export function registerCopilotContextProviders( return; } - devkit.activate().then(async () => { + devkit.activate().then(() => { try { - const copilotClientApi = await getCopilotClientApi(); - const copilotChatApi = await getCopilotChatApi(); - if (!copilotClientApi && !copilotChatApi) { - channel.debug( - 'Failed to find compatible version of GitHub Copilot extension installed. Skip registration of Copilot context provider.' - ); - return; - } - const provider: ContextProvider = { id: CSharpExtensionId, // use extension id as provider id for now selector: [{ language: 'csharp' }], @@ -106,30 +97,50 @@ export function registerCopilotContextProviders( }, }, }; - - let installCount = 0; - if (copilotClientApi) { - const disposable = await installContextProvider(copilotClientApi, provider); - if (disposable) { - context.subscriptions.push(disposable); - installCount++; - } - } - if (copilotChatApi) { - const disposable = await installContextProvider(copilotChatApi, provider); - if (disposable) { - context.subscriptions.push(disposable); - installCount++; - } - } - - if (installCount === 0) { - channel.debug( - 'Incompatible GitHub Copilot extension installed. Skip registration of C# context providers.' - ); - return; - } - channel.debug('Registration of C# context provider for GitHub Copilot extension succeeded.'); + getCopilotClientApi() + .then(async (api) => { + if (!api) { + channel.debug( + 'Failed to find compatible version of GitHub Copilot extension installed. Skip registration of Copilot context provider.' + ); + return; + } + const disposable = await installContextProvider(api, provider); + if (disposable) { + context.subscriptions.push(disposable); + channel.debug('Registration of C# context provider for GitHub Copilot extension succeeded.'); + } else { + channel.debug( + 'Incompatible GitHub Copilot extension installed. Skip registration of C# context providers.' + ); + } + }) + .catch((error) => { + channel.error('Failed to register Copilot context providers', error); + }); + getCopilotChatApi() + .then(async (api) => { + if (!api) { + channel.debug( + 'Failed to find compatible version of GitHub Copilot Chat extension installed. Skip registration of Copilot context provider.' + ); + return; + } + const disposable = await installContextProvider(api, provider); + if (disposable) { + context.subscriptions.push(disposable); + channel.debug( + 'Registration of C# context provider for GitHub Copilot Chat extension succeeded.' + ); + } else { + channel.debug( + 'Incompatible GitHub Copilot Chat extension installed. Skip registration of C# context providers.' + ); + } + }) + .catch((error) => { + channel.error('Failed to register Copilot Chat context providers', error); + }); } catch (error) { channel.error('Failed to register Copilot context providers', error); } @@ -157,14 +168,7 @@ async function getCopilotChatApi(): Promise { let exports: CopilotChatApi | undefined; try { - exports = await Promise.race([ - extension.activate(), - new Promise((resolve) => { - setTimeout(() => { - resolve(undefined); - }, 3000); - }), - ]); + exports = await extension.activate(); } catch { return undefined; } diff --git a/src/lsptoolshost/dotnetRuntime/dotnetRuntimeExtensionResolver.ts b/src/lsptoolshost/dotnetRuntime/dotnetRuntimeExtensionResolver.ts index 24962673c3..d8dddd17f0 100644 --- a/src/lsptoolshost/dotnetRuntime/dotnetRuntimeExtensionResolver.ts +++ b/src/lsptoolshost/dotnetRuntime/dotnetRuntimeExtensionResolver.ts @@ -98,7 +98,7 @@ export class DotnetRuntimeExtensionResolver implements IHostExecutableResolver { if (languageServerOptions.crashDumpPath) { // Enable dump collection env.DOTNET_DbgEnableMiniDump = '1'; - // Collect heap dump + // Create a full dump with as much info as possible (all memory including module images) env.DOTNET_DbgMiniDumpType = '4'; // Collect crashreport.json with additional thread and stack frame information. env.DOTNET_EnableCrashReport = '1'; diff --git a/src/lsptoolshost/razor/htmlDocumentManager.ts b/src/lsptoolshost/razor/htmlDocumentManager.ts index 53323a48ee..8e73120f50 100644 --- a/src/lsptoolshost/razor/htmlDocumentManager.ts +++ b/src/lsptoolshost/razor/htmlDocumentManager.ts @@ -12,6 +12,7 @@ import { HtmlDocumentContentProvider } from './htmlDocumentContentProvider'; import { HtmlDocument } from './htmlDocument'; import { RoslynLanguageServer } from '../server/roslynLanguageServer'; import { RequestType, TextDocumentIdentifier } from 'vscode-languageserver-protocol'; +import { UriConverter } from '../utils/uriConverter'; export class HtmlDocumentManager { private readonly htmlDocuments: { [hostDocumentPath: string]: HtmlDocument } = {}; @@ -51,7 +52,7 @@ export class HtmlDocumentManager { // so making it a request means the logs end up in the right place. await this.roslynLanguageServer.sendRequest( this.razorDocumentClosedRequest, - TextDocumentIdentifier.create(getUriPath(document.uri)), + TextDocumentIdentifier.create(UriConverter.serialize(document.uri)), new vscode.CancellationTokenSource().token ); } diff --git a/test/vscodeLauncher.ts b/test/vscodeLauncher.ts index 1ad3eece7e..a4fdbf3dd6 100644 --- a/test/vscodeLauncher.ts +++ b/test/vscodeLauncher.ts @@ -69,15 +69,38 @@ export async function prepareVSCodeAndExecuteTests( async function installExtensions(extensionIds: string[], vscodeCli: string, vscodeArgs: string[]): Promise { for (const extensionId of extensionIds) { - vscodeArgs.push('--install-extension', extensionId); + // Workaround for https://github.com/microsoft/vscode/issues/256031 to retry installing the extension with a delay. + let installError: any | undefined = undefined; + let installSucceeded = false; + for (let attempts = 0; attempts < 5; attempts++) { + try { + await installExtension(extensionId, vscodeCli, vscodeArgs); + installSucceeded = true; + break; + } catch (error) { + console.warn(`Failed to install extension ${extensionId}; retrying: ${error}`); + installError = error; + await new Promise((resolve) => setTimeout(resolve, 2000)); + } + } + + if (!installSucceeded) { + throw installError; + } } + console.log(); +} + +async function installExtension(extensionId: string, vscodeCli: string, vscodeArgs: string[]): Promise { + const argsWithExtension = [...vscodeArgs, '--install-extension', extensionId]; + // Since we're using shell execute, spaces in the CLI path will get interpeted as args // Therefore we wrap the CLI path in quotes as on MacOS the path can contain spaces. const cliWrapped = `"${vscodeCli}"`; - console.log(`${cliWrapped} ${vscodeArgs}`); + console.log(`${cliWrapped} ${argsWithExtension}`); - const result = cp.spawnSync(cliWrapped, vscodeArgs, { + const result = cp.spawnSync(cliWrapped, argsWithExtension, { encoding: 'utf-8', stdio: 'inherit', // Workaround as described in https://github.com/nodejs/node/issues/52554 @@ -86,8 +109,6 @@ async function installExtensions(extensionIds: string[], vscodeCli: string, vsco if (result.error || result.status !== 0) { throw new Error(`Failed to install extensions: ${JSON.stringify(result)}`); } - - console.log(); } function getSln(workspacePath: string): string | undefined { diff --git a/version.json b/version.json index 7dff79f792..5b88c6830c 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "2.91", + "version": "2.92", "publicReleaseRefSpec": [ "^refs/heads/release$", "^refs/heads/prerelease$",