atom-language-r
atom-language-r copied to clipboard
RStudio-like indentation
From @kylebarron on October 13, 2017 16:29
R-indent, a fork of Python-indent, contains code to have RStudio-like indentation after the %>% and + operators, but the R-indent package is not currently published on the Atom package manager.
I'm thinking about adding the MIT-licensed R-indent code to this repository, since indentation is usually a function that a language package takes care of (at least giving characters after which the indentation should increase or decrease). I'll look at updating the R-indent code to the most recent Python-indent version, since R-indent is 17 commits behind master.
Copied from original issue: REditorSupport/atom-language-r-legacy#7
@jfiksel are you interested in collaboration here? We can add you to REditorSupport if you want to contribute.
PS: This organization is maintained by me (a Sublime Text R package author) and @Ikuyadeu (a VSCode R package author). Inspired by JuliaEditorSupport, we have a plan to move our R packages under this organization.
From @kylebarron on October 13, 2017 16:39
I also created an issue on his package: https://github.com/jfiksel/r-indent/issues/3
From @jfiksel on October 13, 2017 17:51
Hi @randy3k! I just commented on the issue that @kylebarron left on my repo, but I'm happy to have you take any code that you want from the r-indent package. However, I'm not currently using Atom too heavily, so I don't think I will be helping with maintenance. Let me know if you have any questions.