-
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
Add setting to control speed of diagnostic publishing #2357
Conversation
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.
Looks just fine 👍, but let's add a few tests before we submit...
Codecov Report
@@ Coverage Diff @@
## master #2357 +/- ##
==========================================
+ Coverage 75.98% 76.13% +0.14%
==========================================
Files 309 309
Lines 14341 14341
Branches 2540 2540
==========================================
+ Hits 10897 10918 +21
+ Misses 3434 3413 -21
Partials 10 10
Continue to review full report at Codecov.
|
Tests for the delay? We'll add those to LS repo when Alex is done porting tests. |
I'm not worried about the delay, this is only a config change. Please pardon my unfamiliarity with how the LS gets it's config settings, I had assumed that VSCode-Python sets them into the LS at some point in the code. My request for tests would simply to be 'Check that the value set in the config is being sent to the LS', but perhaps that is read directly from our package by the LS itself? |
Yep, LS reads it directly. https://github.com/Microsoft/PTVS/blob/master/Python/Product/VSCode/AnalysisVsc/LanguageServer.cs#L155 |
Good to know, thanks! |
Fixes #2270
microsoft/PTVS#4612