Skip to content

Commit b4e0e06

Browse files
[automated] Merge branch 'prerelease' => 'release' (#8394)
2 parents a3e53fc + ba3033b commit b4e0e06

38 files changed

+642
-52
lines changed

CHANGELOG.md

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,65 @@
33
- Diagnostics related feature requests and improvements [#5951](https://github.com/dotnet/vscode-csharp/issues/5951)
44
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)
55

6+
# 2.84.x
7+
* Bump Roslyn to 5.0.0-1.25319.11 (PR: [#8380](https://github.com/dotnet/vscode-csharp/pull/8380))
8+
* Preserve trailing directives when converting a Program.Main program to top level statements. (#79062) (PR: [#79062](https://github.com/dotnet/roslyn/pull/79062))
9+
* Do not offer add parameter on a type that cannot become a parameter (#79060) (PR: [#79060](https://github.com/dotnet/roslyn/pull/79060))
10+
* Razor assembly redirector (#78852) (PR: [#78852](https://github.com/dotnet/roslyn/pull/78852))
11+
* Add refactoring to sort imports (#79041) (PR: [#79041](https://github.com/dotnet/roslyn/pull/79041))
12+
* Fix a couple of issues with committing and diagnostic reporting (#79018) (PR: [#79018](https://github.com/dotnet/roslyn/pull/79018))
13+
* Update 'use null propagation' to understand more patterns (#78992) (PR: [#78992](https://github.com/dotnet/roslyn/pull/78992))
14+
* Pull in shared source for core roslyn capacilities into roslyn-analyzer packages. (#79024) (PR: [#79024](https://github.com/dotnet/roslyn/pull/79024))
15+
* Inline Method Refactoring - Fix bug for field with multiple declarations (#78988) (PR: [#78988](https://github.com/dotnet/roslyn/pull/78988))
16+
* Fix locating startup objects (#78972) (PR: [#78972](https://github.com/dotnet/roslyn/pull/78972))
17+
* Do not make unnecessarily simplification changes in sync-namespace. (#78969) (PR: [#78969](https://github.com/dotnet/roslyn/pull/78969))
18+
* Add a layer of constraint filtering for 'add import for extension methods' completion. (#78923) (PR: [#78923](https://github.com/dotnet/roslyn/pull/78923))
19+
* Bump Razor to 10.0.0-preview.25322.1 (PR: [#8380](https://github.com/dotnet/vscode-csharp/pull/8380))
20+
* Make completion capabilities checks more robust (#11964) (PR: [#11964](https://github.com/dotnet/razor/pull/11964))
21+
* Fix overly aggressive delegated completion (#11965) (PR: [#11965](https://github.com/dotnet/razor/pull/11965))
22+
* Simply the code that generates edits to insert using directives (#11948) (PR: [#11948](https://github.com/dotnet/razor/pull/11948))
23+
* Fix override completion in VS Code for Cohosting (#11938) (PR: [#11938](https://github.com/dotnet/razor/pull/11938))
24+
* Include namespace in extracted component (#11915) (PR: [#11915](https://github.com/dotnet/razor/pull/11915))
25+
* Fix a few bugs around formatting explicit expressions (#11906) (PR: [#11906](https://github.com/dotnet/razor/pull/11906))
26+
* Handle when Roslyn removes newlines while formatting (#11911) (PR: [#11911](https://github.com/dotnet/razor/pull/11911))
27+
* Fix issue where the open brace node includes leading newline (#11908) (PR: [#11908](https://github.com/dotnet/razor/pull/11908))
28+
29+
# 2.83.x
30+
* Bump Roslyn to 5.0.0-1.25312.6 (PR: [#8364](https://github.com/dotnet/vscode-csharp/pull/8364))
31+
* Fix deadlock if an MSBuild task is writing to stdout(PR: [#78927](https://github.com/dotnet/roslyn/pull/78927))
32+
* Add more ETW events to trace assembly loading(PR: [#78840](https://github.com/dotnet/roslyn/pull/78840))
33+
* Switch behavior of "Go to definition" and "Go to implementation" for partial members(PR: [#78857](https://github.com/dotnet/roslyn/pull/78857))
34+
* Fix await completion in an async iterator(PR: [#78823](https://github.com/dotnet/roslyn/pull/78823))
35+
* Add a fallback path when launching the BuildHost(PR: [#78826](https://github.com/dotnet/roslyn/pull/78826))
36+
* Fix LSP references for using alias(PR: [#78819](https://github.com/dotnet/roslyn/pull/78819))
37+
38+
# 2.82.x
39+
* Bump Roslyn to 5.0.0-1.25302.10 (PR: [#8347](https://github.com/dotnet/vscode-csharp/pull/8347))
40+
* Directly create virtual project when dotnet run-api is missing for now(PR: [#78788](https://github.com/dotnet/roslyn/pull/78788))
41+
* Ensure sln load uses project absolute paths(PR: [#78772](https://github.com/dotnet/roslyn/pull/78772))
42+
* Switch return to continue(PR: [#78781](https://github.com/dotnet/roslyn/pull/78781))
43+
* Fix cast before we unsubscribe(PR: [#78776](https://github.com/dotnet/roslyn/pull/78776))
44+
* Don't refresh dynamic files under a lock(PR: [#78775](https://github.com/dotnet/roslyn/pull/78775))
45+
* Invoke `dotnet run-api` to obtain virtual project(PR: [#78648](https://github.com/dotnet/roslyn/pull/78648))
46+
* Always log language server PID(PR: [#78722](https://github.com/dotnet/roslyn/pull/78722))
47+
* LSP: Fix batch builds for file-based programs and fix `"dotnet.projects.binaryLogPath"` throwing an exception(PR: [#78644](https://github.com/dotnet/roslyn/pull/78644))
48+
* Support local functions in outline/breadcrumbs(PR: [#78605](https://github.com/dotnet/roslyn/pull/78605))
49+
* Fix angle brackets in generics in hover(PR: [#78621](https://github.com/dotnet/roslyn/pull/78621))
50+
51+
# 2.81.x
52+
* Bump Razor to 10.0.0-preview.25279.1 (PR: [#8336](https://github.com/dotnet/vscode-csharp/pull/8336))
53+
* Don't produce RazorSourceDocuments for imports with incorrect file paths (#11897) (PR: [#11897](https://github.com/dotnet/razor/pull/11897))
54+
* Fixes one of the cases in directive attribute completion (#11896) (PR: [#11896](https://github.com/dotnet/razor/pull/11896))
55+
* Reduce costs in ComponentDirectiveVisitor.VisitRazorDirective (#11881) (PR: [#11881](https://github.com/dotnet/razor/pull/11881))
56+
* Compiler: Rationalize nodes, tokens, visitors, walkers, and rewriters, oh my! (#11853) (PR: [#11853](https://github.com/dotnet/razor/pull/11853))
57+
* Reduce allocations in TagHelperParseTreeRewriter.Rewrite (#11882) (PR: [#11882](https://github.com/dotnet/razor/pull/11882))
58+
* Propagate DynamicallyAccessedMembersAttribute to type inference method (#11856) (PR: [#11856](https://github.com/dotnet/razor/pull/11856))
59+
* Tooling: Don't throw exceptions when generating code for file rooted outside of project (#11864) (PR: [#11864](https://github.com/dotnet/razor/pull/11864))
60+
* Ensure @model types have a mapping in razor pages (#11844) (PR: [#11844](https://github.com/dotnet/razor/pull/11844))
61+
* Fix aligned buffer write (#11861) (PR: [#11861](https://github.com/dotnet/razor/pull/11861))
62+
* Update Debugger Packages to v2.81.0(PR: [#8329](https://github.com/dotnet/vscode-csharp/pull/8329))
63+
* Localization changes (PR: [#8327](https://github.com/dotnet/vscode-csharp/pull/8327))
64+
665
# 2.80.x
766
* Fix license link in marketplace (PR: [#8318](https://github.com/dotnet/vscode-csharp/pull/8318))
867
* Localization (PR: [#8309](https://github.com/dotnet/vscode-csharp/pull/8309))
@@ -25,7 +84,7 @@
2584
* Shorten log category name(PR: [#78526](https://github.com/dotnet/roslyn/pull/78526))
2685
* Reduce allocations during SourceGeneration(PR: [#78403](https://github.com/dotnet/roslyn/pull/78403))
2786
* Fix razor redirect(PR: [#78448](https://github.com/dotnet/roslyn/pull/78448))
28-
* Bump Razor to 10.0.0-preview.25262.1(PR: [#8283](https://github.com/dotnet/vscode-csharp/pull/8283))
87+
* Bump Razor to 10.0.0-preview.25262.1 (PR: [#8283](https://github.com/dotnet/vscode-csharp/pull/8283))
2988
* Compiler: Replace SyntaxListBuilder with PooledArrayBuilder<T> and miscellaneous performance tweaks (PR: [#11841](https://github.com/dotnet/razor/pull/11841))
3089
* Allow html requests to be properly cancelled (PR: [#11829](https://github.com/dotnet/razor/pull/11829))
3190
* Fuse/typeparamintellisense (PR: [#11795](https://github.com/dotnet/razor/pull/11795))

CONTRIBUTING.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ This section provides instructions on how to debug locally built Roslyn and Razo
115115

116116
#### Configuring Roslyn Language Server
117117

118-
In your workspace `settings.json` file, add the following lines:
118+
In your `settings.json` file, add the following lines:
119119

120120
```json
121121
"dotnet.server.waitForDebugger": true,
@@ -124,11 +124,19 @@ In your workspace `settings.json` file, add the following lines:
124124

125125
Replace <roslynRepoRoot> with the actual path to your Roslyn repository.
126126

127+
If using C# Dev Kit, you can also override the Roslyn DevKit component in your `settings.json`:
128+
```json
129+
"dotnet.server.componentPaths": {
130+
"roslynDevKit": "<roslynRepoRoot>/artifacts/bin/Microsoft.VisualStudio.LanguageServices.DevKit/Debug/net9.0"
131+
},
132+
```
133+
127134
Or, in VSCode settings (`Ctrl+,`):
128135

129136
1. Search for `dotnet server`.
130137
2. Set `dotnet.server.path` to the path of your Roslyn DLL.
131138
3. Enable `dotnet.server.waitForDebugger`.
139+
4. (Optional) - add the component to `dotnet.server.componentPaths` (see above).
132140

133141
#### Configuring Razor Language Server
134142

@@ -172,13 +180,15 @@ To update the version of the roslyn server used by the extension do the followin
172180
## Snapping for releases
173181
Extension releases on the marketplace are done from the prerelease and release branches (corresponding to the prerelease or release version of the extension). Code flows from main -> prerelease -> release. Every week we snap main -> prerelease. Monthly, we snap prerelease -> release.
174182

183+
### Snap main -> prerelease
175184
The snap is done via the "Branch snap" github action. To run the snap from main -> prerelease, run the action via "Run workflow" and choose main as the base branch.
176185
![branch snap action](./docs/main_snap.png)
177186

178187
This will generate two PRs that must be merged. One merging the main branch into prerelease, and the other bumps the version in main.
179188
![generated prs](./docs/generated_prs.png)
180189

181-
To snap from prerelease to main, run the same action but use **prerelease** as the workflow branch. This will generate a single PR merging from prerelease to release.
190+
### Snap prerelease -> release
191+
To snap from prerelease to release, run the same action but use **prerelease** as the workflow branch. This will generate a single PR merging from prerelease to release.
182192

183193
### Marketplace release
184194
The marketplace release is managed by an internal AzDo pipeline. On the pipeline page, hit run pipeline. This will bring up the pipeline parameters to fill out:

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,7 @@ For more information you can:
3030
If you don’t want to take advantage of the great Language Server features, you can revert back to using OmniSharp by going to the Extension settings and setting `dotnet.server.useOmnisharp` to true. Next, uninstall or disable C# Dev Kit. Finally, restart VS Code for this to take effect.
3131

3232
## Found a Bug?
33-
To file a new issue:
34-
35-
1. Open the Command Palette with Ctrl+Shift+P (Cmd+Shift+P on macOS), type "Open Settings (UI)", and press Enter.
36-
2. Search for "trace" in the search bar. Under "Dotnet > Server: Trace" select "Trace" from the drop down. This will provide more output information.
37-
3. Reload the window by opening the Command Palette with Ctrl+Shift+P (Cmd+Shift+P on macOS), type "Reload Window", and press Enter.
38-
4. Next, check the C# logs in the Output Window by opening it with Ctrl+Shift+U (Cmd+Shift+U on macOS), and select C# from the dropdown.
39-
5. Select and copy all the text in the log, and then report the issue through VS Code.
40-
6. Open the Command Palette with Ctrl+Shift+P (Cmd+Shift+P on macOS), type “CSharp: Report an issue”, and press Enter.
41-
7. This will open a window with all the necessary information related to the C# extension, dotnet version, mono version, etc.
42-
8. Paste the previously copied C# log into the “Steps to Reproduce” field. Please also include a description of what you were doing/attempting to do at the time the problem occurred.
43-
9. Click the “Preview on GitHub” button, and then file the issue.
44-
45-
Alternatively, you could visit https://github.com/dotnet/vscode-csharp/issues and file a new issue there.
33+
To file a new issue, follow the instructions at https://github.com/dotnet/vscode-csharp/blob/main/SUPPORT.md.
4634

4735
## Contributing
4836

l10n/bundle.l10n.cs.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,15 @@
5454
"Don't Ask Again": "Příště už se neptat",
5555
"Download Mono": "Stáhnout Mono",
5656
"Enable launching a web browser when ASP.NET Core starts. For more information: {0}": "Povolit spuštění webového prohlížeče při spuštění ASP.NET Core. Další informace: {0}",
57+
"Enter dotnet-trace arguments/dotnet-trace is a command name and should not be localized": "Zadejte argumenty pro dotnet-trace",
5758
"Error Message: ": "Chybová zpráva: ",
5859
"Expand": "Rozbalit",
5960
"Expected behavior": "Očekávané chování",
6061
"Extension": "Rozšíření",
6162
"Extensions": "Rozšíření",
6263
"Failed to complete the installation of the C# extension. Please see the error in the output window below.": "Nepovedlo se dokončit instalaci rozšíření C#. Podívejte se na chybu v okně výstupu níže.",
64+
"Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "Nepovedlo se provést příkaz dotnet-trace: {0}",
65+
"Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "Nepovedlo se nainstalovat dotnet-trace, může být potřeba ho nainstalovat ručně. Podrobnosti najdete ve výstupu jazyka C#.",
6366
"Failed to parse tasks.json file: {0}": "Nepovedlo se parsovat soubor tasks.json: {0}",
6467
"Failed to run test: {0}": "Spuštění testu se nezdařilo: {0}",
6568
"Failed to set debugadpter directory": "Nepovedlo se nastavit adresář debugadpter.",
@@ -69,6 +72,7 @@
6972
"Fix All Code Action": "Opravit všechny akce kódu",
7073
"Fix All: ": "Opravit vše: ",
7174
"Fix all issues": "Opravit všechny problémy",
75+
"Folder for trace file {0} does not exist": "Složka pro trasovací soubor {0} neexistuje.",
7276
"For further information visit {0}": "Další informace najdete na {0}",
7377
"For further information visit {0}.": "Další informace najdete na {0}.",
7478
"For more information about the 'console' field, see {0}": "Další informace o poli „console“ najdete v tématu {0}",
@@ -82,9 +86,13 @@
8286
"If you have changed target frameworks, make sure to update the program path.": "Pokud jste změnili cílové architektury, nezapomeňte aktualizovat cestu k programu.",
8387
"Ignore": "Ignorovat",
8488
"Ignoring non-parseable lines in envFile {0}: {1}.": "Ignorování neanalyzovatelných řádků v souboru envFile {0}: {1}",
89+
"Initializing dotnet-trace.../dotnet-trace is a command name and should not be localized": "Inicializuje se dotnet-trace...",
90+
"Install": "Nainstalovat",
91+
"Installing dotnet-trace.../dotnet-trace is a command name and should not be localized": "Instaluje se dotnet-trace...",
8592
"IntelliCode features will not be available, {0} failed to activate.": "Funkce IntelliCode nebudou k dispozici, {0} se nepodařilo aktivovat.",
8693
"Invalid project index": "Neplatný index projektu",
8794
"Is this a Bug or Feature request?": "Jde o chybu, nebo žádost o funkci?",
95+
"Language server process not found, ensure the server is running.": "Proces jazykového serveru se nenašel, ujistěte se, že je server spuštěný.",
8896
"Logs": "Protokoly",
8997
"Machine information": "Informace o počítači",
9098
"More Detail": "Další podrobnosti",
@@ -129,6 +137,7 @@
129137
"Razor issue data collection started. Reproduce the issue then press \"Stop\"": "Spustilo se shromažďování dat o problému Razor. Reprodukujte problém a stiskněte Zastavit.",
130138
"Razor issue data collection stopped. Copying issue content...": "Shromažďování dat o problému s Razorem se zastavilo. Kopíruje se obsah problému…",
131139
"Razor.VSCode version": "Verze Razor.VSCode",
140+
"Recording trace...": "Zaznamenává se trasování...",
132141
"Reload Window": "Znovu načíst okno",
133142
"Replace existing build and debug assets?": "Nahradit existující prostředky sestavení a ladění?",
134143
"Report Razor Issue": "Nahlásit problém s Razorem",
@@ -143,6 +152,8 @@
143152
"Run and Debug: auto-detection found {0} for a launch browser": "Spustit a ladit: Automatická detekce našla {0} pro spouštěný prohlížeč.",
144153
"Security Warning": "Upozornění zabezpečení",
145154
"See {0} output": "Zobrazit výstup {0}",
155+
"Select Folder to Save Trace File": "Vybrat složku pro uložení trasovacího souboru",
156+
"Select Trace Folder": "Vybrat složku trasování",
146157
"Select fix all action": "Vybrat akci Opravit vše",
147158
"Select project": "Vybrat projekt",
148159
"Select the process to attach to": "Vyberte proces, ke kterému se má program připojit.",
@@ -204,6 +215,7 @@
204215
"Workspace information": "Informace o pracovním prostoru",
205216
"Workspace projects": "Projekty pracovních prostorů",
206217
"Yes": "Ano",
218+
"You can modify the default arguments if needed": "V případě potřeby můžete změnit výchozí argumenty.",
207219
"You must first start the data collection before copying.": "Před kopírováním je zapotřebí nejdříve spustit shromažďování dat.",
208220
"You must first start the data collection before stopping.": "Před zastavením je zapotřebí nejdříve spustit shromažďování dat.",
209221
"Your workspace has multiple Visual Studio Solution files; please select one to get full IntelliSense.": "Váš pracovní prostor má více souborů řešení Visual Studio. Vyberte prosím jednu, abyste získali úplnou technologii IntelliSense.",
@@ -212,6 +224,7 @@
212224
"[ERROR] The debugger cannot be installed. Unknown platform.": "[CHYBA] Ladicí program nelze nainstalovat. Neznámá platforma.",
213225
"[ERROR]: C# Extension failed to install the debugger package.": "[CHYBA]: Rozšíření jazyka C# se nepodařilo nainstalovat balíček ladicího programu.",
214226
"[WARNING]: x86 Windows is not supported by the .NET debugger. Debugging will not be available.": "[UPOZORNĚNÍ]: Ladicí program .NET nepodporuje systém Windows pro platformu x86. Ladění nebude k dispozici.",
227+
"dotnet-trace not found, run \"{0}\" to install it?/dotnet-trace is a command name and should not be localized": "Příkaz dotnet-trace nebyl nalezen. Chcete ho nainstalovat spuštěním {0}?",
215228
"dotnet.server.useOmnisharp option has changed. Please reload the window to apply the change": "Možnost dotnet.server.useOmharharp se změnila. Pokud chcete změnu použít, načtěte prosím znovu okno.",
216229
"pipeArgs must be a string or a string array type": "pipeArgs musí být řetězec nebo typ pole řetězců",
217230
"project.json is no longer a supported project format for .NET Core applications.": "project.json již není podporovaným formátem projektu pro aplikace .NET Core.",

0 commit comments

Comments
 (0)