Skip to content
New issue

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

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

Already on GitHub? # to your account

Find & Replace doesn't finish #359

Open
ryanb opened this issue Jun 9, 2023 · 0 comments
Open

Find & Replace doesn't finish #359

ryanb opened this issue Jun 9, 2023 · 0 comments

Comments

@ryanb
Copy link
Contributor

ryanb commented Jun 9, 2023

If I do Find & Replace on a large project, it sometimes misses replacing some of the matches. When I disable the Syntax Tree extension it works without issue.

My theory is VS Code is formatting the file after each replace and there's a race condition causing the formatted code to override the following replacement in the same file. I can do more testing to verify this if needed.

I haven't noticed this with other formatters such as Prettier.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant