Confirmation or disable the Find All in All Opened Documents
-
I tend to have a lot of 150mb text files open at any given time. Multiple versions, flavors, etc. I basically only ever do Find all in Current Document. Since the Find all in All Openened Documents button is right next to it, I sometimes accidentally hit it and then get stuck waiting ages for it to search all the files, especially if it’s a complex regex.
Is there any way for me to disable the button? Or even have a popup after pressing that asks if I’m sure I want to do that? Even when I need to look at another file for the same thing, it’s usually 1 or two other files, not 10+, so it’s easier to go document by document.
-
There isn’t a way to disable the button.
A popup would annoy many users who intentionally hit Find All in All Opened Documents
A workaround would be to use
Alt+Dinstead of clicking the button, because that’s the default accelerator for that button. SinceDis nowhere nearOon the standard US QWERTY keyboard, the chances of accidentally doing all-opened-docs is near 0.The Find in Files has a progress dialog with a cancel action. I think it might be a good idea to put in a feature request to have them use that same progress dialog for Find All in All Opened Documents, which would then enable someone (you) to cancel the request if it’s accidentally clicked, or if you decide it’s taking too long. But, as the feature request FAQ explains, make sure to search open and closed issues for similar requests, and don’t create a new request if one already exists – instead, comment on the existing request.
Update: I just remembered: I think that progress bar for FiF was possible because it’s possible to background a search-through-disk-file action. I know that a single-file search cannot currently have the progress dialog because the underlying search library doesn’t allow you to hook in a process-tracker. The find-in-all-open wouldn’t be able to track inside an individual file because of that limitation, but it might be able to check for cancel between files.
If you do create (or find and comment on) such a feature request, make sure to come back here and paste the link, so people can easily watch to see if it’s ever implemented.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login