Tuesday, August 30, 2011

BatchFormat – Remove Unused ‘Usings’ And Format Visual Studio Document

BatchFormat – Remove Unused ‘Usings’ And Format Visual Studio Document AddictiveTipsFeatured ArticlesArchives RSSTwitterFacebookEmailYoutubeConnect With Ushost-switcher.pngHosts Switcher Lets You Switch & Reload Hosts File In…News-Item.jpgSwitchNews Brings Your Region’s News To Your Windows Phone 7HPSupportCenter01.jpgOfficial HP Support Center Client Available On The Android Marketdockview.pngDockView Adds Windows 7 Like Customizable Live Preview To Mac…clean-profiles.pngOLFix – Find And Repair Outlook Search, Contacts & Profiles… AddictiveTips NewsInternetWindowsMac OS XLinuxMS OfficeMobileHardware BatchFormat – Remove Unused ‘Usings’ And Format Visual Studio DocumentBy Usman on Aug 27 2011 Leave a comment

Do you often find it challenging to clean code file from unnecessary statements, imported snippets, functions, etc., and also to indent code, sort or remove unused Using directives in Visual Studio document? Visual Studio, just like many other software development IDEs, doesn’t provide features to clean the code file from such superfluous content, which makes it hard to not only dry run the code but visually scanning the important code modules present in document a tiresome task as well. What you probably need is a plugin which can automate the process of formatting documents without requiring you to find code format irregularities. BatchFormat is Visual Studio 2010 add-in to format document by removing and sorting different elements of any code file in current solution.

BatchFormat includes 3 options to deal with Using directives in your C # code files – Remove Unused Usings, Sort Usings, and Remove and Sort Usings. For instance, if you want to remove redundant Using directives from the code file, select Remove Unused Usings option from document right-click context menu, present in Solution Explorer, whereas, to remove unused Usings and sort others, go for Remove and Sort Usings option.

Before installing the plug-in, close all instances of Visual Studio. Once installed, it will add BatchFormat menu in Solution Explorer right-click menu. Just select the document you want to format followed by required formatting option from BatchFormat menu. The Format Document option helps you quickly indent code of current document. Other formatting options include, Format and Sort Usings in Document, and Remove & Sort Usings And Format Document.

batchformat main

BatchFormat uses Visual Studio Output console to display its process results. When you select an option from BatchFormat menu, it will display the output results underneath the main window.

output (2)

BactchFormat is an open source plugin that works on Visual Studio 2010.

Download BatchFormat

ShareTags: code, Formatting, Visual Studio 2010

Related posts

CleanProject – Remove Bin, Obj & Source Bindings From Visual Studio Project And Zip ItApply Alternating Line Color Formatting In Visual Studio 2010 Code EditorSort C# Code Structure In Visual Studio 2010 With CodeSorterHighlight All Occurrences Of Selected Text In Visual Studio 2010Locate And Filter Visual Studio 2010 Solution Files With VSSolutionFinderJoin Us on FacebookFollow us on TwitterSubscribe to our RSS FeedJoin us on FacebookSignup for Daily Newsletter Leave a comment Your email is never published nor shared. Required fields are marked *

Name * Email * Comment

You may use these HTML tags and attributes:

Join 25,000+ other readers
Daily articles in your inbox each day for free

Popular postsAndroidMarketAppv3.1.301.jpgAPK of Android Market v3.1.3 Leaked; Adds Google +1 Button,...screen_20110824_0013.pngDownload And Install Android Market 3.1.3 [Guide]Aero ColorGet Windows 8 Like Aero Color Rotation In Windows 7...dockview.pngDockView Adds Windows 7 Like Customizable Live Preview To Mac...Elixir-2-(II)-for-Android-System-Info-&-Widget-SuiteElixir 2 Brings Better System Info Tools, Widgets & Add-Ons...More in Windowsaccountstuner.pngAccounts Tuner: Advanced Security Settings For Windows User AccountsPDFill-PDF-Tools-8.0-Free-and-No-Watermark.pngPDFill PDF Tools Is A Swiss Army Knife For PDF...SpeedyFox – Speed Up/Boost Firefox Speedcsv-3.pngOpen, Edit, Modify And Export CSV To Excel With Tabular...Carroll-main.pngSet Different Screen Resolution For Each Windows User With Carroll Nobody Loves You As Much As We Do! Send Us Tips:send tipsBack to top TopicsNewsInternetWindowsMac OS XLinuxMS OfficeMobileHardwareAuthors Nakodari Usman Ali Haroon Farshad Sameed Zayed Fatima Hamza A. RehmanJOIN US ON FACEBOOKAbout AddictivetipsAt AddictiveTips we review the best software and services from around the web and routinely cover latest tips and tweaks on Windows, Mac, Linux, Android, and other platforms. more...PAGESAboutFeatured ArticlesArchivesContactDisclosurePrivacy Policy Switch to our mobile site var csDocDomain = document.location.href; document.write(unescape("%3Cscript src='" + (document.location.protocol == "https:" ? "https://sb" : "http://b")+ ".scorecardresearch.com/beacon.js' %3E%3C/script%3E")); COMSCORE.beacon({ c1:2, c2:"6035753", c3:"6035753", c4:csDocDomain, c5:"Technology - News", c6:"", c15:"" });document.write(unescape("%3Cscript src='" + (document.location.protocol == "https:" ? "https://sb" : "http://b") +".scorecardresearch.com/beacon.js' %3E%3C/script%3E"));COMSCORE.beacon({c1: 2,c2: '6036211',c3: '',c4: '',c5: '',c6: '',c15: ''});

View the original article here

No comments:

Post a Comment