In Visual Studio, there is a toolbar called "class view", which is similar to "class" toolbar in SE. In SE, I can sort the data members and methods in alph order, and then in symbol toolbar, i can sort by both the "alph order" or "line number". However, I can not sort by member type, where I want all the data member in on section and method in another section.
let me give you example, if I have this class
class ABC {
private:
char * name;
int age;
float weight
public:
char * get_name();
int get_age();
int get_weigth()
int member_id;
};
Vistual studio will display this class as this in the "class view"
age
member_id
name
weight
get_age()
get_name()
get_weight()
As you can see, ALL of the the data members are on the top and the methods are on the bottom.
I know in SE, I can do a quick filter to filter out the data member or method. But what I want is to see all the data member and methods for a class but the data member in one section and method in another section in alph order. Is this possible to do is SE?
Thanks,