[clangd][vscode] Get rid of the deprecated vscode module in the extension.
authorHaojian Wu <hokein.wu@gmail.com>
Wed, 29 Jan 2020 12:13:45 +0000 (13:13 +0100)
committerHaojian Wu <hokein.wu@gmail.com>
Thu, 30 Jan 2020 10:36:08 +0000 (11:36 +0100)
commit9b71ec899a1554210ec66756681c047a52866d39
tree4e3d3cfa9b9b9482488a3f25f38f1ee247e8c886
parenta156a0e28df4751f812c84437321339c2eb33af3
[clangd][vscode] Get rid of the deprecated vscode module in the extension.

Summary:
The vscode module has been deprecated, and it doesn't work anymore after
we require the minimal VSCode version 1.41.0, this patch migrate to the
new @type/vscode and vscode-test modules, see
https://code.visualstudio.com/api/working-with-extensions/testing-extension#migrating-from-vscode

Reviewers: sammccall

Subscribers: dschuff, ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73624
clang-tools-extra/clangd/clients/clangd-vscode/package-lock.json
clang-tools-extra/clangd/clients/clangd-vscode/package.json
clang-tools-extra/clangd/clients/clangd-vscode/test/index.ts
clang-tools-extra/clangd/clients/clangd-vscode/test/runTest.ts [new file with mode: 0644]