نوشته شده توسط
goldpower
ببین در محیط vb.net همین طور که شما کد می نویسی خودش هم اتوماتیک اونا رو مرتب می کنه . دیگه لازم نیست هیچ کار دیگه ای انجام بدی.
حالا می خوام اینجا هم به صورت پیش فرض Format Document فعال باشه.
بطور پیش فرض توی Visual 2012 هم این شکلیه،شاید جایی رو تغییر دادی. برو توی Tools بعد Options شاید توی بخش textEditor چیزی پیدا کنید. این جواب سوال یکی هست در مورد اینکه چطور میشه اینو خاموش کرد،حالا تو برعکسشو انجام بده :
You can turn off automatic C++ code formatting by going to the Options dialog from the Tools menu, selecting the Text Editor -> C/C++ -> Formatting -> General page, and unchecking all the boxes there. You'll still be able to manually format when all of the auto-formatting settings are turned off.