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

Skip maven module formatting if module has not changed since last formatting #193

Open
fabiencelier opened this issue Aug 12, 2024 · 0 comments

Comments

@fabiencelier
Copy link

Describe the bug
We have a large Java project with more than 100 maven modules.
When we apply the formatter it triggers on all the modules, which takes a long time (more than 2 minutes)

Expected behavior
We would like to have an option to skip the modules if it unchanged since last formatting.
This could be done form instance by taking a checksum of all the files to format, store this checksum, then check if the checksum has changed before starting to format.

This would greatly help us as we generally only work on a few modules at a time and don't need to apply the formatter again and again on all the files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant