codecadwallader / codemaid

CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
http://www.codemaid.net
GNU Lesser General Public License v3.0
1.92k stars 363 forks source link
c-sharp clean-code dotnet visual-studio vsix

codemaid.net
For more details, please visit: https://www.codemaid.net

Currently supports VS2019 and VS2022.

For Visual Studio 2017, the last supported version is v11.2.

For Visual Studio 2012/2013/2015, the last supported version is v10.6.

For Visual Studio 2010, the last supported version is v0.8.1.

For Visual Studio 2005/2008, the last supported version is v0.4.3.

Links

Project home, Documentation, News: www.codemaid.net
Download, Reviews: Visual Studio Marketplace

Code, Issues: GitHub
Continuous Integration: AppVeyor Build status

Twitter @codemaid: Twitter

Features

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.

CodeMaid Digging

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 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.

CodeMaid Formatting

Comment Formatting

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

CodeMaid Joining

Joining

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

CodeMaid Finding

Finding

Find the current file in the solution explorer window.

CodeMaid Sorting

Sorting

Sort a highlighted section of code alphabetically.

CodeMaid Collapsing

Collapsing

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

CodeMaid Progressing

Progressing

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

CodeMaid Configuring

Configuring

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

CodeMaid Switching

Switching

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

CodeMaid Toggling

Toggling

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

CodeMaid and more

and More!

Remove regions, close read-only files, etc.