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 "phan parsing..." text in the status bar. #66

Open
9brada6 opened this issue Aug 9, 2019 · 1 comment
Open

Add a "phan parsing..." text in the status bar. #66

9brada6 opened this issue Aug 9, 2019 · 1 comment

Comments

@9brada6
Copy link

9brada6 commented Aug 9, 2019

Hi... my project takes about 10-15 seconds to be parsed by phan... It will be very nice if there was an indicator in status bar that will say when the phan is parsing(like PHP Sniffer: validating... ).

Thanks.

@TysonAndre
Copy link
Owner

https://github.com/phan/phan/wiki/Speeding-up-Phan-Analysis may be of help if you haven't seen it yet.

To do this, I'd probably need to:

  • Add some custom event type to notify the language client that phan was still parsing (and didn't crash), and what percentage progress was made. Emit it every second or so.
  • Find out what API to call in vs code to update the status bar

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

2 participants