Why do code snippets add a new line when autocompleting?



I love how Rstudio has implemented code snippets but there is a small annoying thing where when you tab autocomplete the snippet it adds a new line below it. Unsure if this is on purpose but it’s kind of annoying when I’m trying to add a snippet in the middle of some code and it pushes the rest of my code down by a line.


This doesn’t seem to happen to me. Can you describe a specific example? Also, what version of RStudio are you using?