Skip to content

Commit e686201

Browse files
committed
Merge remote-tracking branch 'origin/master' into options-codelens-filteredsymbolnames
2 parents 4c1cc69 + e0b8959 commit e686201

File tree

84 files changed

+3250
-7553
lines changed

Some content is hidden

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

84 files changed

+3250
-7553
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,8 @@ jobs:
4040

4141
- name: Run unit and integration tests
4242
run: |
43-
gulp cov:instrument
4443
gulp test
45-
gulp cov:merge
4644
npm run test:artifacts
4745
env:
4846
CODE_VERSION: 1.45.0
4947
DISPLAY: :99.0
50-
51-
- name: Report unit test coverage
52-
uses: codecov/codecov-action@v1
53-
with:
54-
token: ${{ secrets.CODECOV_TOKEN }}
55-
files: ./coverage/unit/lcov.info
56-
flags: unit
57-
58-
- name: Report integration test coverage
59-
uses: codecov/codecov-action@v1
60-
with:
61-
token: ${{ secrets.CODECOV_TOKEN }}
62-
files: ./coverage/integration/lcov.info
63-
flags: integration

.vscode/launch.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,31 @@
128128
],
129129
"preLaunchTask": "buildDev"
130130
},
131+
{
132+
"name": "Launch slnFilterWithCsproj Workspace Tests",
133+
"type": "extensionHost",
134+
"request": "launch",
135+
"runtimeExecutable": "${execPath}",
136+
"args": [
137+
"--disable-extensions",
138+
"${workspaceRoot}/test/integrationTests/testAssets/slnFilterWithCsproj",
139+
"--extensionDevelopmentPath=${workspaceRoot}",
140+
"--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
141+
],
142+
"env": {
143+
"CODE_WORKSPACE_ROOT": "${workspaceRoot}",
144+
"CODE_TESTS_PATH": "${workspaceRoot}/out/test/integrationTests",
145+
"CODE_TESTS_WORKSPACE": "${workspaceRoot}/test/integrationTests/testAssets/slnFilterWithCsproj",
146+
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
147+
"OSVC_SUITE": "slnFilterWithCsproj"
148+
},
149+
"stopOnEntry": false,
150+
"sourceMaps": true,
151+
"outFiles": [
152+
"${workspaceRoot}/dist/*.js"
153+
],
154+
"preLaunchTask": "buildDev"
155+
},
131156
{
132157
"type": "node",
133158
"request": "launch",

CHANGELOG.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
## Known Issues in 1.23.9
1+
## Known Issues in 1.23.11
22

33
* For Mono-based development (e.g. Unity) that requires full .NET framework, you need to set `"omnisharp.useGlobalMono": "always"`. The current value of "auto" will remain "never" until Mono [upgrades their bundled MSBuild version](https://github.com/mono/mono/issues/20250).
4+
* After selecting a solution filter (*.slnf) from the project selector, the solution's name will be displayed in the status bar instead of the filter's.
45
* Known limitations with the preview Razor (cshtml) language service to be addressed in a future release:
56
* Only ASP.NET Core projects are supported (no support for ASP.NET projects)
67
* Error squiggles misaligned for expressions near the start of a new line
@@ -10,8 +11,19 @@
1011
* Renaming symbol fails within a file that had recently been renamed without saving changes.
1112
* As a workaround, make an edit within the file before using Rename Symbol.
1213

13-
## 1.23.10 (Not yet released)
14+
## 1.23.12 (Not yet released)
15+
* Debugger changes:
16+
* Added support for osx-arm64 debugging ([#4390](https://github.com/OmniSharp/omnisharp-vscode/issues/4390))
17+
* Added support for exception conditions. See [documentation](https://aka.ms/VSCode-CS-ExceptionSettings) for more information ([#4356](https://github.com/OmniSharp/omnisharp-vscode/issues/4356)).
18+
* Fixed an issue with character encoding for multi-byte characters written to the debug console ([#4398](https://github.com/OmniSharp/omnisharp-vscode/issues/4398))
19+
20+
## 1.23.11 (April 9, 2021)
21+
* Move the global Mono check to the correct place ([#4489](https://github.com/OmniSharp/omnisharp-vscode/issues/4489), PR: [#4492](https://github.com/OmniSharp/omnisharp-vscode/pull/4492))
22+
23+
## 1.23.10 (April 9, 2021)
24+
* Support solution filters (*.slnf) (PR: [#4481](https://github.com/OmniSharp/omnisharp-vscode/pull/4481))
1425
* Prompt user to install Blazor WASM companion extension if needed (PR: [#4392](https://github.com/OmniSharp/omnisharp-vscode/pull/4392))
26+
* Add path to dotnet so child processes can use the CLI (PR: [#4459](https://github.com/OmniSharp/omnisharp-vscode/pull/4459))
1527
* Give more information when Mono is missing or invalid. ([#4428](https://github.com/OmniSharp/omnisharp-vscode/issues/4428), PR: [#4431](https://github.com/OmniSharp/omnisharp-vscode/pull/4431))
1628
* Revert incremental change forwarding (PR: [#4477](https://github.com/OmniSharp/omnisharp-vscode/pull/4477))
1729
* Fixes to asset generation (PR: [#4402](https://github.com/OmniSharp/omnisharp-vscode/pull/4402))
@@ -28,6 +40,8 @@
2840
* updated to IL Spy 7.0.0.6372 (PR: [omnisharp-roslyn#2113](https://github.com/OmniSharp/omnisharp-roslyn/pull/2113))
2941
* Add sentinel file to MSBuild to enable workload resolver ([#4417](https://github.com/OmniSharp/omnisharp-vscode/issues/4417), PR: [omnisharp-roslyn#2111](https://github.com/OmniSharp/omnisharp-roslyn/pull/2111))
3042
* fixed CS8605 "Unboxing possibly null value" (PR: [omnisharp-roslyn#2108](https://github.com/OmniSharp/omnisharp-roslyn/pull/2108))
43+
* Updated Razor support (PR: [#4470](https://github.com/OmniSharp/omnisharp-vscode/pull/4470))
44+
* Bug fixes
3145

3246
## 1.23.9 (February 3, 2021)
3347
* Add option to organize imports during document formatting. (PR: [#4302](https://github.com/OmniSharp/omnisharp-vscode/pull/4302))

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,17 @@ The .NET 5 SDK requires version 16.8 of MSBuild.
2727
For Windows users who have Visual Studio installed, this means you will need to be on the latest Visual Studio 16.8 Preview.
2828
For MacOS and Linux users who have Mono installed, this means you will need to set `omnisharp.useGlobalMono` to `never` until a version of Mono ships with MSBuild 16.8.
2929

30+
## What's new in 1.23.11
31+
- Move the global Mono check to the correct place ([#4489](https://github.com/OmniSharp/omnisharp-vscode/issues/4489), PR: [#4492](https://github.com/OmniSharp/omnisharp-vscode/pull/4492))
32+
3033
## What's new in 1.23.10
34+
- Support solution filters (*.slnf) (PR: [#4481](https://github.com/OmniSharp/omnisharp-vscode/pull/4481))
3135
- Prompt user to install Blazor WASM companion extension if needed (PR: [#4392](https://github.com/OmniSharp/omnisharp-vscode/pull/4392))
36+
- Add path to dotnet so child processes can use the CLI (PR: [#4459](https://github.com/OmniSharp/omnisharp-vscode/pull/4459))
3237
- Give more information when Mono is missing or invalid. ([#4428](https://github.com/OmniSharp/omnisharp-vscode/issues/4428), PR: [#4431](https://github.com/OmniSharp/omnisharp-vscode/pull/4431))
3338
- Revert incremental change forwarding (PR: [#4477](https://github.com/OmniSharp/omnisharp-vscode/pull/4477))
3439
- Fixes to asset generation (PR: [#4402](https://github.com/OmniSharp/omnisharp-vscode/pull/4402))
35-
- Add properties to blazorwasm debug configuration. ([dotnet/aspnetcore#30977](https://github.com/dotnet/aspnetcore/issues/30977), PR: [#4445](https://github.com/OmniSharp/omnisharp-vscode/pull/4445))
40+
- Add properties to blazorwasm debug configuration. ([dotnet/aspnetcore#30977](https://github.com/dotnet/aspnetcore/issues/30977), PR: i[#4445](https://github.com/OmniSharp/omnisharp-vscode/pull/4445))
3641
- Avoid white status bar items to ensure contrast ([#4384](https://github.com/OmniSharp/omnisharp-vscode/issues/4384), PR: [#4385](https://github.com/OmniSharp/omnisharp-vscode/pull/4385))
3742
- Update OmniSharp to 1.37.8
3843
- Update Roslyn version to `3.10.0-1.21125.6` (PR: [omnisharp-roslyn#2105](https://github.com/OmniSharp/omnisharp-roslyn/pull/2105))
@@ -45,6 +50,8 @@ For MacOS and Linux users who have Mono installed, this means you will need to s
4550
- updated to IL Spy 7.0.0.6372 (PR: [omnisharp-roslyn#2113](https://github.com/OmniSharp/omnisharp-roslyn/pull/2113))
4651
- Add sentinel file to MSBuild to enable workload resolver ([#4417](https://github.com/OmniSharp/omnisharp-vscode/issues/4417), PR: [omnisharp-roslyn#2111](https://github.com/OmniSharp/omnisharp-roslyn/pull/2111))
4752
- fixed CS8605 "Unboxing possibly null value" (PR: [omnisharp-roslyn#2108](https://github.com/OmniSharp/omnisharp-roslyn/pull/2108))
53+
- Updated Razor support (PR: [#4470](https://github.com/OmniSharp/omnisharp-vscode/pull/4470))
54+
- Bug fixes
4855

4956
## What's new in 1.23.9
5057
- Add option to organize imports during document formatting. (PR: [#4302](https://github.com/OmniSharp/omnisharp-vscode/pull/4302))

debugger.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,33 @@ The C# debugger supports attaching to processes. To do this, switch to the Debug
7777

7878
![Debug launch configuration drop down](https://raw.githubusercontent.com/wiki/OmniSharp/omnisharp-vscode/images/debug-launch-configurations.png)
7979

80-
Select the '.NET Core Attach' configuration. Clicking the play button (or pressing <kbd>F5</kbd>) will then try to attach. In launch.json, if `processId` is set to `"${command:pickProcess}"` this will provide UI to select which process to attach to.
80+
Select the '.NET Core Attach' configuration. Clicking the play button (or pressing <kbd>F5</kbd>) will then try to attach. In launch.json, if `processId` is set to `""` this will provide UI to select which process to attach to.
8181

8282
#### Remote Debugging
8383

8484
The debugger supports remotely launching or attaching to processes. See [Attaching to remote processes](https://github.com/OmniSharp/omnisharp-vscode/wiki/Attaching-to-remote-processes) in the wiki for more information.
85+
86+
#### Exception Settings
87+
88+
The VS Code .NET debugger supports configuration options for if the debugger stops when exceptions are thrown or caught. This is done through two different entries in the BREAKPOINTS section of the Run view:
89+
90+
![Exceptions settings in BREAKPOINTS Run View](https://raw.githubusercontent.com/wiki/OmniSharp/omnisharp-vscode/images/Exception-Settings.png)
91+
92+
Note that the BREAKPOINTS section will be missing these entries until the first time that the folder has been debugged with the .NET debugger.
93+
94+
Checking 'All Exceptions' will configure the debugger to stop when an exception is thrown. If Just My Code is enabled (which it is by default) the debugger will not break if an exception is internally thrown and caught in library code. Though if the exception is thrown in library code and returned to user code the debugger will break then.
95+
96+
Checking 'User-Unhandled Exceptions' will configure the debugger to stop when an exception is caught in non-user code after having been thrown in user code or traveled through user code. Exceptions that become user-unhandled aren't always a problem, it could be that user code is implementing an API and is expected to raise an exception in this scenario, but it is often a problem. So, by default, the debugger will stop when an exception becomes user-unhandled.
97+
98+
##### Exception Conditions
99+
Both checkboxes support conditions to break on only selected exception types. To edit the condition, click on the pencil icon (see image above) or right click on the entry and invoke 'Edit Condition'. The condition is a comma-separated list of exception types to break on, or if the list starts with '!', a list of exception types to ignore.
100+
101+
Examples conditions:
102+
103+
| Example condition value | Result |
104+
|-------------------------|--------|
105+
| System.NullReferenceException | This will break on just null reference exceptions. |
106+
| System.NullReferenceException, System.InvalidOperationException | This will break on both null reference exceptions and invalid operation exceptions. |
107+
| !System.Threading.Tasks.TaskCanceledException | This will break on all exceptions except for task canceled. |
108+
| !System.Threading.Tasks.TaskCanceledException, System.NotImplementedException | This will break on all exceptions except for task cancelled and not implemented. |
109+

gulpfile.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import * as gulp from 'gulp';
97
import * as optionsSchemaGenerator from './src/tools/GenerateOptionsSchema';
108
import * as packageDependencyUpdater from './src/tools/UpdatePackageDependencies';
@@ -14,7 +12,6 @@ require('./tasks/testTasks');
1412
require('./tasks/onlinePackagingTasks');
1513
require('./tasks/offlinePackagingTasks');
1614
require('./tasks/backcompatTasks');
17-
require('./tasks/coverageTasks');
1815

1916
// Disable warning about wanting an async function
2017
// tslint:disable-next-line

offline.vscodeignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ tsconfig.json
3333
tslint.json
3434
wallaby.js
3535
webpack.config.js
36-
codecov.yml
3736

3837
!src/razor/language-configuration.json
3938
!src/razor/syntaxes/*

0 commit comments

Comments
 (0)