How to auto format code indentations in VS2012? [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . How to auto format code in VS2012 to save time typing and deleting spaces and tabs? 回答1: If you are looking to format the code as you enter the text, there are some additional settings in Tools\Options\Text Editor area. Since your example appears to be a config file (XML) look at the XML editor. Otherwise, to