Is it possible to get styler to run and format the code upon saving a file? Thanks.
1 Like
it's a long standing feature request for RStudio (which you can upvote). To mitigate the problem for now:
- write nice code that does not require {styler} .
- make a keyboard binding to the style active file Addin in {styler}.
- use the {styler} pre-commit hook.
Thank you for the detailed and up-to-date response.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.