Skip to content

Commit 2330126

Browse files
allisonchouAllison Chou
andauthored
Update Razor to 7.0.0-preview.23053.8 (#5523)
* Update Razor to 7.0.0-preview.5.22519.7 * tslint fixes * Update Razor version to 7.0.0-preview.5.22524.5 * Update Razor to 7.0.0-preview.5.22525.2 * Update Razor to 7.0.0-preview.5.22527.9 * Fix Linux * Update Razor version * Update Razor to 7.0.0-preview.23053.8 * Update test plan * Update changelog * Update PR number * Update README Co-authored-by: Allison Chou <[email protected]>
1 parent 9a08775 commit 2330126

File tree

5 files changed

+105
-10
lines changed

5 files changed

+105
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
* As a workaround, make an edit within the file before using Rename Symbol.
1414

1515
## 1.25.3
16+
* Update Razor to 7.0.0-preview.23053.8 (PR: [#5523](https://github.com/OmniSharp/omnisharp-vscode/pull/5523))
17+
* Enables support for arm64
18+
* Adds document color and color presentation features
1619
* Update Roslyn to 4.5.0-2.22527.10 (PR: [#2486](https://github.com/OmniSharp/omnisharp-roslyn/pull/2486))
1720
* Update dotnet-script dependencies to 1.4.0 (PR: [#2477](https://github.com/OmniSharp/omnisharp-roslyn/pull/2477))
1821
* Register the LanguageServerLogger only once (PR: [#2473](https://github.com/OmniSharp/omnisharp-roslyn/pull/2473))

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ If you still need Unity or .NET Framework support, you can set `omnisharp.useMod
3232
See issue [#5120](https://github.com/OmniSharp/omnisharp-vscode/issues/5120) for more details.
3333

3434
## What's new in 1.25.3
35+
* Update Razor to 7.0.0-preview.23053.8 (PR: [#5523](https://github.com/OmniSharp/omnisharp-vscode/pull/5523))
36+
* Enables support for arm64
37+
* Adds document color and color presentation features
3538
* Update Roslyn to 4.5.0-2.22527.10 (PR: [#2486](https://github.com/OmniSharp/omnisharp-roslyn/pull/2486))
3639
* Update dotnet-script dependencies to 1.4.0 (PR: [#2477](https://github.com/OmniSharp/omnisharp-roslyn/pull/2477))
3740
* Register the LanguageServerLogger only once (PR: [#2473](https://github.com/OmniSharp/omnisharp-roslyn/pull/2473))

package.json

Lines changed: 92 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"defaults": {
3838
"omniSharp": "1.39.3",
39-
"razor": "6.0.0-preview.5.21358.6"
39+
"razor": "7.0.0-preview.23053.8"
4040
},
4141
"main": "./dist/extension",
4242
"scripts": {
@@ -67,7 +67,7 @@
6767
"http-proxy-agent": "4.0.1",
6868
"https-proxy-agent": "5.0.0",
6969
"jsonc-parser": "3.0.0",
70-
"microsoft.aspnetcore.razor.vscode": "https://download.visualstudio.microsoft.com/download/pr/b8678010-2cd7-4201-a5e7-ba57920607d5/0ab4b9b270542715d9ffa7ee05c809fb/microsoft.aspnetcore.razor.vscode-6.0.0-preview.5.21358.6.tgz",
70+
"microsoft.aspnetcore.razor.vscode": "https://download.visualstudio.microsoft.com/download/pr/602f2575-f78b-4223-8d58-71fdc82775df/148b19e4ebaa05ccb640e080b62c1b75/microsoft.aspnetcore.razor.vscode-7.0.0-preview.23053.8.tgz",
7171
"node-machine-id": "1.1.12",
7272
"request-light": "0.4.0",
7373
"rxjs": "6.6.7",
@@ -522,7 +522,7 @@
522522
{
523523
"id": "Razor",
524524
"description": "Razor Language Server (Windows / x64)",
525-
"url": "https://download.visualstudio.microsoft.com/download/pr/b8678010-2cd7-4201-a5e7-ba57920607d5/a654aaa3c8090ca1751d7f7646a7b000/razorlanguageserver-win-x64-6.0.0-preview.5.21358.6.zip",
525+
"url": "https://download.visualstudio.microsoft.com/download/pr/602f2575-f78b-4223-8d58-71fdc82775df/05829991ced3c1bfe11de9ed338fb57d/razorlanguageserver-win-x64-7.0.0-preview.23053.8.zip",
526526
"installPath": ".razor",
527527
"platforms": [
528528
"win32"
@@ -534,23 +534,63 @@
534534
{
535535
"id": "Razor",
536536
"description": "Razor Language Server (Windows / x86)",
537-
"url": "https://download.visualstudio.microsoft.com/download/pr/b8678010-2cd7-4201-a5e7-ba57920607d5/18e1cdfce3f4f074905cf0fd89f8d07f/razorlanguageserver-win-x86-6.0.0-preview.5.21358.6.zip",
537+
"url": "https://download.visualstudio.microsoft.com/download/pr/602f2575-f78b-4223-8d58-71fdc82775df/03c358b0009b494360f1b3c518b69ce6/razorlanguageserver-win-x86-7.0.0-preview.23053.8.zip",
538+
"installPath": ".razor",
539+
"platforms": [
540+
"win32"
541+
],
542+
"architectures": [
543+
"x86"
544+
]
545+
},
546+
{
547+
"id": "Razor",
548+
"description": "Razor Language Server (Windows / ARM64)",
549+
"url": "https://download.visualstudio.microsoft.com/download/pr/602f2575-f78b-4223-8d58-71fdc82775df/e6017ef7cdf4835843de15f0f96799f1/razorlanguageserver-win-arm64-7.0.0-preview.23053.8.zip",
538550
"installPath": ".razor",
539551
"platforms": [
540552
"win32"
541553
],
542554
"architectures": [
543-
"x86",
544555
"arm64"
545556
]
546557
},
547558
{
548559
"id": "Razor",
549560
"description": "Razor Language Server (Linux / x64)",
550-
"url": "https://download.visualstudio.microsoft.com/download/pr/b8678010-2cd7-4201-a5e7-ba57920607d5/b846e9c7d7afdba54a72fae1dcb6c42c/razorlanguageserver-linux-x64-6.0.0-preview.5.21358.6.zip",
561+
"url": "https://download.visualstudio.microsoft.com/download/pr/602f2575-f78b-4223-8d58-71fdc82775df/e5a700fc949b3cda2c7ed86e85c1fa06/razorlanguageserver-linux-x64-7.0.0-preview.23053.8.zip",
562+
"installPath": ".razor",
563+
"platforms": [
564+
"linux"
565+
],
566+
"architectures": [
567+
"x86_64"
568+
],
569+
"binaries": [
570+
"./rzls"
571+
]
572+
},
573+
{
574+
"id": "Razor",
575+
"description": "Razor Language Server (Linux ARM64)",
576+
"url": "https://download.visualstudio.microsoft.com/download/pr/602f2575-f78b-4223-8d58-71fdc82775df/197a2a02473941c91f80c5954c99087f/razorlanguageserver-linux-arm64-7.0.0-preview.23053.8.zip",
577+
"installPath": ".razor",
578+
"platforms": [
579+
"linux"
580+
],
581+
"architectures": [
582+
"arm64"
583+
],
584+
"binaries": [
585+
"./rzls"
586+
]
587+
},
588+
{
589+
"id": "Razor",
590+
"description": "Razor Language Server (Linux musl / x64)",
591+
"url": "https://download.visualstudio.microsoft.com/download/pr/602f2575-f78b-4223-8d58-71fdc82775df/86196fc5e51f1cc512d5d1a050981e61/razorlanguageserver-linux-musl-x64-7.0.0-preview.23053.8.zip",
551592
"installPath": ".razor",
552593
"platforms": [
553-
"linux",
554594
"linux-musl"
555595
],
556596
"architectures": [
@@ -560,16 +600,45 @@
560600
"./rzls"
561601
]
562602
},
603+
{
604+
"id": "Razor",
605+
"description": "Razor Language Server (Linux musl ARM64)",
606+
"url": "https://download.visualstudio.microsoft.com/download/pr/602f2575-f78b-4223-8d58-71fdc82775df/c07b35369f451de96a472c94286d105a/razorlanguageserver-linux-musl-arm64-7.0.0-preview.23053.8.zip",
607+
"installPath": ".razor",
608+
"platforms": [
609+
"linux-musl"
610+
],
611+
"architectures": [
612+
"arm64"
613+
],
614+
"binaries": [
615+
"./rzls"
616+
]
617+
},
563618
{
564619
"id": "Razor",
565620
"description": "Razor Language Server (macOS / x64)",
566-
"url": "https://download.visualstudio.microsoft.com/download/pr/b8678010-2cd7-4201-a5e7-ba57920607d5/ad846449769eb2ae810d0236823a6aaa/razorlanguageserver-osx-x64-6.0.0-preview.5.21358.6.zip",
621+
"url": "https://download.visualstudio.microsoft.com/download/pr/602f2575-f78b-4223-8d58-71fdc82775df/0189541139533ba34b9e02e05c870edc/razorlanguageserver-osx-x64-7.0.0-preview.23053.8.zip",
622+
"installPath": ".razor",
623+
"platforms": [
624+
"darwin"
625+
],
626+
"architectures": [
627+
"x86_64"
628+
],
629+
"binaries": [
630+
"./rzls"
631+
]
632+
},
633+
{
634+
"id": "Razor",
635+
"description": "Razor Language Server (macOS ARM64)",
636+
"url": "https://download.visualstudio.microsoft.com/download/pr/602f2575-f78b-4223-8d58-71fdc82775df/2c1cea3e7514a96cf4c3ed51a3dc169d/razorlanguageserver-osx-arm64-7.0.0-preview.23053.8.zip",
567637
"installPath": ".razor",
568638
"platforms": [
569639
"darwin"
570640
],
571641
"architectures": [
572-
"x86_64",
573642
"arm64"
574643
],
575644
"binaries": [
@@ -3682,6 +3751,14 @@
36823751
}
36833752
],
36843753
"semanticTokenTypes": [
3754+
{
3755+
"id": "razorComponentElement",
3756+
"description": "A Razor component element"
3757+
},
3758+
{
3759+
"id": "razorComponentAttribute",
3760+
"description": "A Razor component attribute"
3761+
},
36853762
{
36863763
"id": "razorTagHelperElement",
36873764
"description": "A Razor TagHelper Element"
@@ -3872,6 +3949,12 @@
38723949
{
38733950
"language": "aspnetcorerazor",
38743951
"scopes": {
3952+
"razorComponentElement": [
3953+
"entity.name.class.element.component"
3954+
],
3955+
"razorComponentAttribute": [
3956+
"entity.name.class.attribute.component"
3957+
],
38753958
"razorTagHelperElement": [
38763959
"entity.name.class.element.taghelper"
38773960
],

test-plan.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,12 @@ To setup a test project to verify on you can do:
242242
* When no changes have been performed on `Pages/Index.cshtml`, there are 0 errors.
243243
* Typing `@ThisDoesNotExist` results in an error being created and squiggled in the .cshtml file.
244244

245+
##### HTML Document Color and Color Presentation
246+
* Specifying a color name should display the color itself. Hovering over the color should display a color picker.
247+
```HTML
248+
<h1 style="background-color:blue"></h1>
249+
```
250+
245251
##### Debugging with blazorwasm debug adapter
246252

247253
**Note:** On a VS Code installation with no extensions, you should recieve an alert like the following:

test/unitTests/features/reportIssue.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ suite(`${reportIssue.name}`, () => {
5151
setup(() => {
5252
vscode = getFakeVsCode();
5353

54-
vscode.env.clipboard.writeText = (body: string) => {
54+
vscode.env.clipboard.writeText = async (body: string) => {
5555
issueBody = body;
5656
return Promise.resolve();
5757
};

0 commit comments

Comments
 (0)