In a form, I added an overload of ShowDialog(). In Visual Studio, this overload shows up in Intellisense as the third version. How can I make my overloaded function appear as #1 (i.e. the default)?
9.2 in Tools>Options>Text Editor>C#>IntelliSense there's a checkbox called 'Automatically show completion list in argument lists (experimental)'. If you uncheck that, the default behaviour of the up/down arrows scrolling through the overloads returns.
IntelliSense is a code-completion aid that includes a number of features: List Members, Parameter Info, Quick Info, and Complete Word. These features help you to learn more about the code you're using, keep track of the parameters you're typing, and add calls to properties and methods with only a few keystrokes.
The suggestion list of Basic completion appears when you press the default Visual Studio IntelliSense shortcut Ctrl+Space .
You should use a plugin for that: one that accomplishes the required task is the Visual Assist from Tomato - http://www.wholetomato.com/
It does exactly what you want(among the other options): display the non-inherited members on the top of the suggestion list and(or) makes them bold
As far as I know, there is no way to control the order of overloads in the overload selection intellisense tip.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With