In Visual Studio you can automatically fix all warnings and errors set in .editorconfig on file save - Is this possible to do from Rider as well?

Since Visual Studio 17.3 you can set these values in Configure Code Cleanup:

Fix analyzer warnings and errors set in EditorConfig
Fix all warnings and errors set in EditorConfig 

Then set Tools -> Options -> Text Editor -> Code Cleanup -> “Run Code Cleanup profile on Save”

https://stackoverflow.com/a/77133342/3850405

Is there similar functionality for Rider?

0
1 comment

Oscar Andersson89 Rider provides EditorConfig support by default. 

By enabling “Reformat and Cleanup Code” in Tools | Actions on Save, you could apply all code formatting rules in EditorConfig directly.

0

Please sign in to leave a comment.