If you have been writing software for any length of time, you have almost certainly found yourself staring at a source file where you have made a mess. It had been nice and organized, but then you needed to add a feature. you wrote your tests and implemented the code. Your application is running as fast and smooth as a BMW on the Autobahn. But all of your changes have left the code as disheveled as the hair of a teenager just getting out of bed.
CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C, F#, VB, PHP, PowerShell, R, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding. Currently supports VS2017 and VS2019. For Visual Studio 2012/2013/2015, the last supported version is v10.6. For Visual Studio 2010, the last supported.
You need to go back through and format the code, remove the extra blank lines, and so on. This would be time-consuming to do by hand. This is where the Visual Studio extension named CodeMaid comes in. It removes unnecessary blank lines, removes end of line whitespace, runs the Visual Studio formatter, and other things that improve your code.
It also gives you a new visualization of the source file in the CodeMaid Spade tool. One of the nicest features of CodeMaid is that this tool allows you to drag a drop members within the source file. This allows you to quickly arrange the methods, properties, and fields into an order that makes sense.
In this gif, you can see that by dragging and dropping a property in CodeMaid Spade, the property is moved in the code file. This works for functions as well.
In the interest of full disclosure, I should say that the author of this tool, codecadwallader, is a long time friend of mine. That certainly makes me look at the tool through rose colored glasses. However, I have been using this tool ever since it was created about 10 years ago and I have benefited from it time and time again.
There are a large number of other things CodeMaid can do to clean your code. You can see the on the CodeMaid site. But the greatness of CodeMaid doesn’t come from it’s large number of features, it is that it does one thing really well, that is it cleans your code. And that is something that we all end up doing on a regular basis.
CodeMaid VS NDepend is a Visual Studio and VS Team Services extension that estimates your.NET code quality and Technical-Debt, that lets create code rules with C# LINQ syntax, visualize code structure and focus on changes and evolution. CodeMaid An open source visual studio extension to cleanup, dig through and simplify our code An open source Visual Studio extension to cleanup and simplify C#, C, F#, VB, PHP, PowerShell, R, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding. Go Straight to the Source. CodeMaid does not cause any performance problems because it does most of its heavy-lifting on-demand (e.g., when you ask it to cleanup a file). Resharper seems to always be calculating something in the background:) level 2 3 points 6 years ago.
Comments Section
Codemaid Complexity
Feel free to comment on the post but keep it clean and on topic.
Please enable JavaScript to view the comments powered by Disqus.comments powered by DisqusAbout Me
My name is Eric Potter. I have an amazing wife and 5 wonderful children. I am a Microsoft MVP for .Net. I am a software architect for Aptera Software in Ft. Wayne Indiana and an adjunct professor for Indiana Tech. I am a humble toolsmith.
pottereric.github.com
Best Extension For Visual Studio
funmakeProjectsArduinoGeneralBooksSoftware CraftsmanshipCSharpScriptCSRoslynretroCanopyVisual StudioswiftFSharpExtensionsAureliaDesign PatternsConferencesPatternMatchingNetStandardFlowCosmosDBNDependAzureFunctionsCognitiveServicesNintacoVBNetCognitiveServiesTypeScriptObject Oriented DesignHumilityUnit TestsDotNet5C#C#9