Skip to content

Commit 8e6b09b

Browse files
authored
Merge branch 'master' into statusBar
2 parents a377df1 + 362c4ed commit 8e6b09b

Some content is hidden

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

54 files changed

+11816
-11108
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
bin
2+
obj
23
node_modules
34
out
45
.omnisharp/

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ language: node_js
33
node_js:
44
- "10"
55

6+
mono:
7+
- latest
8+
69
env:
710
- CODE_VERSION=1.33.0
811

.vscode/launch.json

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -85,47 +85,41 @@
8585
"preLaunchTask": "buildDev"
8686
},
8787
{
88-
"name": "Launch slnWithCsproj Workspace Tests",
88+
"name": "Launch razorcsproj Workspace Tests",
8989
"type": "extensionHost",
9090
"request": "launch",
9191
"runtimeExecutable": "${execPath}",
9292
"args": [
9393
"--disable-extensions",
94-
"${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj",
94+
"${workspaceRoot}/test/integrationTests/testAssets/BasicRazorApp2_1",
9595
"--extensionDevelopmentPath=${workspaceRoot}",
9696
"--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
9797
],
9898
"env": {
9999
"CODE_WORKSPACE_ROOT": "${workspaceRoot}",
100100
"CODE_TESTS_PATH": "${workspaceRoot}/out/test/integrationTests",
101-
"CODE_TESTS_WORKSPACE": "${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj",
101+
"CODE_TESTS_WORKSPACE": "${workspaceRoot}/test/integrationTests/testAssets/BasicRazorApp2_1",
102102
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
103-
"OSVC_SUITE": "slnWithCsproj"
103+
"OSVC_SUITE": "BasicRazorApp2_1"
104104
},
105-
"stopOnEntry": false,
106-
"sourceMaps": true,
107-
"outFiles": [
108-
"${workspaceRoot}/dist/*.js"
109-
],
110-
"preLaunchTask": "buildDev"
111105
},
112106
{
113-
"name": "Launch Razor Tests",
107+
"name": "Launch slnWithCsproj Workspace Tests",
114108
"type": "extensionHost",
115109
"request": "launch",
116110
"runtimeExecutable": "${execPath}",
117111
"args": [
118112
"--disable-extensions",
119-
"${workspaceRoot}/test/integrationTests/testAssets/BasicRazorApp2_1",
113+
"${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj",
120114
"--extensionDevelopmentPath=${workspaceRoot}",
121-
"--extensionTestsPath=${workspaceRoot}/out/test/razorTests"
115+
"--extensionTestsPath=${workspaceRoot}/out/test/integrationTests"
122116
],
123117
"env": {
124118
"CODE_WORKSPACE_ROOT": "${workspaceRoot}",
125-
"CODE_TESTS_PATH": "${workspaceRoot}/out/test/razorTests",
126-
"CODE_TESTS_WORKSPACE": "${workspaceRoot}/test/integrationTests/testAssets/BasicRazorApp2_1",
119+
"CODE_TESTS_PATH": "${workspaceRoot}/out/test/integrationTests",
120+
"CODE_TESTS_WORKSPACE": "${workspaceRoot}/test/integrationTests/testAssets/slnWithCsproj",
127121
"CODE_EXTENSIONS_PATH": "${workspaceRoot}",
128-
"OSVC_SUITE": "BasicRazorApp2_1"
122+
"OSVC_SUITE": "slnWithCsproj"
129123
},
130124
"stopOnEntry": false,
131125
"sourceMaps": true,
@@ -144,8 +138,8 @@
144138
"updatePackageDependencies"
145139
],
146140
"env": {
147-
"NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/f90b2712-8f9e-4922-8c16-8b556e3de023/529091dc87db6486f018ef7a958d33c4/omnisharp-linux-x64-1.34.9.zip,https://download.visualstudio.microsoft.com/download/pr/f90b2712-8f9e-4922-8c16-8b556e3de023/e69bdd4608df209c392b060d2c4d5bcb/omnisharp-linux-x86-1.34.9.zip,https://download.visualstudio.microsoft.com/download/pr/f90b2712-8f9e-4922-8c16-8b556e3de023/9f14159516a93f06fcd965ef7f335dc1/omnisharp-osx-1.34.9.zip,https://download.visualstudio.microsoft.com/download/pr/f90b2712-8f9e-4922-8c16-8b556e3de023/66b355b126f43f17270951e9d99ab8d8/omnisharp-win-x64-1.34.9.zip,https://download.visualstudio.microsoft.com/download/pr/f90b2712-8f9e-4922-8c16-8b556e3de023/0d23eeab530c0fb23f517275eaff0db3/omnisharp-win-x86-1.34.9.zip",
148-
"NEW_DEPS_VERSION": "1.34.9"
141+
"NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/076ec7ac-bf89-4cfa-9c8d-c440bd14b966/54cf61c59ef7e3376d6460d1af05f7a7/omnisharp-linux-x64-1.34.15.zip,https://download.visualstudio.microsoft.com/download/pr/076ec7ac-bf89-4cfa-9c8d-c440bd14b966/172abd4e9fe368b3d9a7dc61be8c7541/omnisharp-linux-x86-1.34.15.zip,https://download.visualstudio.microsoft.com/download/pr/076ec7ac-bf89-4cfa-9c8d-c440bd14b966/cd8ab832a87dbd4a27bba98577b36c55/omnisharp-osx-1.34.15.zip,https://download.visualstudio.microsoft.com/download/pr/076ec7ac-bf89-4cfa-9c8d-c440bd14b966/a8f0af91dfcd7ea593dc781bc0f4f7ee/omnisharp-win-x64-1.34.15.zip,https://download.visualstudio.microsoft.com/download/pr/076ec7ac-bf89-4cfa-9c8d-c440bd14b966/bf0476eb0cc096cfd49b059987431d97/omnisharp-win-x86-1.34.15.zip",
142+
"NEW_DEPS_VERSION": "1.34.15"
149143
},
150144
"cwd": "${workspaceFolder}"
151145
}

CHANGELOG.md

Lines changed: 58 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,69 @@
1-
## Known Issues in 1.21.9
1+
## Known Issues in 1.21.16
22

33
* Known limitations with the preview Razor (cshtml) language service to be addressed in a future release:
44
* Only ASP.NET Core projects are supported (no support for ASP.NET projects)
5-
* Limited support for colorization and formatting
6-
* Loss of HTML completions following C# less than (`<`) operator
5+
* Limited support for formatting
76
* Error squiggles misaligned for expressions near the start of a new line
87
* Emmet based abbreviation expansion is not yet supported
98
* There currently is no completion support for package references in csproj files. ([#1156](https://github.com/OmniSharp/omnisharp-vscode/issues/1156))
109
* As an alternative, consider installing the [MSBuild Project Tools](https://marketplace.visualstudio.com/items?itemName=tintoy.msbuild-project-tools) extension by @tintoy.
1110

11+
## 1.21.17 (Not yet released)
12+
* Updated Razor support (PR:[#3696](https://github.com/OmniSharp/omnisharp-vscode/pull/3696))
13+
* Razor support for `<text>` tag completions.
14+
* Ability to restart the Razor Language Server to activate changes to the `razor.trace` level.
15+
* Bug fixes and performance improvements.
16+
17+
## 1.21.16 (March 30, 2020)
18+
* Support for .NET Core 3.1 in csx files (PR: [#1731](https://github.com/OmniSharp/omnisharp-roslyn/pull/1731))
19+
* Update the minimal MSBuild to better support .NET 5 Previews ([omnisharp-vscode#3653](https://github.com/OmniSharp/omnisharp-vscode/issues/3653), PR: [#1746](https://github.com/OmniSharp/omnisharp-roslyn/pull/1746))
20+
21+
## 1.21.15 (March 19, 2020)
22+
* Fixed freezing and unresponsiveness when opening folder with many nested sub-folders (PR: [#3681](https://github.com/OmniSharp/omnisharp-vscode/pull/3681))
23+
* Fixed handling of dismiss response to assets prompt (PR: [3678](https://github.com/OmniSharp/omnisharp-vscode/pull/3678))
24+
25+
## 1.21.14 (March 11, 2020)
26+
* Fixed an issue where Razor formatting fails in the presence of @using directives
27+
* Added support for `annotations` value of `Nullable` csproj property ([omnisharp-roslyn/#1721](https://github.com/OmniSharp/omnisharp-roslyn/issues/1721), PR: [omnisharp-roslyn/#1722](https://github.com/OmniSharp/omnisharp-roslyn/pull/1722))
28+
* Added ability to specify custom RunSettings for tests (PR: [#3573](https://github.com/OmniSharp/omnisharp-vscode/pull/3573), PR: [omnisharp-roslyn/#1710](https://github.com/OmniSharp/omnisharp-roslyn/pull/1710))
29+
30+
## 1.21.13 (March 5, 2020)
31+
* Change Marketplace publisher for the C# extension from ms-vscode to ms-dotnettools
32+
* Ignore diagnostics from virtual files ([aspnetcore/#18927](https://github.com/dotnet/aspnetcore/issues/18927), PR: [#3592](https://github.com/OmniSharp/omnisharp-vscode/pull/3592))
33+
* Detect and create Blazor WASM launch and debug settings ([aspnetcore/#17549](https://github.com/dotnet/aspnetcore/issues/17549), PR: [#3593](https://github.com/OmniSharp/omnisharp-vscode/pull/3593))
34+
* Updated Razor support (PR:[3594](https://github.com/OmniSharp/omnisharp-vscode/pull/3594))
35+
* Support for @code/@functions block formatting
36+
* Updated Razor's TextMate grammar to include full syntactic colorization
37+
* Several bug fixes
38+
39+
## 1.21.12 (February 20, 2020)
40+
* Fixed out of bounds exception in line mapping ([#3485](https://github.com/OmniSharp/omnisharp-vscode/issues/3485), PR: [omnisharp-roslyn/#1707](https://github.com/OmniSharp/omnisharp-roslyn/pull/1707))
41+
* Added support for aliases in project references ([omnisharp-roslyn/#1685](https://github.com/OmniSharp/omnisharp-roslyn/issues/1685), PR: [omnisharp-roslyn/#1701](https://github.com/OmniSharp/omnisharp-roslyn/pull/1701))
42+
* Raised the lowest discovered VS2019 version to 16.3 ([omnisharp-roslyn/#1700](https://github.com/OmniSharp/omnisharp-roslyn/issues/1700), PR: (#1713)(https://github.com/OmniSharp/omnisharp-roslyn/pull/1713))
43+
* Fixed a bug where organizing usings clashed with other formatting settings (PR: [omnisharp-roslyn/#1715](https://github.com/OmniSharp/omnisharp-roslyn/pull/1713))
44+
45+
## 1.21.11 (February 6, 2020)
46+
* Updated the bundled to Mono 6.8.0 and MSBuild to be copied from Mono 6.8.0 ([omnisharp-roslyn/#1693](https://github.com/OmniSharp/omnisharp-roslyn/issues/1693), PR: [omnisharp-roslyn/#1697](https://github.com/OmniSharp/omnisharp-roslyn/pull/1697))
47+
* Included NugetSDKResolver in the minimal MSBuild, which introduces support for Nuget based project SDKs like Arcade ([omnisharp-roslyn/#1678](https://github.com/OmniSharp/omnisharp-roslyn/issues/1678), PR: [omnisharp-roslyn/#1696](https://github.com/OmniSharp/omnisharp-roslyn/pull/1696))
48+
* Added option (`csharp.supressBuildAssetsNotification`) to surpress missing build asset notifications (PR:[#3538](https://github.com/OmniSharp/omnisharp-vscode/pull/3538))
49+
* The minimum Mono version required to run OmniSharp on has been increased to 6.4.0
50+
51+
## 1.21.10 (February 2, 2020)
52+
* Updated Razor support (PR:[#3524](https://github.com/OmniSharp/omnisharp-vscode/pull/3524))
53+
* Added quick info (hover) support for TagHelper and Blazor components. You can now hover over TagHelpers, Components and their attributes to understand what associated C# type you're hovering over in addition to an attributes expected value type.
54+
* Migrated Razor's project understanding from the VSCode extension into the Language Server. This enables the language server to reboot without extra assistance (reliability) from an LSP client and also enables future Razor LSP clients to have richer functionality with less "work".
55+
* Added C# light bulbs to enable users to "Fully Qualify" members that are causing errors.
56+
* Expanded Razor's TextMate grammar colorization support to understand email addresses and `await foreach`.
57+
* Several bug fixes
58+
* Updated Debugger support (PR:[#3515](https://github.com/OmniSharp/omnisharp-vscode/pull/3515))
59+
* Added option to search the NuGet.org Symbol Server
60+
* Added options to control logging Process and Thread exits while debugging
61+
* Fixed a bug where completion items didn't decode symbols corectly (impacted, for example, object initializer completion quality) ([#3465](https://github.com/OmniSharp/omnisharp-vscode/issues/3465), PR:[omnisharp-roslyn/#1670](https://github.com/OmniSharp/omnisharp-roslyn/pull/1670))
62+
* Updated to MsBuild 16.4.0 on Linux/MacOS (PR:[omnisharp-roslyn/#1669](https://github.com/OmniSharp/omnisharp-roslyn/pull/1669))
63+
* Added support for implement type options - it is now possible to define whether code-fix/refactoring generated properties should be auto- or throwing-properties and at which place in the class should newly generated members be inserted. They can be set via OmniSharp configuration, such as `omnisharp.json` file. (PR: [omnisharp-roslyn/#1672](https://github.com/OmniSharp/omnisharp-roslyn/pull/1672))
64+
* Added support for organizing usings on format. This can be set via OmniSharp configuration, such as `omnisharp.json` file. (PR:[omnisharp-roslyn/#1686](https://github.com/OmniSharp/omnisharp-roslyn/pull/1686))
65+
* Improved support for .NET Core 3.1
66+
1267
## 1.21.9 (December 16, 2019)
1368
* Use the base filename instead of 'ClassName' in ctor snippet (PR:[#3385](https://github.com/OmniSharp/omnisharp-vscode/pull/3385))
1469
* Added command to re-run code analysis on single project or all projects (PR:[#3089](https://github.com/OmniSharp/omnisharp-vscode/pull/3089))

LICENSE.txt

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
1-
Copyright (c) Microsoft Corporation
2-
3-
All rights reserved.
4-
51
MIT License
62

7-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
8-
files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
9-
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
10-
is furnished to do so, subject to the following conditions:
3+
Copyright (c) .NET Foundation and Contributors
4+
All Rights Reserved
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
1112

12-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
1315

14-
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
15-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
16-
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
17-
OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.

0 commit comments

Comments
 (0)