SUMMARY STEPS TO REPRODUCE 1. Open the "Find/Replace in Files" dialog 2. Do a search in a directory containing many files OBSERVED RESULT KDevelop spends a significant amount of time on "Collecting files..." depending on how many files are in the directory, around 5 seconds in my project which really adds up and becomes annoying when you do searches as often as I do. EXPECTED RESULT This is a relatively recent issue, It used to produce results nearly instantly in prior versions (specific versions unknown) SOFTWARE/OS VERSIONS Linux: 5.14.14 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2
Do you add all in-tree build directories into the Exclude field of this dialog? Recent commit https://commits.kde.org/kdevelop/66e4f3b3847dfab6c4f9c4f9ad2488611384b677 included hidden files and directories, so you may want to exclude some of those too.
Ah, thanks for the pointer. It was indeed related to a very large hidden directory, which explains why it just started happening a while ago. My apologies, it never occurred to me to check that.