-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
"Select All Occurrences" is not selecting all of matches in large files (stops at 1000) #7201
Comments
I've been experiencing the same. I think I noticed it in past verions, but recently needed to do this again several times while throwing together some quick and dirty mock data and am seeing the same behavior at exatly 1000 cursors.
Steps to Reproduce: Open a file like... Say, for instance, I wanted to update all the JSON objects in an array all at once by replacing
At first all instances of Since the first cursor was removed leaving 999, you can continue to type without a problem. |
I am not sure if my problem is related, but a very similar issue exists with regular serach&replace (Ctrl+H) when combined with regular expression matching.
|
#496 this bug really exists in a long period. Hope can be fixed soon. |
Line 173 of findModel.ts references a "MATCHES_LIMIT", that is a constant, set on line 70 of the same file. This appears to be the root of the problem... Edit: Also, it appears that the Find All Occurrences action is leveraginig the findMatches method, as opposed to the more through findAllMatches, this may be worth investigating also. |
Duplicate of #5887 |
Steps to Reproduce:
The quick brown fox jumps over the lazy dog
quick
quick
to sayslow
The text was updated successfully, but these errors were encountered: