Insert space between parentheses when argument list is empty
outermost_parenthesis - When a new line is typed, it's indented relatively to the outermost open parenthesis.Name: cpp_indent_multi_line_relative_to.The rest of this document lists all the EditorConfig C++ formatting settings supported by Visual Studio and VS Code. Here's an example of what your EditorConfig file might look like: Ĭpp_indent_case_contents_when_block = trueĬpp_new_line_before_open_brace_namespace = same_line C++ formatting conventionsĬ++ formatting EditorConfig settings are prefixed with cpp_.
Visual studio vim lines add on code#
This means you can add EditorConfig files to your workspace to configure C++ formatting on a more granular level and enforce consistent code style for everyone contributing to the project. Both Visual Studio and Visual Studio Code have built-in EditorConfig support for each of the global Visual Studio C++ formatting settings, with the EditorConfig settings taking precedence. To set C++ formatting settings for a specific workspace, use clangformat or EditorConfig. The Visual Studio C++ formatter has a rich set of configurable settings that can be applied globally.