Rider suggest wrong values for function params

Might be a bug but Rider keeps suggesting a variable in my class/function and adds colon after it. Is it possible to teach Rider to only suggest variables that has the same type as function has defined?

Only the second choice is a valid one:

C#

1 comment
Comment actions Permalink
Hello!
 
Thank you for your patience.

To stop unwanted suggestions you may want to try one of the scenarios below:
  1. Disable Machine Assisted Completion in Preferences > Editor > General > Code Completion. After that try completing similar case.
  2. If that does not help or Machine Learning Assisted Completion is already disabled, clearing Rider caches and filling the statistic from scratch could help you. To clear Rider caches, you need to go to File > Invalidate Caches/Restart.
If unwanted suggestion keeps appearing after actions above, please, additionally tell the exact version of Rider, so I may try reproducing this case.

Let me know if any of that scenarios will help.
0

Please sign in to leave a comment.