BUG: Type keywords not suggested in generic type parameters (R# 2021.1) Follow
Given the following class:
static class Generics
private static Action<T1, T2, T3> Create<T1, T2, T3)() => null;
private static readonly Action<int, int, string> fn = Create<...
Auto-complete will happily suggest the C# type keywords for all three parameters on the variable declaration.
But when completing the parameters for the method call, only the first parameter will include the type keywords:
The second and third parameters do not include the type keywords in the auto-complete list, even if I type the complete keyword:
I am forced to hit "Escape" to dismiss the auto-complete list every single time; otherwise, R# replaces the type keyword which I have typed out with the first CLR type name in the list as soon as I type ",":
This was not happening in 2020.3.
JetBrains ReSharper 2021.1 Build 211.0.20210404.90818 built on 2021-04-04
Please sign in to leave a comment.
Please accept apologies that haven't replied earlier to your post.
I've created the corresponding request - https://youtrack.jetbrains.com/issue/RSRP-484042.
Though the behavior is a bit different for me:
1. The first int appears in the list as the first completion item. The issue happens with the second and third parameters.
2. I could reproduce the same behavior in ReSharper 2020.3.
Please let me know if I'm missing something.
The issue happening with the second and third parameters only matches my description. :)
Maybe the problem was introduced earlier than I thought.