[clangd-dev] textDocument/onTypeFormatting and live indentation.
Alex L via clangd-dev
clangd-dev at lists.llvm.org
Thu Sep 6 11:27:37 PDT 2018
I would like to implement clang-format aware newline indentation in Clangd.
It looks like Clangd only supports '}' trigger character for the
'onTypeFormatting' request. Would it make sense to extend it to support the
newline character, and to insert appropriate indentation instead of
reformatting the range in that case?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the clangd-dev