[PATCH] D62298: [CodeComplete] Filter override completions by function name
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 23 07:57:44 PDT 2019
ilya-biryukov added a comment.
Summarizing the offline discussion, the final results we want in the long run is a completion item of the form:
- Displayed to the user: `override foo(int a, int b)`
- Inserted into the editor: `return_type foo(int a, int b) override`
- Filtered by `override foo` (that allows to filter with `override` or `foo`, giving reasonably good ranking)
It's **almost** possible to achieve this with the current abstractions, but we don't have completion string chunks that are printed but not shown to the user (we need those for `return_type` and `override` at the of the completion label).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62298/new/
https://reviews.llvm.org/D62298
More information about the cfe-commits
mailing list