Skip to content

[WebToolsE2E][Blue]No intellisense show up after type code "@inject date" in xxx.cshtml #2800

@Susie-1989

Description

@Susie-1989

REGRESSION INFO: This issue works well for SDK 8.0.418
INSTALL STEPS

  1. OS: window x64
  2. Install Mar servicing SDK 8.0.419
  3. Install VS Code insiders - 1.110.0
  4. Install Feb prerelease 1 C#2.121.32

REPRO STEPS

  1. Use below code to create razor project
    dotnet new razor -f net8.0 -o razor80
  2. Launch vs code and open this project and open _Layout.cshtml file
  3. At the top the file, type "@Inject date"

Note: This issue also repro for Mar servicing SDK 9.0.312

ACTUAL No intellisense show up

Image

When type "@{", it should auto complete the }. Press Enter key in head tag, then type "date",No intellisense show up

Image

When type “@layout main” in Home.razor in blazor project, No intellisense show up

Image

EXPECTED Intellisense show up

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions