aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/lexer/ok/0005_symbols.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-09 19:07:28 +0100
committerGitHub <[email protected]>2020-04-09 19:07:28 +0100
commit9635d8bc44cf58875e97e9e77c3426f746ab7007 (patch)
tree09c5242d219f8a289936318d85b4daad8d2ae50b /crates/ra_syntax/test_data/lexer/ok/0005_symbols.rs
parentdde9488559514e7d039cec9407e1f8627f665cd0 (diff)
parentebc61709c86a9bfceafecc0b6ed9cc4f4624e0fe (diff)
Merge #3901
3901: Add more heuristics for hiding obvious param hints r=matklad a=IceSentry This will now hide `value`, `pat`, `rhs` and `other`. These words were selected from the std because they are used in commonly used functions with only a single param and are obvious by their use. It will also hide the hint if the passed param **starts** or end with the param_name. Maybe we could also split on '_' and check if one of the string is the param_name. 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. Closes #3900 Co-authored-by: IceSentry <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/lexer/ok/0005_symbols.rs')
0 files changed, 0 insertions, 0 deletions