[PATCH] D64296: [clangd] Show documentation in hover, and fetch docs from index if needed.
Sam McCall via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 7 05:50:19 PDT 2019
sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added subscribers: llvm-commits, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: LLVM.
I assume showing docs is going to be part of structured hover rendering, but
it's unclear whether that's going to make clangd 9 so this is low-hanging fruit.
(Also fixes a bug uncovered in FormattedString's plain text output: need blank
lines when text follows codeblocks)
Repository:
rL LLVM
https://reviews.llvm.org/D64296
Files:
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/FormattedString.cpp
clang-tools-extra/clangd/XRefs.cpp
clang-tools-extra/clangd/XRefs.h
clang-tools-extra/clangd/unittests/FormattedStringTests.cpp
clang-tools-extra/clangd/unittests/XRefsTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64296.208291.patch
Type: text/x-patch
Size: 12771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190707/65b95385/attachment.bin>
More information about the llvm-commits
mailing list