Skip to content

[WebToolsE2E][Mac][Blue] The position of the cursor is incorrect when editing xxx.cshtml #12071

@Susie-1989

Description

@Susie-1989

REGRESSION INFO: Not a Regression

Platform

  • Windows
  • macOS
  • Linux

INSTALL STEP

  1. Repro OS: Mac 64 Sequoia 15.2
  2. Install latest VSCode (latest released version 1.103.0-insider)
  3. Install SDK 10.0 Preview 6
  4. Install public Pre-release C# Extension, version 2.87.26

REPRO STEPS

  1. Create razor project
md razor
cd razor
dotnet new razor
  1. Open this folder with vs code and open Pages/Shared/_Layout.cshtml.
  2. Move the cursor to the end of line 13 and press "Enter" button.

ACTUAL The position of the cursor is incorrect

Image

EXPECTED The position of the cursor is below screenshot.

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions