[PATCH] D37101: [clangd] [WIP] Add support for snippet completions
Raoul Wols via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 24 13:58:53 PDT 2017
rwols updated this revision to Diff 112609.
rwols added a comment.
[clangd] [WIP] Add support for snippet completions
- Restore the sortText logic
- Return CompletionItem instead of modifying a ref param
- Make all helper methods const
- Only set to Snippet once we encounter CK_Placeholder/CK_CurrentParameter
- More clear annotation handling
- Escape any $, } and \ for a snippet
https://reviews.llvm.org/D37101
Files:
clangd/ClangdUnit.cpp
clangd/Protocol.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37101.112609.patch
Type: text/x-patch
Size: 9799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170824/5e6ee67b/attachment.bin>
More information about the cfe-commits
mailing list