Merge pull request #10306 from Pokechu22/contributing-vs-clang-format

Contributing.md: Mention Visual Studio formatting key combo
This commit is contained in:
JosJuice 2021-12-28 10:11:32 +01:00 committed by GitHub
commit 07d26b2b35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ In most cases, clang-format can and **should** be used to automatically reformat
echo '/Source/Core/**/*.mm filter=clang_format' >> .git/info/attributes
```
- Visual Studio supports automatically formatting the current document according to the clang-format configuration by pressing <kbd>Control</kbd>+<kbd>K</kbd> followed by <kbd>Control</kbd>+<kbd>D</kbd> (or selecting Edit &rarr; Advanced &rarr; Format Document). This can be used without separately installing clang-format.
# <a name="cpp-coding-style-and-formatting"></a>C++ coding style and formatting
Summary: