Skip to content

Commit e420e3f

Browse files
committed
Merge remote-tracking branch 'upstream/main' into RazorCommitCharacterSetting
2 parents 531730d + 453935d commit e420e3f

30 files changed

+487
-191
lines changed

.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,17 @@
323323
"generateOptionsSchema"
324324
],
325325
"cwd": "${workspaceFolder}"
326+
},
327+
{
328+
"type": "node",
329+
"request": "launch",
330+
"name": "Razor integration tests",
331+
"preLaunchTask": "build",
332+
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
333+
"args": [
334+
"test:razorintegration"
335+
],
336+
"cwd": "${workspaceFolder}"
326337
}
327338
]
328339
}

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
## Latest
1111
* Update Razor version to 7.0.0-preview.23475.5 (PR: [#6506](https://github.com/dotnet/vscode-csharp/pull/6506))
1212
* Add setting for whether to complete components with space (PR: [razor#9379](https://github.com/dotnet/razor/pull/9379))
13-
* Update Roslyn version to 4.9.0-1.23502.8 (PR: [#6447](https://github.com/dotnet/vscode-csharp/pull/6447))
14-
* Update Razor project configuration file name (PR: [#70156](https://github.com/dotnet/roslyn/pull/70156))
13+
* Update Roslyn version to 4.9.0-1.23506.7 (PR: [#6447](https://github.com/dotnet/vscode-csharp/pull/6447))
14+
* Fix various issues with project loading and allow fallbacks to .NET framework msbuild (PR: [#70240](https://github.com/dotnet/roslyn/pull/70240))
15+
* Fix some Razor colorization issues (PR: [#6502](https://github.com/dotnet/vscode-csharp/pull/6502))
16+
* Fire telemetry if Razor buffers get out of sync, and recover from same (PR: [#6494](https://github.com/dotnet/vscode-csharp/pull/6494))
1517
* Update OmniSharp to 1.39.10 (PR: [#6491](https://github.com/dotnet/vscode-csharp/pull/6491))
1618
* Add RazorComplier EA to support razor generators (PR: [omnisharp-roslyn#2572](https://github.com/OmniSharp/omnisharp-roslyn/pull/2572))
1719
* Add Kind parameter to InlayHint (PR: [omnisharp-roslyn#2570](https://github.dev/OmniSharp/omnisharp-roslyn/pull/2570))
@@ -25,6 +27,11 @@
2527
* Update Roslyn to version 4.8.0-1.23374.10 (PR: [omnisharp-roslyn#2555](https://github.com/OmniSharp/omnisharp-roslyn/pull/2555))
2628
* Use double quote when quoting un script path (PR: [omnisharp-roslyn#2553](https://github.com/OmniSharp/omnisharp-roslyn/pull/2553))
2729
* Use core LSP TokenTypes where possible and validate token names (PR: [omnisharp-roslyn#2548](https://github.com/OmniSharp/omnisharp-roslyn/pull/2548))
30+
* Add Razor C# semantic tokens support in VS Code (PR: [#6489](https://github.com/dotnet/vscode-csharp/pull/6489))
31+
* Update Roslyn version to 4.9.0-1.23502.8 (PR: [#6447](https://github.com/dotnet/vscode-csharp/pull/6447))
32+
* Update Razor project configuration file name (PR: [#70156](https://github.com/dotnet/roslyn/pull/70156))* added support.md file (PR: [#6478](https://github.com/dotnet/vscode-csharp/pull/6478))
33+
* Debugger: Improve the display of various debug configurations and snippets (PR: [#6456](https://github.com/dotnet/vscode-csharp/pull/6456))
34+
* Initialize Razor even if Razor doc isn't opened yet (PR: [#6473](https://github.com/dotnet/vscode-csharp/pull/6473))
2835

2936
## 2.5.30
3037
* Update Roslyn version to 4.9.0-1.23502.2 (PR: [#6463](https://github.com/dotnet/vscode-csharp/pull/6463))

jest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const config: Config = {
88
projects: [
99
'<rootDir>/test/unitTests/jest.config.ts',
1010
'<rootDir>/test/integrationTests/jest.config.ts',
11+
'<rootDir>/test/razorIntegrationTests/jest.config.ts',
1112
'<rootDir>/test/razorTests/jest.config.ts',
1213
'<rootDir>/omnisharptest/omnisharpJestTests/jest.config.ts',
1314
],

l10n/bundle.l10n.cs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"Failed to set debugadpter directory": "Nepovedlo se nastavit adresář debugadpter.",
4747
"Failed to set extension directory": "Nepovedlo se nastavit adresář rozšíření.",
4848
"Failed to set install complete file path": "Nepovedlo se nastavit úplnou cestu k souboru instalace",
49-
"Fix All Code Action": "Fix All Code Action",
49+
"Fix All Code Action": "Opravit všechny akce kódu",
5050
"For further information visit {0}": "Další informace najdete na {0}",
5151
"For further information visit {0}.": "Další informace najdete na {0}.",
5252
"For more information about the 'console' field, see {0}": "Další informace o poli „console“ najdete v tématu {0}",
@@ -73,7 +73,7 @@
7373
"Open envFile": "Otevřít soubor envFile",
7474
"Operating system \"{0}\" not supported.": "Operační systém {0} se nepodporuje.",
7575
"Perform the actions (or no action) that resulted in your Razor issue": "Proveďte činnost (nebo zopakujte nečinnost), která vedla k problémům s Razorem.",
76-
"Pick a fix all scope": "Pick a fix all scope",
76+
"Pick a fix all scope": "Výběr opravy všech oborů",
7777
"Pipe transport failed to get OS and processes.": "Operaci přenosu přes kanál se nepovedlo získat operační systém a procesy.",
7878
"Please fill in this section": "Vyplňte prosím tento oddíl.",
7979
"Press {0}": "Stiskněte {0}.",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838
},
3939
"defaults": {
40-
"roslyn": "4.9.0-1.23502.8",
40+
"roslyn": "4.9.0-1.23506.7",
4141
"omniSharp": "1.39.10",
4242
"razor": "7.0.0-preview.23509.2",
4343
"razorOmnisharp": "7.0.0-preview.23363.1"
@@ -63,6 +63,7 @@
6363
"test": "tsc -p ./ && gulp test",
6464
"test:integration": "tsc -p ./ && gulp test:integration",
6565
"test:razor": "tsc -p ./ && npm run compile:razorTextMate && gulp test:razor",
66+
"test:razorintegration": "tsc -p ./ && gulp test:razorintegration",
6667
"omnisharptest": "tsc -p ./ && gulp omnisharptest",
6768
"omnisharptest:unit": "tsc -p ./ && gulp omnisharptest:unit",
6869
"omnisharptest:feature": "tsc -p ./ && gulp omnisharptest:feature",

package.nls.cs.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,21 @@
7575
"configuration.razor.trace.messages": "Zaznamená jenom některé zprávy z rozšíření Razor",
7676
"configuration.razor.trace.off": "Nezaznamenává zprávy z rozšíření Razor",
7777
"configuration.razor.trace.verbose": "Zaznamenává zprávy z rozšíření Razor",
78-
"debuggers.coreclr.configurationSnippets.description.attach": "Attach the .NET debugger (coreclr) to a running process. This can also be done using the 'Attach to a .NET 5+ or .NET Core process' command.",
79-
"debuggers.coreclr.configurationSnippets.description.blazor-hosted": "This snippet is used to launch a new process under the Blazor WebAssembly debugger (blazorwasm), specifying the path to the executable to launch. In most cases, the \".NET: Launch C# project\" snippet is a better choice, but this snippet can be used to have full control over all launch options. This snippet is for hosted Blazor projects, which is a project that has a backend ASP.NET Core app to serve its files.",
80-
"debuggers.coreclr.configurationSnippets.description.blazor-standalone": "This snippet is used to launch a new process under the Blazor WebAssembly debugger (blazorwasm). In most cases, the \".NET: Launch C# project\" snippet is a better choice, but this snippet can be used to have full control over all launch options. This snippet is for standalone Blazor projects, which is a project that does not have a backend ASP.NET Core app to serve its files.",
81-
"debuggers.coreclr.configurationSnippets.description.console-local": "This snippet is used to launch a new process under the .NET debugger (coreclr), specifying the path to the executable to launch. In most cases, the \".NET: Launch C# project\" snippet is a better choice. This snippet is useful when the project was built outside this VS Code instance or you want to host your .NET Code in a custom executable, such as a specific version of 'dotnet.exe'/'dotnet' or the .NET Code is hosted by a native application. This snippet is for console applications.",
82-
"debuggers.coreclr.configurationSnippets.description.remote": "This snippet shows how to remote debug .NET Code **without** using VS Code remoting. It should be used in cases where you want to build your project locally but run it on another computer.",
83-
"debuggers.coreclr.configurationSnippets.description.web-local": "This snippet is used to launch a new process under the .NET debugger (coreclr), specifying the path to the executable to launch. In most cases, the \".NET: Launch C# project\" snippet is a better choice. This snippet is useful when the project was built outside this VS Code instance or you want to host your .NET Code in a custom executable, such as a specific version of 'dotnet.exe'/'dotnet' or the .NET Code is hosted by a native application. This snippet is for web (ASP.NET Core) applications.",
84-
"debuggers.coreclr.configurationSnippets.label.attach-local": ".NET: Attach to a .NET process",
85-
"debuggers.coreclr.configurationSnippets.label.attach-remote": ".NET: Remote debugging - Attach to a .NET process",
86-
"debuggers.coreclr.configurationSnippets.label.blazor-hosted": ".NET: Web Assembly - Launch hosted Blazor project",
87-
"debuggers.coreclr.configurationSnippets.label.blazor-standalone": ".NET: Web Assembly - Launch standalone Blazor project",
88-
"debuggers.coreclr.configurationSnippets.label.console-local": ".NET: Launch Executable file (Console)",
89-
"debuggers.coreclr.configurationSnippets.label.console-remote": ".NET: Remote debugging - Launch Executable file (Console)",
90-
"debuggers.coreclr.configurationSnippets.label.web-local": ".NET: Launch Executable file (Web)",
91-
"debuggers.dotnet.configurationSnippets.description": "This snippet configures VS Code to debug a C# project. Debug options (example: arguments to the executable) can be configured through the '<project-directory>/Properties/launchSettings.json' file.",
92-
"debuggers.dotnet.configurationSnippets.label": ".NET: Launch C# project",
78+
"debuggers.coreclr.configurationSnippets.description.attach": "Připojte ladicí program .NET (coreclr) ke spuštěným procesům. Můžete to provést také pomocí příkazu „Připojit k procesu .NET 5+ nebo .NET Core.",
79+
"debuggers.coreclr.configurationSnippets.description.blazor-hosted": "Tento fragment kódu se používá ke spuštění nového procesu v ladicím programu Blazor WebAssembly (blazorwasm), který určuje cestu ke spustitelnému souboru, který se má spustit. Ve většině případů je „.NET: Spustit projekt jazyka C#“ fragment kódu lepší volbou, ale tento fragment kódu lze použít k úplné kontrole nad všemi možnostmi spuštění. Tento fragment kódu je pro hostované projekty Blazor, což je projekt, který má back-endovou aplikaci ASP.NET Core pro obsluhu svých souborů.",
80+
"debuggers.coreclr.configurationSnippets.description.blazor-standalone": "Tento fragment kódu slouží ke spuštění nového procesu v ladicím programu Blazor WebAssembly (blazorwasm). Ve většině případů je „.NET: Spustit projekt jazyka C#“ fragment kódu lepší volbou, ale tento fragment kódu lze použít k úplné kontrole nad všemi možnostmi spuštění. Tento fragment kódu je pro samostatné projekty Blazor, což je projekt, který nemá back-endovou aplikaci ASP.NET Core pro obsluhu svých souborů.",
81+
"debuggers.coreclr.configurationSnippets.description.console-local": "Tento fragment kódu slouží ke spuštění nového procesu v ladicím programu .NET (coreclr) a určuje cestu ke spustitelnému souboru, který se má spustit. Ve většině případů je „.NET: Spustit projekt jazyka C#“ “ fragment kódu lepší volbou. Tento fragment kódu je užitečný, když byl projekt sestaven mimo tuto instanci VS Code nebo když chcete hostovat kód .NET ve vlastním spustitelném souboru, například konkrétní verzi dotnet.exe/dotnet nebo pokud je kód .NET hostovaný nativní aplikací. Tento fragment kódu je pro konzolové aplikace.",
82+
"debuggers.coreclr.configurationSnippets.description.remote": "Tento fragment kódu ukazuje, jak vzdáleně ladit kód .NET **bez** vzdálené komunikace VS Code. Měl by se používat v případech, kdy chcete projekt sestavit místně, ale spustit ho na jiném počítači.",
83+
"debuggers.coreclr.configurationSnippets.description.web-local": "Tento fragment kódu slouží ke spuštění nového procesu v ladicím programu .NET (coreclr) a určuje cestu ke spustitelnému souboru, který se má spustit. Ve většině případů je „.NET: Spustit projekt jazyka C#“ “ fragment kódu lepší volbou. Tento fragment kódu je užitečný, když byl projekt sestaven mimo tuto instanci VS Code nebo když chcete hostovat kód .NET ve vlastním spustitelném souboru, například konkrétní verzi dotnet.exe/dotnet nebo pokud je kód .NET hostovaný nativní aplikací. Tento fragment kódu je pro webové aplikace (ASP.NET Core).",
84+
"debuggers.coreclr.configurationSnippets.label.attach-local": ".NET: Připojení k procesu .NET",
85+
"debuggers.coreclr.configurationSnippets.label.attach-remote": ".NET: Vzdálené ladění – připojení k procesu .NET",
86+
"debuggers.coreclr.configurationSnippets.label.blazor-hosted": ".NET: Webové sestavení – spuštění hostovaného projektu Blazor",
87+
"debuggers.coreclr.configurationSnippets.label.blazor-standalone": ".NET: Webové sestavení – spuštění samostatného projektu Blazor",
88+
"debuggers.coreclr.configurationSnippets.label.console-local": ".NET: Spustit spustitelný soubor (konzola)",
89+
"debuggers.coreclr.configurationSnippets.label.console-remote": ".NET: Vzdálené ladění – spustitelný soubor (konzola)",
90+
"debuggers.coreclr.configurationSnippets.label.web-local": ".NET: Spustit spustitelný soubor (web)",
91+
"debuggers.dotnet.configurationSnippets.description": "Tento fragment kódu konfiguruje VS Code pro ladění projektu jazyka C#. Možnosti ladění (příklad: argumenty spustitelného souboru) se dají nakonfigurovat prostřednictvím souboru „<project-directory>/Properties/launchSettings.json.",
92+
"debuggers.dotnet.configurationSnippets.label": ".NET: Spustit projekt C#",
9393
"debuggers.dotnet.launch.launchConfigurationId.description": "ID konfigurace spuštění, které se má použít. Pokud je řetězec prázdný, použije se aktuální aktivní konfigurace.",
9494
"debuggers.dotnet.launch.projectPath.description": "Cesta k souboru .csproj.",
9595
"generateOptionsSchema.allowFastEvaluate.description": "Při hodnotě true (výchozí stav) se ladicí program pokusí o rychlejší vyhodnocení tím, že provede simulaci provádění jednoduchých vlastností a metod.",

0 commit comments

Comments
 (0)