Skip to content

[linked editing] JSX tags: does not work when the whole tag is changed #185279

@snehilshah

Description

@snehilshah

Type: Bug

  1. Started editing the linked tag
    eg: <div> ....</div>

  2. Remove the complete tag
    eg: <>....</div>

  3. (Bug) Changing the original tag now does not affect the matching tag.
    eg: <section>....</> <- did not change`

VS Code version: Code 1.79.2 (695af09, 2023-06-14T08:57:04.379Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i5-12500H (16 x 3110)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.63GB (8.48GB free)
Process Argv --folder-uri file:///d%3A/Projects/agenda-builder
Screen Reader no
VM 0%
Extensions (21)
Extension Author (truncated) Version
TabOut alb 0.2.2
easy-npm ani 0.3.0
tailwind-docs aus 2.0.0
vscode-tailwindcss bra 0.9.11
vscode-markdownlint Dav 0.51.0
es7-react-js-snippets dsz 4.4.3
gitlens eam 14.0.0
prettier-vscode esb 9.13.0
code-runner for 0.12.0
copilot Git 1.89.156
hungry-delete jas 1.7.0
symbols mig 0.0.12
vsliveshare ms- 1.0.5873
cssvar pho 2.6.2
vscode-thunder-client ran 2.7.7
reflow Ref 0.0.15
LiveServer rit 5.7.9
svg-preview Sim 2.8.3
errorlens use 3.11.1
vscode-conventional-commits viv 1.25.0
vscode-wakatime Wak 24.0.14

(2 theme extensions excluded)

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)bugIssue identified by VS Code Team member as probable bugeditor-synced-regionIssues related to synced region functionality in editorinsiders-releasedPatch has been released in VS Code Insiders

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions