NArrange - organize your code effortlessly
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-cCiJph4FqEcUXGaa7ebDmTqS-JjPEeHjoPle3RSM2DJHB3DXmr_9e9ZT8FQ28Kn0XxnHmflZAwtRl67JulpsR79bhQOG7qWynLk4wXw3JYw7N3byfqoUcJFVYXXXF8jYM9UoD_ztXDP1/s400/ExternalTools.png)
The second thing I do( this is the first ) with a new install of Visual Studio is I head over to http://www.narrange.net/download.aspx and download the latest version of NArrange. NArrange is an open source .NET code organizer/formatter/beautifier. After downloading and installing(and noting the folder where the exe is installed) the NArrange setup.msi, I go into my new install of Visual Studio and click on Tools and select External Tools . This opens the External Tools dialogue. Click Add and in the Title field I put "NArrange" and beside the Command field I click the ... (browse) button and go to the folder where I installed NArrange and select the narrange-console.exe file. For Arguments I like to only do one file at a time as I'm working so I set it to $(ItemFileName)$(ItemExt) /b and the Initial directory to $(ItemDir). The /b causes a back up of the file before NArrange makes it's changes, this is necessary to do the restore command below. The