Shift + Ctrl + r to insert a section heading or just a line to break up sections of code. Not a game changer really but saves you typing out a the # es
Is there a hidden gem that allows me to type a comma outside of quotations?
When you type your first ", RStudio creates two marks right away, and your text goes in between. And so you type, let's say, c("foo"), and your cursor is currently between o and ". You need to place a comma after " to type the next argument, and my most common typo looks like this: c("foo," "bar")
Also, is there a hidden gem to indent / advance the code with TAB while inline? When I hit TAB inline, it's trying to bring up help or something, won't advance cursor.
You can type the double quotes (") again when you are done and it will move you to the outside of the quotes so you can add the comma and keep typing. Typing the " after the last o in foo does not create another double quote, it only moves the cursor.
Not sure if I would say it's hidden, (but I didn't see it for ages)
Find in Files
CTRL+SHIFT+F
Searches your whole code base for strings and then allows you to click to jump to them (like resharper for visual studio)
CTRL+ALT+SHIFT+M
Rename in scope
Ever had someone use a 1-letter variable name in 1500 lines of code? This lets you rename the actual variables called x not just replace each instance of x