clangd will populate #include insertions as addtionalEdits in completion items.
The code completion tests in ClangdServerTest will be added back in D46497.
Paths
| Differential D46676
[clangd] Remove LSP command-based #include insertion. ClosedPublic Authored by ioeric on May 10 2018, 12:20 AM.
Details Summary clangd will populate #include insertions as addtionalEdits in completion items. The code completion tests in ClangdServerTest will be added back in D46497.
Diff Detail
Event TimelineHerald added subscribers: cfe-commits, jkorous, MaskRay, klimek. · View Herald TranscriptMay 10 2018, 12:20 AM Comment Actions This LG, but we should first roll out the additionalEdits change. Comment Actions
You are right ;) I got the dependency reversed. My plan was to land this and the other patch at the "same" time. ioeric removed a child revision: D46497: [clangd] Populate #include insertions as additional edits in completion items..May 11 2018, 3:57 AM ioeric added a parent revision: D46497: [clangd] Populate #include insertions as additional edits in completion items..
Comment Actions LG when all the dependencies are done
This revision is now accepted and ready to land.May 11 2018, 7:10 AM Closed by commit rL332362: [clangd] Remove LSP command-based #include insertion. (authored by ioeric). · Explain WhyMay 15 2018, 8:27 AM This revision was automatically updated to reflect the committed changes. ioeric marked an inline comment as done.
Revision Contents
Diff 146842 clang-tools-extra/trunk/clangd/ClangdLSPServer.cpp
clang-tools-extra/trunk/clangd/ClangdServer.h
clang-tools-extra/trunk/clangd/ClangdServer.cpp
clang-tools-extra/trunk/clangd/CodeComplete.cpp
clang-tools-extra/trunk/clangd/Protocol.h
clang-tools-extra/trunk/clangd/Protocol.cpp
clang-tools-extra/trunk/test/clangd/initialize-params-invalid.test
clang-tools-extra/trunk/test/clangd/initialize-params.test
clang-tools-extra/trunk/test/clangd/insert-include.test
clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp
|