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.89k stars 356 forks source link

Using command line to run CodeMaid on existing files #928

Open YonatanGazit opened 2 years ago

YonatanGazit commented 2 years ago

Environment

Description

Can I run Codemaid trough the command line (Windos\Linux) on selected files or folders or even using a configuration file in order to enforce Codemaid execution?

Current behavior

Need to use VS and save existing files.

Expected behavior

Automate Codemade on selected configuration file.

codecadwallader commented 2 years ago

Thanks for asking the question. Unfortunately no, CodeMaid is heavily dependent on Visual Studio APIs that are only available while the IDE is open. There's a little more detail in #520