Difference between "reindent lines" and "reformat code"

I found both Rstudio functions could reindent the code. so what is the difference?

Reindent only adjusts the leading spacing on each line; reformat is more aggressive and will also add/remove line breaks and spacing.

1 Like

This topic was automatically closed 21 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.