[clangd] Send suppported codeActionKinds to the client.
authorHaojian Wu <hokein@google.com>
Thu, 22 Aug 2019 14:53:45 +0000 (14:53 +0000)
committerHaojian Wu <hokein@google.com>
Thu, 22 Aug 2019 14:53:45 +0000 (14:53 +0000)
commit08d93f1ed3b65d962552e5b3b9a288078a0b740e
tree8534d5e7c374bbe2ae4efd656e0013662c3879b4
parentb17d6c52fd4eaa5ae26b1ec5eea642d6d933ee37
[clangd] Send suppported codeActionKinds to the client.

Summary:
This would make client know which codeActionKinds that clangd may
return.

VSCode will add a new entry "Refactor..." (which shows all
refactoring-kind code actions) in the right-click menu.

Reviewers: ilya-biryukov

Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D66592

llvm-svn: 369656
clang-tools-extra/clangd/ClangdLSPServer.cpp