jarmond
jarmond

Reputation: 1382

Sorting included headers in Visual Studio

Is there a function, extension, or add-in that will allow me to select a block of #include directives and sort them lexicographically based on filename? (NB I'm using Visual Studio 2012 RC)

Upvotes: 2

Views: 6629

Answers (2)

user10318289
user10318289

Reputation:

Menees VS Tools 2019 referred above👆 It's a good extension but kind of bloated (mix of diverse functionality). I've found every "individual component" of it as a single extension.

As for Header file sort, I would recommend this one IncludeToolbox

Upvotes: 0

Slappy
Slappy

Reputation: 5472

After few minutes of searching I found this FREE addon: http://www.menees.com/.

I has a lot of functionality and one of it is Sort of text which can be used for sorting included headers.

Version for Visual Studio 2012: http://visualstudiogallery.msdn.microsoft.com/42de112b-3ecf-4a9e-94f0-2b5efb053aa6

For other versions (VC++6.0/20032005/2008/2010) see website (free download).

Upvotes: 2

Related Questions