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

Markdown: Fixing spelling issues in Header sections changes the entire line #1987

Closed
Jason3S opened this issue Jun 3, 2022 · 1 comment · Fixed by #1993
Closed

Markdown: Fixing spelling issues in Header sections changes the entire line #1987

Jason3S opened this issue Jun 3, 2022 · 1 comment · Fixed by #1993

Comments

@Jason3S
Copy link
Collaborator

Jason3S commented Jun 3, 2022

If there is a misspelling in a Header:
image

Fixing it using the code action:
image

Results in the entire Header being changed.
image

The issue is due to changes in the VS Code Rename Provider.

Workaround:

settings.json

"[markdown]": {
    "cSpell.fixSpellingWithRenameProvider": false
}
Jason3S added a commit that referenced this issue Jun 7, 2022
* fix: Add a workaround for issue with Markdown Rename
   fix: #1987
* Adjust text before rename to workaround [Markdown: Rename Provider behaves unexpectedly (regression) · Issue #151190 · microsoft/vscode](microsoft/vscode#151190)
@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant