This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Use more relaxed fuzzy-matching rules for local variables and class members.
Needs ReviewPublic

Authored by sammccall on May 3 2019, 5:21 AM.

Details

Reviewers
ilya-biryukov
Summary

I think the actual rules implemented here are probably *too* relaxed, and we
should require the first character to match the start of a word segment.
But I'm not sure and this was easier to write, will try it out.

Event Timeline

sammccall created this revision.May 3 2019, 5:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2019, 5:21 AM

With two modes of operation, could inconsistencies between the client-side and the server-side filtering become more/less of an issue?
Is it true that the clients (VSCode, etc) do something closer to Lax mode?

Another fair question is: how much should we care about client-side and server-side filtering consistencty in the first place?