

You can also create a custom format definition. You can choose which of these common formatting conventions to apply to all your projects: LLVM, Google, Chromium, Mozilla, or WebKit. Configuring ClangFormat optionsĬlangFormat support is enabled by default. ClangFormat is a utility that makes it easy to style and format your code based on a set of rules that can be configured in a. The page also has options for configuring support for ClangFormat version 5.0. This page has options for formatting statements and blocks as you type them. For more information, see Personalize the Visual Studio IDE. The Visual Studio edition that you have and the settings that you use determine these elements.

Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions.
