Both those options are in "code clean up" options:
Go to Resharper->Options...
Then go to Code Editing->Code Cleanup
- Set the use 'var' in declaration option.
- Check/tick Reformat code.
- Save the profile and set the "Profile to use with silent clean-up:" to it.
This has set up the silent clean-up, but to explicitly clean up at anytime, there is a key shourtcut which is usually Ctrl+E, F
If this doesn't resolve the new line after the if
, then look under Code Editing->C#->Formatting Style. This is where the rules of "Reformat code" are defined.