Skip to content

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

Closed

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

Activity

  1. added
    bug
    editor-synced-region
    on Jan 10, 2020
  2. added this to the Backlog milestone on Jan 10, 2020
  3. changed the title [-][html] Mirror Cursor does not work properly with multicursor[/-] [+][html] [rename on type] does not work properly with multicursor[/+] on May 4, 2020
  4. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Aug 18, 2020
  5. locked and limited conversation to collaborators on Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugeditor-synced-regioninsiders-releasedverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions