[PATCH] D39882: [clangd] Filter completion results by fuzzy-matching identifiers.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 9 16:58:40 PST 2017

sammccall created this revision.

This allows us to limit the number of results we return and still allow them
to be surfaced by refining a query (https://reviews.llvm.org/D39852).

The initial algorithm is very conservative - it accepts a completion if the
filter is any case-insensitive sub-sequence. It does not attempt to rank items
based on match quality.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39882.122374.patch
Type: text/x-patch
Size: 4569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171110/8e37638f/attachment.bin>

More information about the cfe-commits mailing list