Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I sort method implementations according to their declaration order

Is there any Visual Studio 2008 add-in or macros to sort method implementations in .cpp file according to the order of their declarations in .h file? EDIT: any recent Visual Studio (2010, 2013, 2015, 2017, 2019)

like image 745
cos Avatar asked Feb 13 '12 12:02

cos


1 Answers

Although not a tool as the submitter asked for.... i personally collapse all function bodies (CTRL+M+O) and then manually order them...

but again VA allows you to look for methods by alphabetic order in their drop down text editor control

like image 109
NirMH Avatar answered Sep 26 '22 02:09

NirMH