Skip to content

HTML auto rename: flashing secondary cursor when creating new div #85715

Closed

Description

@rebornix

Issue Type: Bug

  • Open html file with below content
<body>

<div>
</div>
</body>
  • type in <div in the second line

flashing

VS Code version: Code - Insiders 1.41.0-insider (615732f, 2019-11-27T05:36:11.009Z)
OS version: Darwin x64 19.0.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 2, 5, 6
Memory (System) 16.00GB (0.49GB free)
Process Argv -psn_0_33767474
Screen Reader no
VM 0%
Extensions (58)
Extension Author (truncated) Version
github-markdown-preview bie 0.0.2
markdown-checkbox bie 0.1.3
markdown-emoji bie 0.0.9
markdown-preview-github-styles bie 0.1.6
markdown-yaml-preamble bie 0.0.4
npm-intellisense chr 1.3.0
vscode-svgviewer css 2.0.0
dart-code Dar 3.6.0
flutter Dar 3.6.0
vscode-eslint dba 1.9.1
xml Dot 2.5.0
gitlens eam 10.2.0
tsl-problem-matcher eam 0.1.0
EditorConfig Edi 0.14.2
tslint eg2 1.0.44
vsc-material-theme Equ 30.0.0
flow-for-vscode flo 1.5.0
vscode-pull-request-github-insiders Git 2019.11.2342
ocaml hac 0.6.43
beautify Hoo 1.5.0
vscode-ghc-mod hoo 1.2.0
references-plusplus jri 0.0.5
language-haskell jus 2.6.0
vscode-colorize kam 0.8.15
graphql-for-vscode kum 1.15.3
vscode-smoketest-check mic 0.0.1
dotenv mik 1.0.1
theme-monokai-pro-vscode mon 1.1.14
vscode-azurefunctions ms- 0.20.0
vscode-docker ms- 0.8.2
vscode-language-pack-zh-hans MS- 1.40.2
python ms- 2019.11.50794
remote-containers ms- 0.86.0
remote-ssh-edit-nightly ms- 2019.11.38400
remote-ssh-explorer-nightly ms- 2019.10.238
remote-ssh-nightly ms- 2019.11.38400
azure-account ms- 0.8.7
cpptools ms- 0.26.1
Go ms- 0.11.9
powershell ms- 2019.11.0
vscode-typescript-tslint-plugin ms- 1.2.3
wordcount ms- 0.1.0
vsliveshare ms- 1.0.1293
debugger-for-chrome msj 4.12.1
debugger-for-ios-web msj 0.1.2
vetur oct 0.22.6
subtitles-editor pep 1.0.4
seti-icons qin 0.1.3
smartpaste reb 0.0.3
toggle reb 0.0.1
sass-indented rob 1.5.1
vscode-stocks rob 0.1.1
rust rus 0.7.0
vscode-lldb vad 1.4.2
vscode-swift-development-environment vkn 2.8.2
vscode-swiftformat vkn 1.3.3
vscode-ruby win 0.26.0
material-theme zhu 3.1.2

(12 theme extensions excluded)

Activity

  1. added
    bug
    on Nov 27, 2019
  2. cameri commented on Nov 27, 2019

    @cameri

    +1 I'm having this issue too
    Version: Insiders, November 2019 (version 1.41)
    All extensions disabled.
    HTML: Auto Selecting Matching Tags must be ENABLED.

    Steps to reproduce:

    1. Open a new text editor
    2. Save it as whatever.html.
    3. Copy and paste this:
    <div>
    <div
    ></div>
    </div>
    
    1. Place the cursor right after the second occurrence of div like:
    <div>
    <div|
    ></div>
    </div>
    

    CPU jumps to 100%
    Status.editor.selection flips rapidly between showing 2 selections and Ln X, Col Y.
    A secondary cursor shows up blinking rapidly.

  3. added
    html
    on Dec 2, 2019
  4. added this to the November 2019 milestone on Dec 2, 2019
  5. added
    verified
    on Dec 4, 2019
  6. locked and limited conversation to collaborators on Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bughtmlverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions