Skip to content
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

Add a progress indicator while scanning files? #2718

Closed
TysonAndre opened this issue Jan 30, 2020 · 1 comment
Closed

Add a progress indicator while scanning files? #2718

TysonAndre opened this issue Jan 30, 2020 · 1 comment

Comments

@TysonAndre
Copy link
Contributor

In a project with many files (and 1 scan thread(process)), there is a long time between scanning and analyzing

Scanning files...
(10 seconds later) Analyzing files...

It might help to show some indication psalm is actively scanning.

(e.g. show a single character with a spinner / - \ |, rate limited to once per 0.x times per second, at the time when a new file gets scanned)

Then overwrite the character with Analyzing files...

Estimating the percentage process and showing a progress bar may also be possible (e.g. cache the total number of files that were scanned last run in the cache dir)

@weirdan
Copy link
Collaborator

weirdan commented Feb 9, 2024

Implemented in #10345

@weirdan weirdan closed this as completed Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants