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.


CodeMaid Cleaning

Code Cleaning

Cleanup random white space into a simple standard order. Add unspecified access modifiers. Utilize Visual Studio’s built-in formatting capabilities. Remove and sort using statements. And do it all automatically on save or on demand, from an individual file to the entire solution.

Code Digging

Visualize and navigate through the contents of your C# and C++ files from a tree view hierarchy. Quickly switch between different sorting methods to get a better overview. Drag and drop to reorganize the code. See McCabe complexity scores and informative tooltips.

CodeMaid Digging

CodeMaid Reorganizing

Code Reorganizing

Reorganize the layout of members in a C# file to follow Microsoft’s StyleCop convention, or your own preferences. Automatically generate regions to match. Run on demand or automatically during cleanup.

Comment Formatting

Format comments to wrap at a specified column and arrange tags on separate lines. Run on demand or automatically during cleanup.

CodeMaid Formatting

CodeMaid Joining


Join two adjacent lines, or a highlighted section of code onto a single line.

CodeMaid Collapsing


Recursively collapse nodes or the entire tree in the solution explorer window.

CodeMaid Configuring


Enable, modify or disable many of the aspects of how CodeMaid does its work.

CodeMaid Sorting


Sort a highlighted section of code alphabetically.

CodeMaid Progressing


View the overall progress of a build within Visual Studio, or in the Windows taskbar, both with a green/red status indication.

CodeMaid Toggling


Toggle read-only state of files without jumping into the windows explorer.

CodeMaid Finding


Find the current file in the solution explorer window.

CodeMaid Switching


Switch between related files, such as cpp and header files or xaml and code-behind.

CodeMaid and more

and More!

Remove regions, close read-only files, etc.

Comments are closed.