You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see at least two ways that this can be improved:
Deliberately left empty lines between methods and arguments should not be removed. Although the current is minimal, a typical R6 class can be large and with many methods, and it is really helpful to have empty lines to demarcate different functions. Here is a good example.
Alignment is not detected in "other object properties" part of the class.
If you feel this is too specific of a context for {styler} to concern itself with, feel free to close this. I can always turn off styling, but that is not ideal since I might miss out on some other formatting issues.
The text was updated successfully, but these errors were encountered:
blank lines in function calls and headers are now removed, for the former only when there are no comments before or after the blank line (#629, #630, #635, #723).
for the former only when there are no comments before
Unfortunately, not that common to have roxygen or regular comments before private member methods, but I think it will be overengineering to cover this one specific context.
I see at least two ways that this can be improved:
Created on 2021-12-10 by the reprex package (v2.0.1)
If you feel this is too specific of a context for
{styler}
to concern itself with, feel free to close this. I can always turn off styling, but that is not ideal since I might miss out on some other formatting issues.The text was updated successfully, but these errors were encountered: