Skip to content

Commit 845efe3

Browse files
committed
Merge v1.23.12
2 parents 5ea52ad + 19b027b commit 845efe3

File tree

75 files changed

+2343
-6991
lines changed

Some content is hidden

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

75 files changed

+2343
-6991
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -40,33 +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
64-
65-
- name: Run artifact tests
66-
run: npm run test:artifacts
67-
68-
- name: Upload VSIX build artifact
69-
uses: actions/upload-artifact@v2
70-
with:
71-
name: ci-extension-artifact
72-
path: ./*.vsix

.github/workflows/publish.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
on:
2-
release:
3-
types:
4-
- released
2+
release:
3+
types:
4+
- released
55

66
name: Publish the Extension to OpenVSX
77

88
jobs:
9-
deploy:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v2
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
1313

14-
- uses: actions/setup-node@v1
15-
with:
16-
node-version: 10
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: 10
1717

18-
- run: npm ci
19-
- run: npm install -g gulp ovsx
20-
- run: gulp 'vsix:release:package'
18+
- run: npm ci
19+
- run: npm install -g gulp ovsx
20+
- run: gulp 'vsix:release:package'
2121

22-
- name: upload vsix artifact
23-
uses: actions/upload-artifact@v2
24-
with:
25-
name: extension
26-
path: ./*.vsix
27-
28-
- name: download vsix artifact
29-
uses: actions/download-artifact@v2
30-
with:
31-
name: extension.vsix
22+
- name: upload vsix artifact
23+
uses: actions/upload-artifact@v2
24+
with:
25+
name: extension
26+
path: ./*.vsix
3227

33-
- run: ovsx publish **/*.vsix -p ${{ secrets.OPEN_VSX_TOKEN }}
28+
- name: download vsix artifact
29+
uses: actions/download-artifact@v2
30+
with:
31+
name: extension.vsix
32+
33+
- run: ovsx publish ./extension.vsix -p ${{ secrets.OPEN_VSX_TOKEN }}

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@
163163
"updatePackageDependencies"
164164
],
165165
"env": {
166-
"NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/9166c456-55b4-4c77-92e5-92c9314f8eeb/001b960216f0287efd3c7147718ecc03/omnisharp-linux-x64-1.37.8.zip,https://download.visualstudio.microsoft.com/download/pr/9166c456-55b4-4c77-92e5-92c9314f8eeb/24d7c6ffbf8e03d6292faed97f5e4286/omnisharp-linux-x86-1.37.8.zip,https://download.visualstudio.microsoft.com/download/pr/9166c456-55b4-4c77-92e5-92c9314f8eeb/b08d8706dbdfe32fe3413c5b9bc6365a/omnisharp-osx-1.37.8.zip,https://download.visualstudio.microsoft.com/download/pr/9166c456-55b4-4c77-92e5-92c9314f8eeb/4fdbe776755c2467591dcba0a900ed32/omnisharp-win-x64-1.37.8.zip,https://download.visualstudio.microsoft.com/download/pr/9166c456-55b4-4c77-92e5-92c9314f8eeb/885a7da9c9a450445006b389a7e473d7/omnisharp-win-x86-1.37.8.zip",
167-
"NEW_DEPS_VERSION": "1.37.8"
166+
"NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/c330c5bf-aa2e-43f6-ae59-d9e5274a0741/abbdf147583dfbcf108ae3925f175f30/omnisharp-linux-x64-1.37.10.zip,https://download.visualstudio.microsoft.com/download/pr/c330c5bf-aa2e-43f6-ae59-d9e5274a0741/796c7a02ddab5b8eb9556722b0e60f03/omnisharp-linux-x86-1.37.10.zip,https://download.visualstudio.microsoft.com/download/pr/c330c5bf-aa2e-43f6-ae59-d9e5274a0741/73e0f5e02297e2bde431c3260af009d5/omnisharp-osx-1.37.10.zip,https://download.visualstudio.microsoft.com/download/pr/c330c5bf-aa2e-43f6-ae59-d9e5274a0741/36b11846b33ff828daf09a85d86f6867/omnisharp-win-x64-1.37.10.zip,https://download.visualstudio.microsoft.com/download/pr/c330c5bf-aa2e-43f6-ae59-d9e5274a0741/6ab5c4c22325946cca0653b2035c7af6/omnisharp-win-x86-1.37.10.zip",
167+
"NEW_DEPS_VERSION": "1.37.10"
168168
},
169169
"cwd": "${workspaceFolder}"
170170
}

CHANGELOG.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Known Issues in 1.23.11
1+
## Known Issues in 1.23.12
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).
44
* 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.
@@ -11,8 +11,33 @@
1111
* Renaming symbol fails within a file that had recently been renamed without saving changes.
1212
* As a workaround, make an edit within the file before using Rename Symbol.
1313

14+
## 1.23.12 (Not yet released)
15+
* Support experimental async completion (PR: [#4116](https://www.github.com/OmniSharp/omnisharp-vscode/pull/4116))
16+
* Add option to to exclude custom symbols from codelens ([#4335](https://github.com/OmniSharp/omnisharp-vscode/issues/4335), PR: [#4418](https://www.github.com/OmniSharp/omnisharp-vscode/pull/4418))
17+
* Handle ProcessPicker via resolveDebugConfiguration (PR: [#4509](https://www.github.com/OmniSharp/omnisharp-vscode/pull/4509))
18+
* Update OmniSharp version to 1.37.10
19+
* Update included toolset to match .NET 6 preview4 (PR: [omnisharp-roslyn#2159](https://github.com/OmniSharp/omnisharp-roslyn/pull/2159))
20+
* Add async completion support (PR: [omnisharp-roslyn#1986](https://www.github.com/OmniSharp/omnisharp-roslyn/pull/1986))
21+
* Only subscribe to AppDomain.AssemblyResolve once (PR: [omnisharp-roslyn#2149](https://www.github.com/OmniSharp/omnisharp-roslyn/pull/2149))
22+
* Update build tools to match .NET 6 Preview 3 SDK. (PR: [omnisharp-roslyn#2134](https://www.github.com/OmniSharp/omnisharp-roslyn/pull/2134))
23+
* Do not return null responses from BlockStructureService and CodeStructureService (PR: [omnisharp-roslyn#2148](https://www.github.com/OmniSharp/omnisharp-roslyn/pull/2148))
24+
* Strong-name sign OmniSharp assemblies (PR: [omnisharp-roslyn#2143](https://www.github.com/OmniSharp/omnisharp-roslyn/pull/2143))
25+
* Updated IL Spy to 7.0.0 stable (PR: [omnisharp-roslyn#2142](https://www.github.com/OmniSharp/omnisharp-roslyn/pull/2142))
26+
* Do not crash on startup when configuration is invalid (PR: [omnisharp-roslyn#2140](https://www.github.com/OmniSharp/omnisharp-roslyn/pull/2140))
27+
* Bump System.Text.Encodings.Web from 4.7.1 to 4.7.2 in /tools (PR: [omnisharp-roslyn#2137](https://www.github.com/OmniSharp/omnisharp-roslyn/pull/2137))
28+
* Correctly set compilation platform of the project (PR: [omnisharp-roslyn#2135](https://www.github.com/OmniSharp/omnisharp-roslyn/pull/2135))
29+
* Fix typo (PR: [omnisharp-roslyn#2098](https://www.github.com/OmniSharp/omnisharp-roslyn/pull/2098))
30+
* Rework completion resolution ([omnisharp-roslyn#2123](https://github.com/OmniSharp/omnisharp-roslyn/issues/2123), PR: [omnisharp-roslyn#2126](https://www.github.com/OmniSharp/omnisharp-roslyn/pull/2126))
31+
* Report back the solution filter name in workspace updated event (PR: [omnisharp-roslyn#2130](https://www.github.com/OmniSharp/omnisharp-roslyn/pull/2130))
32+
* Debugger changes:
33+
* Added support for osx-arm64 debugging ([#4390](https://github.com/OmniSharp/omnisharp-vscode/issues/4390))
34+
* 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)).
35+
* Fixed an issue with character encoding for multi-byte characters written to the debug console ([#4398](https://github.com/OmniSharp/omnisharp-vscode/issues/4398))
36+
* Fixed a bug where Blazor WASM debugging would fail to launch correctly ([dotnet/aspnetcore#31653](https://github.com/dotnet/aspnetcore/issues/31653))
37+
1438
## 1.23.11 (April 9, 2021)
1539
* 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))
40+
1641
## 1.23.10 (April 9, 2021)
1742
* Support solution filters (*.slnf) (PR: [#4481](https://github.com/OmniSharp/omnisharp-vscode/pull/4481))
1843
* Prompt user to install Blazor WASM companion extension if needed (PR: [#4392](https://github.com/OmniSharp/omnisharp-vscode/pull/4392))

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# free-omnisharp-vscode
22

3-
C# extension for vscode-compatible editors.
4-
5-
## Why?
6-
73
The debugger included in the official C# extension is [proprietary](https://aka.ms/VSCode-DotNet-DbgLicense) and is licensed to only work with Microsoft versions of vscode.
84
This extension replaces it with [Samsung's MIT-licensed alternative](https://github.com/Samsung/netcoredbg/blob/master/LICENSE).
95

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)