VSCode not autoformating R lintr suggestions

33 views Asked by At

I am trying to figure out how to have easy autoformat for my R code in VS Code. Seems like a lot of the other languages can use extensions like Prettier and ESlint to solve the common formatting issues but I cannot find something comparable for R. When I get a lintr warning the only quick fixes I have are to disable the linter.

Lintr warning

quick fix options

Anyone have any tips or tricks for solving this? Ultimate goal is to code with autoformatting enabled as I go or upon save.

I have tried different settings in languageserver but cannot get it right. I also code in multiple lanauges so want the setting to be language specific not workspace specific.

0

There are 0 answers