[clangd] Move completion signatures and labelDetails
authorSam McCall <sam.mccall@gmail.com>
Tue, 23 May 2023 20:39:55 +0000 (22:39 +0200)
committerSam McCall <sam.mccall@gmail.com>
Mon, 5 Jun 2023 16:05:18 +0000 (18:05 +0200)
commit3f9f1463719d7491768e9a224ac089c8f9baab68
treecd3c383f4096ad641b39d549ce2402562e7e5a69
parentca81808cc31074198663eb4beb904f490598d14f
[clangd] Move completion signatures and labelDetails

(When clients support it, otherwise keep the existing rendering).

In VSCode this makes the signature darker.

Differential Revision: https://reviews.llvm.org/D151253
clang-tools-extra/clangd/ClangdLSPServer.cpp
clang-tools-extra/clangd/ClangdLSPServer.h
clang-tools-extra/clangd/CodeComplete.cpp
clang-tools-extra/clangd/Protocol.cpp
clang-tools-extra/clangd/Protocol.h
clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp