r - Reindent lines in RStudio in .Rhtml doesn't indent braces correctly. Is it configurable? -
reindent lines quick way make sure code clean , cleans code readability no matter python folks think.
i noticed in rstudio while editing .rhtml files knitting html reports, code indent aligns braces ({}) incorrectly.
<html> <body> <!--begin.rcode #not idiomatic indentation for( in (1:10)){ a=i+1 } # ☹ #ideal indentation for( in (1:10)){ a=i+3 } # ☺ end.rcode--> </body> </html>
is there special character fix this? config file? different build of rstudio?
thank hints , tips.
rstudio developers confirmed bug.