Add setting to control speed of diagnostic publishing#2357
Conversation
d3r3kk
left a comment
There was a problem hiding this comment.
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