Skip to content

[WebToolsE2E][Blue]With check "Use Omnisharp", when type invalid code, there is no error information shows up #8915

@Susie-1989

Description

@Susie-1989

REGRESSION INFO: Repro in Nov release C# 2.110.4

INSTALL STEPS

  1. OS: window x64
  2. Install the SDK 10.0.102
  3. Install VS Code insiders - 1.109.0
  4. Install Jan prerelease 3 prerelease C# 2.113.22

REPRO STEPS

  1. Go to Settings >Check "Use Omnisharp“
  2. Create razor project
md razor
cd razor
dotnet new razor
  1. Open this folder with vs code and open Pages/Shared/_Layout.cshtml.
  2. Type "@da" in <head> tab

Note: This issue works well when uncheck "Use Omnisharp“"

ACTUAL No error show up, there is no red wavy line under "@da".

Image

EXPECTED Error shows up

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions