vscode-R
vscode-R copied to clipboard
[Feature request] Add `%>%` and `+` to code fold rules
In the following code example, the code fold feature Ctrl+Shift+[])
does not work. I was wondering if there would be any way for us to add %>%
and +
to code folding rules.
library(tidyverse)
mpg %>%
mutate(class = fct_rev(fct_infreq(class))) %>%
ggplot(aes(x = class, fill = class)) +
geom_bar(show.legend = FALSE) +
coord_flip()