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

Upgrade to latest LS protocol #2164

Merged
merged 17 commits into from
Jul 16, 2018
Merged

Upgrade to latest LS protocol #2164

merged 17 commits into from
Jul 16, 2018

Conversation

d3r3kk
Copy link

@d3r3kk d3r3kk commented Jul 16, 2018

Taken over from @MikhailArkhipov's PR #2144

Upgrade to latest LS protocol since we need new CompletionItem field

Also
Fixes #2113
Fixes #2000

@@ -42,7 +42,7 @@ export class LanguageServerDownloader {
let localTempFilePath = '';
try {
localTempFilePath = await this.downloadFile(downloadUriPrefix, enginePackageFileName, 'Downloading Microsoft Python Language Server... ');
await this.verifyDownload(localTempFilePath, platformString);
// await this.verifyDownload(localTempFilePath, platformString);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove commented code.

Copy link

@DonJayamanne DonJayamanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create a news entry for this.

@DonJayamanne
Copy link

@d3r3kk
Please use the PR template.

@d3r3kk
Copy link
Author

d3r3kk commented Jul 16, 2018

We can likely improve our vscode-mock loader to catch these problems. Added issue #2165.

@d3r3kk
Copy link
Author

d3r3kk commented Jul 16, 2018

@DonJayamanne LOL, I've just taken @MikhailArkhipov's PR and usurped it to fix the missing type in vscode-mock. I'll see if I can make some sense of what you are asking 🤷‍♂️.

@codecov
Copy link

codecov bot commented Jul 16, 2018

Codecov Report

Merging #2164 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2164      +/-   ##
==========================================
+ Coverage   79.86%   79.88%   +0.01%     
==========================================
  Files         308      308              
  Lines       14176    14167       -9     
  Branches     2520     2519       -1     
==========================================
- Hits        11322    11317       -5     
+ Misses       2842     2838       -4     
  Partials       12       12
Flag Coverage Δ
#MacOS 73.99% <ø> (+0.06%) ⬆️
#Windows 74.07% <ø> (ø) ⬆️
Impacted Files Coverage Δ
src/client/activation/languageServer.ts 26.13% <ø> (ø) ⬆️
src/client/activation/downloader.ts 25% <ø> (+0.28%) ⬆️
src/client/activation/hashVerifier.ts 5.88% <0%> (-23.53%) ⬇️
...rc/client/debugger/PythonProcessCallbackHandler.ts 68.09% <0%> (-0.33%) ⬇️
src/client/providers/jediProxy.ts 80% <0%> (+0.22%) ⬆️
src/client/debugger/Main.ts 67.16% <0%> (+0.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 20ce8f8...50da526. Read the comment docs.

- Fix linter: unused private method.

- Fix linter: unused imports
@d3r3kk
Copy link
Author

d3r3kk commented Jul 16, 2018

@DonJayamanne please have a look, I'll submit when the builds run clean.

@d3r3kk d3r3kk merged commit 543df65 into microsoft:master Jul 16, 2018
@d3r3kk d3r3kk deleted the watch branch July 16, 2018 23:05
bschley pushed a commit to bschley/vscode-python that referenced this pull request Aug 2, 2018
* LS symbol providers
* Different ready wait
* Upgrade dependencies to latest LS
* Make open files only default
* Turn off hash checks
* Fix double progress display
* Update packages
* Anchor dependencies
* Add missing mock from vscode-mock
* Downgrade pylint to < 2.0.0 to mirror prospector requirements
@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants