Update clang format_on save_VS2017 authored by Jan Schnathmeier's avatar Jan Schnathmeier
...@@ -38,4 +38,10 @@ public class E : VisualCommanderExt.IExtension ...@@ -38,4 +38,10 @@ public class E : VisualCommanderExt.IExtension
private EnvDTE.DocumentEvents documentEvents; private EnvDTE.DocumentEvents documentEvents;
} }
``` ```
Then hit **Save**, **Compile** and **Install**. Visual Studio should now apply Clang Format to any C and C++ documents upon saving them. Then hit Save, Compile and Install. Visual Studio should now apply Clang Format to any C and C++ documents upon saving them. You can also manually run Clang Format without saving by hitting Ctrl+R then Ctrl+D.
\ No newline at end of file
![ExtensionsandUpdates](/uploads/89d096efcc1ee64f4c7fdbe2c250fb32/ExtensionsandUpdates.jpg)
![ClangFormat](/uploads/585ac54f3d9b5324bfb21756f243e544/ClangFormat.jpg)
![VisualCommander](/uploads/9b34f3ab4f0f8cc0fc30ab4b5018de70/VisualCommander.jpg)
![ClangonSave](/uploads/837b13e800a1906ee11f61b5a6db077e/ClangonSave.jpg)
\ No newline at end of file