When using the R Extension for Visual Studio Code the code completion always suggests %in%
for a line that ends with the magrittr pipe %>%
. The final %
in %>%
triggers an autocomplete suggestion of %in%
.
Here's what happens when writing a code block:
library(dplyr)
mtcars %>%
select(mpg, cyl) %>%
Is there anyway to fix this? If I type "enter" for a newline like I normally would in any other text editor, visual studio code inserts the %in%
at the end of the line, which clearly isn't what I want.
I'm not sure where I can tweak any configurations - whether in visual studio code, or the R extension, or the R language server.