omnisharp-roslyn
omnisharp-roslyn copied to clipboard
VS Code: Create blazor Server project without Intellisense after typing "@pro" in the index.razor file.
REPRO CONFIGURATION: Win10 x64 ENU 20H2 + SDK 3.1.417 Latest SDK Version: 3.1.417 Latest Runtime Version: 3.1.23
INSTALL STEPS:
- Clean machine: Win10 x64 ENU 20H2
- Install the sdk 3.1.417 from: \vsufile\patches\sign\NET\CORE_BUILDS\3.1.X\3.1.23\3.1.417-servicing-015911\signed\shipping\assets\Sdk\3.1.417-servicing-015911\dotnet-sdk-3.1.417-win-x64.exe
- Install C# Extensions version: v1.24.1.vsix from: https://github.com/OmniSharp/omnisharp-vscode/releases
Testcases Affected SimpleBlazorRazorEditingWithVSCode
Platform
- [x] Windows
- [x] macOS
- [x] Linux
Repro Steps
- Open a normal Terminal Emulator
- Create mvc project and open it using VS code
md Blazor
cd Blazor
dotnet new blazorserver
code .
- Go to https://github.com/OmniSharp/omnisharp-vscode/releases > Download the csharp-1.24.1.vsix.
- In VS Code and go to the Extensions Tab, select "Install from VSIX" > install the file you downloaded.
- Open Pages/index.razor file, type "@pro", verify that completion is available for type "program" that exist in the project.
Note: 1. This issue works fine on C# Extensions is v1.24.0. 2. This issue also repro on SDK 5.0.406.
Actual Result
Expected Result
There is a similar problem as follows.
Actual:
Expected: