You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Don't show parameter name hints when they coincide with argument names #14447
So what should it do in the example with TypeCheckInfo? Just show _sTcConfig = and g =? Should there be a special case when some parameters are named the same and a vertical layout like that is used?
We do a bunch of heuristics like this in FSAC that are inspired by rust-analyzer. Check out ionide/FsAutoComplete#932 and ionide/FsAutoComplete#935 for the complete set, but we do prefix/postfix matching, length minimums, etc, that include some of what you're talking about here.
Activity
0101 commentedon Dec 7, 2022
So what should it do in the example with
TypeCheckInfo? Just show_sTcConfig =andg =? Should there be a special case when some parameters are named the same and a vertical layout like that is used?baronfel commentedon Dec 7, 2022
We do a bunch of heuristics like this in FSAC that are inspired by rust-analyzer. Check out ionide/FsAutoComplete#932 and ionide/FsAutoComplete#935 for the complete set, but we do prefix/postfix matching, length minimums, etc, that include some of what you're talking about here.
psfinaki commentedon Dec 7, 2022
Well I would be probably fine starting dumb, like just looking for a 100% match, so yeah it would be
_sTcConfig =andg =in the example above.But I don't have a strong opinion, just noticed this C# behavior and decided to open a discussion on this.