aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/diagnostics.rs
diff options
context:
space:
mode:
authorIceSentry <[email protected]>2020-04-08 22:48:16 +0100
committerIceSentry <[email protected]>2020-04-08 22:48:16 +0100
commit2a582b78a5f9c1fa908fe5f4c9ff4ab2966adb2e (patch)
treedbafffe37940a2a641abc338c1a6139120717f1a /crates/ra_hir/src/diagnostics.rs
parent779555c1beac90f633c01a773558c4007c99c97f (diff)
Add more heuristics for hiding obvious param hints
This will now hide "value", "pat", "rhs" and "other" These words were selected from the std because they are used in common functions with only a single param and are obvious by their use. I think it would be good to also hide "bytes" if the type is `[u8; n]` but I'm not sure how to get the param type signature It will also hide the hint if the passed param starts or end with the param_name
Diffstat (limited to 'crates/ra_hir/src/diagnostics.rs')
0 files changed, 0 insertions, 0 deletions