Details
Details
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
Event Timeline
Comment Actions
Is there a way to only downrank them if the query does not start with _? That would cover the cases when I do want the symbols starting with underscore.
Comment Actions
This is hard for a few reasons:
- LSP's filter-in-the-editor isn't designed for this kind of case: once the server fails to return a result, it's basically gone
- a remote index now has to know the details of this scoring function (this is true of most things that are querystring-dependent)
This is a problem though. Added a couple of FIXMEs and will ponder a bit.
Comment Actions
After chatting offline: a FIXME mentioning some special cases seems enough here, we do improve the results in most cases (i.e. for queries that don't start with an underscore).
Another NIT:
Maybe we could add unittests for names that start with underscore, but are not considered reserved by our implementation?
I'm thinking about "_" and "_non_upper_case_leading_char".