Continuous Formatting extension automates C# and C++ code formatting in Visual Studio 2017/2015. It removes the necessity to format code manually, arranging code continuously as you type and make changes.
v2 no longer interrupts an active code completion session, stops support for Visual Studio 2012/2013, changes default delay before formatting from 4.5 seconds to 2.5 seconds, adds the “Delay before formatting” option: