Some LSP clients (e.g. Sublime Text) assume that the label and the completion trigger have a common
prefix. This assumption is broken by prepending a space or dot in front of the label, depending
on wether we're inserting an #include <...> text edit or not. This change allows to clear the
prepended characters in the label.
Details
Details
- Reviewers
sammccall ilya-biryukov ioeric
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
- Build Status
Buildable 20827 Build 20827: arc lint + arc unit
Event Timeline
Comment Actions
Makes sense, thanks!
clangd/tool/ClangdMain.cpp | ||
---|---|---|
161 | Please invert the sense of this to avoid a double negative: "header-insert-decorators" with default true. Consider insert->insertion, because currently is not clear whether to read as (header (insert decorators)) or as ((header insert) decorators). |
Comment Actions
Oh... I should have used arc land instead of svn commit. Here's the commit: https://reviews.llvm.org/rCTE338223
Please invert the sense of this to avoid a double negative: "header-insert-decorators" with default true.
Consider insert->insertion, because currently is not clear whether to read as (header (insert decorators)) or as ((header insert) decorators).