Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[linked rename] Linked Editing does't work well #208276

Open
devinjohw opened this issue Mar 21, 2024 · 6 comments
Open

[linked rename] Linked Editing does't work well #208276

devinjohw opened this issue Mar 21, 2024 · 6 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-synced-region Issues related to synced region functionality in editor
Milestone

Comments

@devinjohw
Copy link

devinjohw commented Mar 21, 2024

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

  • VS Code Version: 1.87.2
  • OS Version: macOS 14.3.1 (23D60)

Steps to Reproduce:

  1. set up the linked editing option as true
  2. crate an HTML tag with one or two attributes, like <div class="main"></div>
  3. modify the name of the tag on the opening tag, you would find out that the closing tag is automatically deleted while not added automatically.
    2024-03-21 13 06 27
@gjsjohnmurray
Copy link
Contributor

/needsMoreInfo

@VSCodeTriageBot VSCodeTriageBot added the ~info-needed Issue requires more information from poster (with bot comment) label Mar 21, 2024
@VSCodeTriageBot
Copy link
Collaborator

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

@VSCodeTriageBot VSCodeTriageBot added info-needed Issue requires more information from poster and removed ~info-needed Issue requires more information from poster (with bot comment) labels Mar 21, 2024
@devinjohw
Copy link
Author

/needsMoreInfo

Sorry, I just misclicked the post button.

@gjsjohnmurray
Copy link
Contributor

/causedByExtension

@VSCodeTriageBot VSCodeTriageBot added the *caused-by-extension Issue identified to be caused by an extension label Mar 21, 2024
@devinjohw
Copy link
Author

/causedByExtension

Sorry for my misunderstood, It's indeed an issue. If there are some attributes in the opening tag, you can't delete the entire name, then change it to another one, like this.
2024-03-21 13 51 32

If you delete part of the name, it wokrs.
2024-03-21 13 49 37
If there is no attributes in the opening tags, it works perfectly whether deleting the entire name or part of the name.
2024-03-21 13 53 10
2024-03-21 13 53 30

@devinjohw devinjohw reopened this Mar 21, 2024
@gjsjohnmurray
Copy link
Contributor

gjsjohnmurray commented Mar 21, 2024

@aeschli is this your area? If not, please redirect. It also needs two labels removing.

@aeschli aeschli added editor-synced-region Issues related to synced region functionality in editor bug Issue identified by VS Code Team member as probable bug and removed *caused-by-extension Issue identified to be caused by an extension info-needed Issue requires more information from poster labels Mar 21, 2024
@aeschli aeschli added this to the Backlog milestone Mar 21, 2024
@aeschli aeschli self-assigned this Mar 21, 2024
@aeschli aeschli changed the title Linked Editing does't work well [linked rename] Linked Editing does't work well Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug editor-synced-region Issues related to synced region functionality in editor
Projects
None yet
Development

No branches or pull requests

4 participants