razor
razor copied to clipboard
VSCode: The format incorrect after type @using in razor file
Issue moved from aspnet/AspNetCore-ManualTests#817
- Please respond to @jinzhao1127.
From @jinzhao1127 on Tuesday, August 10, 2021 9:55:21 AM
Azure DevOps work item: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1369654
Testcases Affected
[6.0] VerifyBlazorServerwithNoAuth
Platform
- [ ] Windows
- [x] macOS
- [x] Linux
Repro Steps
- Run open up a normal Command Prompt (do not run as administrator)
- Create a folder and create an Blazor project in it:
cd BlazorServer
dotnet new blazorserver
- Navigate to the folder you created Blazor and open VS Code using Terminal Emulator
code .
- Download C# extension v1.23.15 from: https://github.com/OmniSharp/omnisharp-vscode/releases and Install it.
- In the root _Imports.razor file in the BlazorServer app add a @using statement, and type Enter key for
using
in the completion list.
Note:
- It reproes on Linux/ Mac .
- It also reproes on C# Extension v1.23.14 +6.0 RC!
Actual Result
The format incorrect after type @using in razor file.
Expected Result
Error Log
Issue moved from aspnet/AspNetCore-ManualTests#817
- Please respond to @mkArtakMSFT.
From @mkArtakMSFT on Tuesday, August 10, 2021 4:26:52 PM
@NTaylorMullen how would you like to track this?