Skip to content

[html] [rename on type] does not work properly with multicursor #88127

@plezan

Description

@plezan

There is an inconsistency in the behaviour of the new mirror cursor feature

Depending on the way used to select multiple opening tags it won't have a constant behavior :

  • when using alt+maj+down to select :
<td| headers="row1 col1">1 973</td|>
<td| headers="row1 col2">770</td> |
<td| headers="row1 col3">14</td> |
<td| headers="row1 col4">22</td> |
<td| headers="row1 col5">40</td> |
  • when using alt+click
<td| headers="row1 col1">1 973</td|>
<td| headers="row1 col2">770</td> 
<td| headers="row1 col3">14</td> 
<td| headers="row1 col4">22</td> 
<td| headers="row1 col5">40</td> 
  • when using ctrl+d
<td| headers="row1 col1">1 973</td>
<td| headers="row1 col2">770</td> 
<td| headers="row1 col3">14</td> 
<td| headers="row1 col4">22</td> 
<td| headers="row1 col5">40</td> 

Maybe the simpler solution would be to disable it with the multi cursor, like when using ctrl+d or double-clicking (as in #86052)

  • VSCode Version: 1.41.1
  • OS Version: Linux x64 5.0.0-37-generic snap (Ubuntu 19.04)

Steps to Reproduce:

  1. use multiple cursors in opening tags
  2. press

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

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 InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions