Rider Command Line Tools for Code Cleanup on Mac/Unix?
Answered
Is there any way to run Rider code cleanup via command line on Mac/Unix?
We're looking into 2 options in our development process:
1) Git pre-commit hook to do a force-cleanup whenever a developer makes a commit. This would require support for both Windows & Mac.
2) CI integration (Unix preferred, but Windows ok too) that does a force-cleanup for any code pushed to a git repository.
#1 is preferred, but we're wondering if either of them are even possible with Rider/Resharper.
Thanks,
Saswat
Please sign in to leave a comment.
Hi!
Commanline tool can be used for code quality measuring, but it doesn't have option to make a force cleanup
https://www.jetbrains.com/resharper/features/command-line.html
Thanks yeah like you said, Resharper CLT can measure code quality but can't do the cleanup itself. Is there a paid product offered by JB that supports this use-case? (Preferably cross-platform too)
There are no such tool.
There is high probability that ReSharper CLT can be run under mono, no one tried.
Thanks for the info!
Is there a command line tool for Rider on Mac? Our team is Windows / Mac cross-platform and we really need a command that spits back the warning logs.
Please vote this issue https://youtrack.jetbrains.com/issue/RSRP-410004