How to show parameter info on demand?
VS 2022 17.8
ReSharper 2023.2.3
In ReSharper options, in Environment > Intellisense > Parameter Info, I have disabled "Automatically show parameter info."
Is there a hotkey to show it on demand when the cursor is inside a method, after opening parentheses?
Please sign in to leave a comment.
Hello bea mar , thank you for your question. Yes, you can use the following shortcuts: “Ctrl+P” if you are using shortcut IntelliJ IDEA scheme or “Ctrl+Shift+Space” if you are using Visual Studio scheme. Please let me know if you have any questions. Thank you!
When I turned off ReSharper > Options > IntelliSense > Autopopup checkbox, then pressing Ctrl+Shift+Space indeed shows Parameter Info inside brackets.
But I normally have the Autopopup turned on. In such case, inside brackets, the Autopopup is displayed as expected. Pressing Ctrl key makes the Autopopup almost transparent. Releasing Ctrl makes it opaque again. But presing the Ctrl+Shift+Space hotkey does nothing more than just Ctrl key (making Autopopup transparent). Parameter Info is not displayed.
[Edit]
And by the way, when the Environment > Intellisense > Parameter Info is turned on, both popups are displayed automatically, the Parameter Info is higher than the Autopopup. But they both occupy too much screen space, that's why I needed to turn off one of them.
I know that for Parameter Info there is option to limit the number of candidates to 1 and then it occupies less space and could be turned on together with Autopopup. However, the "Switch between signatures" option does not work (which is potentially a separate issue) so I prefer to see more candidates at once to make use of it.
bea mar , thanks for the detailed description of the problem. It looks like it is impossible to show the Parameter info and to switch between signatures if the completion is shown. I've submitted a new issue to our bug tracker regarding the shortcut and switching between signatures. Please comment or vote for them to be notified about status changes. If you have any questions, please let me know. Thank you!