[PATCH] D125228: [clangd] Support for standard inlayHint protocol

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 10 07:17:04 PDT 2022


kadircet updated this revision to Diff 428368.
kadircet marked 9 inline comments as done.
kadircet added a comment.

- Get rid of warning and not advertising when client has capability.
- Introduce paddingLeft/paddingRight, get rid of leading/trailing spaces in label, but re-introduce them when serializing for extension.
- Update documentation to reflect LSP docs.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125228/new/

https://reviews.llvm.org/D125228

Files:
  clang-tools-extra/clangd/ClangdLSPServer.cpp
  clang-tools-extra/clangd/ClangdLSPServer.h
  clang-tools-extra/clangd/InlayHints.cpp
  clang-tools-extra/clangd/Protocol.cpp
  clang-tools-extra/clangd/Protocol.h
  clang-tools-extra/clangd/test/inlayHints.test
  clang-tools-extra/clangd/unittests/InlayHintTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125228.428368.patch
Type: text/x-patch
Size: 16277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220510/ad44596e/attachment-0001.bin>


More information about the cfe-commits mailing list