-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Provide LS analysis progress display in the status bar #2099
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2099 +/- ##
==========================================
+ Coverage 79.4% 79.85% +0.45%
==========================================
Files 307 308 +1
Lines 14083 14106 +23
Branches 2499 2502 +3
==========================================
+ Hits 11183 11265 +82
+ Misses 2888 2829 -59
Partials 12 12
Continue to review full report at Codecov.
|
I can't seem to find it in your set of changes, what is the message you are presenting to users? Should be something like "Loading IntelliSense results..." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks just fine, simple reporting of progress through the window status areas and all that.
However, I could not find any tests (unit or otherwise) that pertain to this change, nor to the language server setup at all.
I think it would be prudent to put in at least some unit tests around the AnalysisExtensionActivator, if not some system testing. Don's provided us with some good mock items from vscode if that helps.
@qubitron - it looks like |
@d3r3kk - they are under src/test/activation. LS setup is covered by LS tests ex Yes, there are some gaps, specifically around downloader and general LS message traffic simulation. The latter is much harder to do due to the fact code works directly with progress module and the file system. A bit too much to abstract atm. |
Ok, I didn't realize there was coverage in place, so I am glad to hear it is there. Testing the message queue is less important to me than the language server setup/etc. |
Fixes #1591
Also fixes issue when LS extension loading failed b/c occasionally
languageClient.onReady()
never fires.This pull request: