@@ -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.