-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Improper progress during search #4508
Comments
@jrieken can you zip the workspace and attach and include your settings? |
unsure if that is needed: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/search/browser/searchViewlet.ts#L1405 tho, it is the workspace described here: microsoft/TypeScript#7444 |
@jrieken the progress is only fake until I know how many files to search. since file walking can take forever, and I still want to show something, there can be cases where the fake progress goes to 90% and only then a lot of more files are discovered. There is really no good way of showing real progress without knowing the number of files to search in upfront (e.g. an index would help). |
I wonder if we should show the infinite progress as long as we don't know how many files there are? |
Yeah, that could work. |
Actually I notice that 2 files in this workspace are very large (> 6 MB) and essentially the search is really busy processing those 2 files in the end and the file based progress is correct. I pushed a change to adjust the progress based on the size of the file. Let me know how it goes. |
See attached gif, the progress bar quickly goes to ~90% and then takes a long while until it reaches 100%.
The text was updated successfully, but these errors were encountered: