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.

Since the accepted answer isn't useful (whereas MangoHands comment is), I'm reposting his comment as a separate answer:
You can disable the acceptance of suggestions via the
enterbutton which and instead use (only) tab to accept suggestions, which I find intuitive.To this end add the following line into the
Preferences: Open User Settings (JSON)option from visual studio (UseCtrl+Shift+P/Cmd+Shift+Pto open the command palette and search forPreferences: Open User Settings (JSON)):"editor.acceptSuggestionOnEnter": falsePS: Using the shortcut for the pipe (
Cmd+Shift+M) is cute until you realize that it won't work in the terminal - at least noy inradian- (instead you shift to the 'problems' tab), which for me is a huge and annoying issue.