How to get parameter hints/completion in Visual Studio?
autocomplete, c#, intellisense, visual-studio-2012
Solution
You can use:
Ctrl+Shift+Space. This brings up the argument list for a method your cursor is currently in.
Example:
Pressing Ctrl+Shift+Space with the cursor after `"a",` results in:
You can check this is properly assigned in the keyboard settings, as `Edit.ParameterInfo`:
Problem
I usually use Eclipse for coding, which has a pretty nice parameters completion feature: when you are calling a method, just after you typed (, it will show you the list of parameters, and highlight where you are as you type: How can I get similar help in Visual Studio 2012? I know that Ctrl + K, Ctrl + I shows some info about what your cursor currently highlights, but it doesn't work if you already have started typing something. If I type `MyMethod(arg1,` and then hit the shortcut (or any other, such as Ctrl + Space or Ctrl + Shift + Space), I don't get anything useful.