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.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -