Unexpected indentation behavior for function args on new lines in R scripts #5754
Labels
area: editor
Issues related to Editor category.
area: formatting
Issues related to formatting and indentation
support
System details:
Positron and OS details:
Interpreter details:
Describe the issue:
Howdy! Trying out positron for the first time today. Coming from RStudio, some of the indentation behavior is unexpected:
Steps to reproduce the issue:
(open up a new R script & run the following)
positron-indentation.mov
Expected or desired behavior:
Ideally, formatting/indentation would automatically follow RStudio's built-in styling/indentation, with the expected output of:
I'm a fan of RStudio's built-in styling/indentation, so the only reason that I don't use VSCode for R is because RStudio-style formatting isn't available and there are no plans in REditor to support this. I am not a fan of
styler
-style formatting, so in an ideal world, positron would mirror RStudio-style formatting for R scripts by default.It sounds like there is possibly an upcoming release that addresses formatting, so maybe this issue will be out of date shortly.
Thanks for all the work here, really excited to use a single IDE for R/python!
The text was updated successfully, but these errors were encountered: