Details
Details
- Reviewers
sammccall - Commits
- rGa4cf26b499fd: [clangd] Penalize file-scope symbols in the ranking for non-completion queries
rL352868: [clangd] Penalize file-scope symbols in the ranking for non-completion queries
rCTE352868: [clangd] Penalize file-scope symbols in the ranking for non-completion queries
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
Event Timeline
clang-tools-extra/clangd/Quality.cpp | ||
---|---|---|
289 ↗ | (On Diff #181487) | (needs update after I inverted this flag to VisibleOutsideFile, sorry!) |
385 ↗ | (On Diff #181487) | I'd suggest being a bit more aggressive here: 0.5 or 0.4. Just guessing though, up to you. |
clang-tools-extra/unittests/clangd/QualityTests.cpp | ||
104 ↗ | (On Diff #181487) | can you add a main-file symbol here, and verify the scope property gets set on the SymbolRelevanceSignals correctly? |