Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Add an option to run CodeFormatter on all projects/solutions within a directory. #93

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlekseyTs
Copy link

Allow to specify a directory instead of a project/solution.

var projectOrSolutionPath = args[0];
if (!File.Exists(projectOrSolutionPath))
var path = args[0];
string[] projectOrSolutionPath;

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@jaredpar
Copy link
Member

jaredpar commented Mar 9, 2015

I'm curious about why this approach vs. just using the shell to feed projects to the tool? Usually I just do something like the following to run code formatter on large directory trees.

gci -re -in *proj | %{ codeformatter $_ } 

@AlekseyTs
Copy link
Author

I prefer tool handling this scenario and also giving me the tally at the end. Also, not everyone is proficient with shell commands.

@VSadov
Copy link
Member

VSadov commented Jan 29, 2016

is this still active?

Base automatically changed from master to main March 11, 2021 16:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants