Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #10306 from Pokechu22/contributing-vs-clang-format
Contributing.md: Mention Visual Studio formatting key combo
  • Loading branch information
JosJuice committed Dec 28, 2021
2 parents 01e8e95 + a1fe1a2 commit 07d26b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Contributing.md
Expand Up @@ -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:
Expand Down

0 comments on commit 07d26b2

Please sign in to comment.