Skip to content

Commit c9050aa

Browse files
[automated] Merge branch 'main' => 'prerelease' (#8827)
2 parents a4c5841 + db68fc6 commit c9050aa

File tree

172 files changed

+1790
-8091
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+1790
-8091
lines changed

.vscode/launch.json

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -97,33 +97,6 @@
9797
"preLaunchTask": "packageDev",
9898
"internalConsoleOptions": "openOnSessionStart"
9999
},
100-
{
101-
"name": "[Razor] Run Current File Integration Test",
102-
"type": "extensionHost",
103-
"request": "launch",
104-
"runtimeExecutable": "${execPath}",
105-
"args": [
106-
// Launch VSCode using a specific profile to ensure that user settings are not used.
107-
// This profile must be imported into vscode before running this launch configuration.
108-
// The profile can be found under /test/csharp-test-profile.
109-
"--profile",
110-
"csharp-test-profile",
111-
"${workspaceRoot}/test/razor/razorIntegrationTests/testAssets/RazorApp/.vscode/devkit_RazorApp.code-workspace",
112-
"--extensionDevelopmentPath=${workspaceRoot}",
113-
"--extensionTestsPath=${workspaceRoot}/out/test/razor/razorIntegrationTests",
114-
"--log",
115-
"ms-dotnettools.csharp:trace"
116-
],
117-
"env": {
118-
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
119-
"TEST_FILE_FILTER": "${file}"
120-
},
121-
"sourceMaps": true,
122-
"outFiles": ["${workspaceRoot}/dist/*.js", "${workspaceRoot}/out/test/**/*.js"],
123-
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"],
124-
"preLaunchTask": "packageDev",
125-
"internalConsoleOptions": "openOnSessionStart"
126-
},
127100
{
128101
"name": "[Razor Cohost] Run Current File Integration Test",
129102
"type": "extensionHost",
@@ -248,15 +221,6 @@
248221
"args": ["generateOptionsSchema"],
249222
"cwd": "${workspaceFolder}"
250223
},
251-
{
252-
"type": "node",
253-
"request": "launch",
254-
"name": "Razor integration tests",
255-
"preLaunchTask": "build",
256-
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
257-
"args": ["test:integration:razor"],
258-
"cwd": "${workspaceFolder}"
259-
},
260224
{
261225
"type": "node",
262226
"request": "launch",

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,46 @@
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.103.x
7+
* include roslyn event source configs in profiling command (PR: [#8808](https://github.com/dotnet/vscode-csharp/pull/8808))
8+
* Revise SUPPORT.md for clarity on sharing information (PR: [#8807](https://github.com/dotnet/vscode-csharp/pull/8807))
9+
* Fix indentation after pressing Enter in Razor files (PR: [#8809](https://github.com/dotnet/vscode-csharp/pull/8809))
10+
* Remove non-cohosting editor code (PR: [#8810](https://github.com/dotnet/vscode-csharp/pull/8810))
11+
* Bump Razor to 10.0.0-preview.25577.1 (PR: [#8820](https://github.com/dotnet/vscode-csharp/pull/8820))
12+
* Explicitly handle switch expressions in parser (PR: [#12500](https://github.com/dotnet/razor/pull/12500))
13+
* Bring back Go to Def, FAR and hover for components via Roslyn (PR: [#12501](https://github.com/dotnet/razor/pull/12501))
14+
* Don't add newlines at the start of implicit expressions in on type formatting (PR: [#12489](https://github.com/dotnet/razor/pull/12489))
15+
* Add the RazorCSharp keywords to completion (PR: [#12522](https://github.com/dotnet/razor/pull/12522))
16+
* Remove non-cohost bits from C# extension (PR: [#12518](https://github.com/dotnet/razor/pull/12518))
17+
* Update Roslyn to 5.3.0-2.25571.4 (PR: [#8813](https://github.com/dotnet/vscode-csharp/pull/8813))
18+
* Fix typing of 'else' causing unwanted indentation of following statement (PR: [#81393](https://github.com/dotnet/roslyn/pull/81393))
19+
* Show semantic errors for loose files with top-level statements (PR: [#81326](https://github.com/dotnet/roslyn/pull/81326))
20+
* Simplify and fix fading options. (PR: [#81346](https://github.com/dotnet/roslyn/pull/81346))
21+
* Colorization for array, pointer, and function pointer type aliases followup (PR: [#81363](https://github.com/dotnet/roslyn/pull/81363))
22+
* Fix: Support compound assignments in "Use null propagation" analyzer (PR: [#81328](https://github.com/dotnet/roslyn/pull/81328))
23+
* Fix IDE0032: Code fixer adds setter for static properties with instance constructor writes (PR: [#81327](https://github.com/dotnet/roslyn/pull/81327))
24+
* Add 'add extension completion' support for modern extensions. (PR: [#81239](https://github.com/dotnet/roslyn/pull/81239))
25+
* Add second opt-out flag for file-based programs (PR: [#8823](https://github.com/dotnet/vscode-csharp/pull/8823))
26+
* Update Roslyn to 5.3.0-2.25603.1 (PR: [#8823](https://github.com/dotnet/vscode-csharp/pull/8823))
27+
* Improve error message for misplaced variable designator in property patterns (PR: [#81287](https://github.com/dotnet/roslyn/pull/81287))
28+
* Add EnableFileBasedProgramsWhenAmbiguous flag (PR: [#81513](https://github.com/dotnet/roslyn/pull/81513))
29+
* Include extension properties in object initializer completion (PR: [#81498](https://github.com/dotnet/roslyn/pull/81498))
30+
* Fix IDE0048 to trigger consistently for `is null` and `is not null` in coalesce expressions (PR: [#81489](https://github.com/dotnet/roslyn/pull/81489))
31+
* Do not offer to add a `using namespace` on an alias qualified name. (PR: [#81487](https://github.com/dotnet/roslyn/pull/81487))
32+
* Add code refactoring to offer usings for fully qualified names (PR: [#81484](https://github.com/dotnet/roslyn/pull/81484))
33+
* Fix RemoveUnusedMembers handling of default parameter reads (PR: [#80810](https://github.com/dotnet/roslyn/pull/80810))
34+
* Fix exception in InlineMethodRefactoringProvider for recursive calls (PR: [#81469](https://github.com/dotnet/roslyn/pull/81469))
35+
* Fix issue where we weren't offering snippets inline after an expression (PR: [#81466](https://github.com/dotnet/roslyn/pull/81466))
36+
* Follow user naming preferences when generating type snippets (PR: [#81465](https://github.com/dotnet/roslyn/pull/81465))
37+
* Fix 'use var' with forr/for snippets (PR: [#81464](https://github.com/dotnet/roslyn/pull/81464))
38+
* Map edits in LSP rename, like in VS (PR: [#81450](https://github.com/dotnet/roslyn/pull/81450))
39+
* Remove more unused bits of Razor EA (PR: [#81452](https://github.com/dotnet/roslyn/pull/81452))
40+
* Fix for-snippet not simplifying (PR: [#81461](https://github.com/dotnet/roslyn/pull/81461))
41+
* Fix duplicate parameter names in introduce parameter refactoring (PR: [#81404](https://github.com/dotnet/roslyn/pull/81404))
42+
* Fade out portion of linq expression that can be simplified (PR: [#81419](https://github.com/dotnet/roslyn/pull/81419))
43+
* Improve LSP conformance in MS.CA.LanguageServer (PR: [#81174](https://github.com/dotnet/roslyn/pull/81174))
44+
* Improve 'else' indentation in a couple more cases (PR: [#81411](https://github.com/dotnet/roslyn/pull/81411))
45+
646
# 2.102.x
747
* Update Roslyn to 5.3.0-2.25568.9 (PR: [#8799](https://github.com/dotnet/vscode-csharp/pull/8799))
848
* Handle automatic restores on directly on the server (PR: [#81233](https://github.com/dotnet/roslyn/pull/81233))

SUPPORT.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ If the language server crashes, general logs are often helpful for diagnosing th
115115
- When the server crashes, a dump in the specified folder will be created.
116116

117117
> [!WARNING]
118-
> The dump can contain detailed information on the project - generally we will provide an email so that it can be shared privately
118+
> The dump will contain detailed information about the workspace. See [Sharing information privately](#sharing-information-privately)
119119
120120
### Recording a language server trace
121121

@@ -130,15 +130,19 @@ The C# extension has a built in command, `csharp.recordLanguageServerTrace` to h
130130
![alt text](docs/images/recordTraceArgs.png)
131131
4. A new terminal window will open to run the trace collection. While the trace is running, reproduce the peformance issue. When done, hit <Enter> or <Ctrl+C> in the trace window to stop the trace
132132
![alt text](docs/images/recordTraceTerminal.png)
133-
5. Share the trace. Note that the trace may contain PII, so generally we will provide an email or other confidential way to share the trace with us.
133+
5. Share the trace.
134+
135+
> [!WARNING]
136+
> The trace will contain detailed information about the workspace. See [Sharing information privately](#sharing-information-privately)
134137
135138
### Sharing information privately
136-
Detailed logs, dumps, traces, and other information can sometimes contain private information that you do not wish to share publicly. Instead, you can utilize the Developer Community page to share these privately to Microsoft.
139+
Detailed logs, dumps, traces, and other information can sometimes contain private information that you do not wish to share publicly on GitHub (for example file paths and file contents). Instead, you can utilize the Developer Community page to share these privately to Microsoft.
137140

138141
1. Go to https://developercommunity.visualstudio.com/dotnet/report
139-
2. Fill in the issue title, reference the GitHub issue in the description, and upload the attachments
142+
2. Fill in the issue title, reference the GitHub issue in the description, and upload the attachments. Note that there is a 2 GB limit on attached files. Dumps can often be larger than that, so we recommend compressing them to a `.zip` before uploading.
143+
140144
![developer community feedback page](docs/images/developer_community_feedback.png)
141-
3. Once created, a comment on the GitHub issue a link to the new Developer Community ticket.
145+
4. Once created, a comment on the GitHub issue a link to the new Developer Community ticket.
142146

143147

144148

azure-pipelines.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ schedules:
5656

5757
variables:
5858
- name: testVSCodeVersion
59-
${{ if eq( variables['Build.Reason'], 'Schedule' ) }}:
59+
${{ if eq( variables['Build.Reason'], 'Schedule' ) }}:
6060
value: insiders
61-
${{ else }}:
61+
${{ else }}:
6262
value: stable
6363

6464
stages:
@@ -84,7 +84,7 @@ stages:
8484
installAdditionalLinuxDependencies: true
8585
pool:
8686
name: NetCore-Public
87-
demands: ImageOverride -equals 1es-ubuntu-2004-open
87+
demands: ImageOverride -equals build.ubuntu.2204.amd64.open
8888
containerName: mcr.microsoft.com/dotnet/sdk:8.0-noble
8989

9090
- stage:
@@ -102,7 +102,7 @@ stages:
102102
installAdditionalLinuxDependencies: true
103103
pool:
104104
name: NetCore-Public
105-
demands: ImageOverride -equals 1es-ubuntu-2004-open
105+
demands: ImageOverride -equals build.ubuntu.2204.amd64.open
106106
containerName: mcr.microsoft.com/dotnet/sdk:9.0-noble
107107

108108
- stage:
@@ -118,7 +118,7 @@ stages:
118118
installAdditionalLinuxDependencies: true
119119
pool:
120120
name: NetCore-Public
121-
demands: ImageOverride -equals 1es-ubuntu-2004-open
121+
demands: ImageOverride -equals build.ubuntu.2204.amd64.open
122122
containerName: mcr.microsoft.com/dotnet/sdk:10.0.100-rc.2-noble
123123

124124
- stage: Test_Windows_Stage
@@ -159,7 +159,7 @@ stages:
159159
strategy:
160160
matrix:
161161
linux:
162-
demandsName: 1es-ubuntu-2004-open
162+
demandsName: build.ubuntu.2204.amd64.open
163163
windows:
164164
demandsName: 1es-windows-2022-open
165165
pool:

azure-pipelines/test-omnisharp.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ steps:
1515
parameters:
1616
installDotNet: ${{ parameters.installDotNet }}
1717

18+
# The build.ubuntu.2204.amd64.open image is missing packages which are required for running integration tests.
19+
- script: sudo apt-get update -y && sudo apt-get install -y libglib2.0-0 libnss3 libatk-bridge2.0-dev libdrm2 libgtk-3-0 libgbm-dev xvfb
20+
displayName: 'Install additional Linux dependencies'
21+
target: host
22+
condition: eq(variables['Agent.OS'], 'Linux')
23+
1824
- template: test-prereqs.yml
1925

2026
- script: npm run omnisharptest

0 commit comments

Comments
 (0)