Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Limited Scope for Running the Tool on Changed Files in Pull Requests #2105

Open
MatejChabada opened this issue Feb 14, 2024 · 1 comment
Labels
Feature Request This issue is requesting an enhancement or new feature

Comments

@MatejChabada
Copy link

The current version of the tool is impressive and has proven to be useful. However, it lacks the ability to run exclusively on the files that have been modified in a pull request. This feature is crucial for legacy projects, as they tend to generate numerous errors when the tool is applied globally.

I believe this enhancement would greatly improve the usability and effectiveness of the tool, especially for those working on older projects.

@JoeRobich
Copy link
Member

This would be difficult to build into dotnet-format itself as there are many source control and CI systems. There are solutions out there depending on your source control/CI combination. For instance if you are using git with GitHub there is a dotnet-format action that has an only-changed-files option.

@sharwell sharwell added the Feature Request This issue is requesting an enhancement or new feature label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request This issue is requesting an enhancement or new feature
Projects
None yet
Development

No branches or pull requests

3 participants