Skip to content

[WebToolsE2E][Blue]With check "Use Omnisharp", when type code “@DateTime.” in xxx.cshtml file, Put the cursor into other lines, wait for 3s and then put the cursor after "@datetime.", then re-invoke it (Ctrl + Space), no intellisense is shown #8916

@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 "@Datet" in <head> tab ,a C# completion list being displayed and it contains "DateTime", press Enter key to complete it, then type "." , the completion list displayed.
  3. Put the cursor into other lines, wait for 3s and then put the cursor after "@datetime.", then re-invoke it (Ctrl + Space)

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

ACTUAL No intellisense is shown

Image

EXPECTED Intellisense is shown

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