diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-09 08:50:19 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-09 08:50:19 +0000 |
commit | 30062da6284052deac04c759540f81d5b326689c (patch) | |
tree | 12f56d863263283c42d20fd337957d3980e5481b /crates/ra_hir_expand/src/db.rs | |
parent | 0363c9495a6a07db276dce4c67fa35fbfc20153c (diff) | |
parent | 05e1c7b1972a87abe6d352b5d0cd8a58e2b7adc7 (diff) |
Merge #3516
3516: Handle visibility in more cases in completion r=matklad a=flodiebold
This means we don't show private items when completing paths or method calls.
We might want to show private items if we can edit their definition and provide a "make public" assist, but I feel like we'd need better sorting of completion items for that, so they can be not shown or sorted to the bottom by default. Until then, they're usually more of a distraction to me.
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_hir_expand/src/db.rs')
0 files changed, 0 insertions, 0 deletions