[PATCH] D50415: [clangd] extend the publishDiagnostics response to send back fixits to the client directly as well (if requested)

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 8 04:50:12 PDT 2018


ilya-biryukov added a comment.

+1 Sam's suggestion of configuring this during initial LSP handshake, rather than as a command-line flag.
We could put it into `ClientCapabilities` or into `initializationOptions`. The latter has type 'any' in LSP, so it seems to be most in-line with the protocol to put clangd-specific config options there, but not opposed to having this in other structs as an extension either.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D50415





More information about the cfe-commits mailing list