Reputation: 75296
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)?
Upvotes: 7
Views: 771
Reputation: 3914
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
Upvotes: 5
Reputation:
Nope. But VS should highlight the most recently used option in intellisense, which is the next best thing.
Tools->Options->Text Editor->(your language)->Intellisense-> IntelliSense pre-selects most recently used member
Upvotes: 1
Reputation: 29953
Not unless the number of parameters is less than the current #1 in the list, I believe. Ic ould be wrong, though - I often am. :)
I am at a loss as to why you want this, though...
Upvotes: 0
Reputation: 41630
As far as I know, there is no way to control the order of overloads in the overload selection intellisense tip.
Upvotes: 3