We currently return an error, this causes coc.nvim and VSCode to
show an error message in the logs.
Returning empty list of completions allows to avod the error message
without altering other user-visible behavior.
Paths
| Differential D62999
[clangd] Return empty results on spurious completion triggers ClosedPublic Authored by ilya-biryukov on Jun 7 2019, 1:46 AM.
Details Summary We currently return an error, this causes coc.nvim and VSCode to Returning empty list of completions allows to avod the error message
Diff Detail
Event Timelinesammccall added inline comments.
This revision is now accepted and ready to land.Jun 7 2019, 2:13 AM ilya-biryukov retitled this revision from [clangd] Return 'RequestCancelled' on spurious completion triggers to [clangd] Return empty results on spurious completion triggers.Jun 7 2019, 9:06 AM ilya-biryukov added inline comments.
Closed by commit rL362811: [clangd] Return empty results on spurious completion triggers (authored by ibiryukov). · Explain WhyJun 7 2019, 9:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 203572 clang-tools-extra/trunk/clangd/ClangdLSPServer.cpp
clang-tools-extra/trunk/clangd/test/completion-auto-trigger.test
|