Reformatting code with R# in a single keyboard shortcut

c#, formatting, resharper, visual-studio-2010

Solution

Oh sweet.. I just checked Tools -> Options -> Keyboard and found the command "ReSharper_SilentCleanupCode". It seems to execute ReSharper's code formatting function without popping up the dialog. Give it a try but try to not break your fingers... the default is ctrl-alt-shift-f :D That needs a rebind...

Problem

Using the R# keyboard shortcut for formatting code presents the following window: which forces me click the Run button every time. Is there a way to bind a keyboard shortcut directly into the Reformat Code option, rather than just opening this dialog window? Edit: To make things clear, I don't actually click the Run button with the cursor, I press Enter. (I still find it annoying, and wish for a direct shortcut.)

Original source