Alceu Costa
Alceu Costa

Reputation: 9899

Is it possible to customize the Visual Studio autoformat?

I'm using Visual Studio to develop a C/C++ library. I would like to know if there is a way to customize the autoformat tool (Ctrl+K,F) so that:

To summarize, I want something similar to what Eclipse does with it's autoformat (Ctrl + Shift + F) that can be customized by editing a XML file.

Upvotes: 6

Views: 1256

Answers (2)

Harald Scheirich
Harald Scheirich

Reputation: 9764

If those options are not good enough for you get UniversalIndentGUI it is a frontend for a whole slew of code formatting engines, you should be able to get the style that you want from it

Upvotes: 3

AlexC
AlexC

Reputation: 1415

Tools | Options | Text Editor | C++

That is all I know that lets you edit how the code is formatted and the auto formatter uses these options (as few as they are).

Upvotes: 3

Related Questions