Reputation: 67
For example i've been created a struct
struct man
{
public int age;
public bool sex;
public float growth;
}
And when in code I'm start typing something like this:
static void GetSex(man Joe)
{
int age = Joe.
}
It gives me variants sorted by name. Like this
age
growth
sex
But how can I make visual studio not to sort by name? And give list like this
age
sex
growth
Like I wrote it in order i want.
Upvotes: 1
Views: 1311
Reputation: 66449
What you're seeing is the Visual Studio "IntelliSense" feature. You can find settings for it under the "Tools / Options" menu, but there are very few.
You can choose what displays in the list, which key(s) selects the highlighted item, and how the first highlighted item is selected, but there's nothing available that would allow you to reorder the items.
Upvotes: 2