-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Find and replace does not replace correctly when replacing many occurrences #32137
Comments
Considering it's multi file, pass to @roblourens |
Does it only happen in certain files, or randomly? Is there something different about the places where it happens - very long lines, non-utf8 encoding? |
It seems to happen randomly, we were trying to replace using statements in C# files created by the full blown Visual Studio. I guess these lines were around 50 characters each. |
Any updates on this? |
I haven't been able to repro it. Will have to investigate some more. Have you tried with 1.15? |
No, that's not related. @TomGroeneboer Based on your description I think it's actually #35633 - affecting files encoded with a UTF8 BOM, and matches on the first line. That's now fixed in insiders. |
When trying to find & replace many occurrences at once, the value that is put in does not seem right.
E.g. if I try to replace 'Code.Abstractions' with 'MoreCode.Abstractions' at 500 occurrences in 100 files (or 4000 occurrences in 1200 files, does not matter), some occurrences (maybe 30-50) end up with 'CCode.Abstractions' or 'CodeAbstractions'. This seems to happen every time I try to mass replace a value.
Steps to Reproduce:
Reproduces without extensions: Yes
If you need any further information, please let me know!
The text was updated successfully, but these errors were encountered: