Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ReSharper's autocompletion bug?

I'm trying to call a method with many parameters in vs2008. Resharper's (v5) intellisense shows only few of them and then "Use smart Completion to see all". OK, I'm pressinf Ctrl+Shift+Space - and after that he shows some stupid suggestions like "String.Concat, String.Copy...", but I want to see as usual what name and type of parameter I need to pass into the method.

How can I avoid this?

like image 435
Timur Sadykov Avatar asked Oct 21 '10 15:10

Timur Sadykov


2 Answers

I also get the same message "Use smart Completion to see all" when I should be seeing all the options.

My Resharper settings are a little bit flaky. I am using Visual Studio keyboard scheme with several Resharper overrides.

If you press Ctrl+Space , when entering parameter values, it will show you all the options.

like image 129
Oxon Avatar answered Nov 13 '22 09:11

Oxon


For me, the shortcut is CTRL-P. If that doesn't work for you, go to Tools | Options | Environment | Keyboard, and search for "ReSharper.ReSharper_ParameterInfo_Show" and give it whatever keybinding you like.

Incidentally, CTRL-SHIFT-Space is for "smart completion" which helps you discover local variables/fields/etc. that are applicable at the current context. This is very useful when you have something like this:

string s = _

Where your cursor is at _. Now, using smart completion, it will return a list that only contains string variables/fields/etc.

like image 24
Kirk Woll Avatar answered Nov 13 '22 08:11

Kirk Woll