


customize your functionality to "C_Cpp.clang_format_fallbackStyle" for your favor.

btw ColumnLimit: 0 is helpful too, because google limit will break your code to next line when you do not need it.Brace Completer will place a closing brace on the line after the caret and apply the proper indentation. It will work either way Usage Simply type an opening brace, then press Enter. Hope this helps, let me know if you encounter any issues with it. Im also going to make it keep tab spacing in new lines, like in regular Visual Studio, as soon as I can. Brace Completer doesnt care if you put your opening braces on a new line or not. I wrote a really minimal vscode extension (C Curly Formatter) to solve curly brackets indentation problems. vscode/settings.json file should look something like this: " Instead, in the 1. Change it to match your settings in Text Editor > C/C++ > Formatting. It has become one of the most widely used programming languages, with C compilers available for almost all modern computer architectures and operating. The style you are looking for is probably WebKit. Curly braces appear on the same line even if the c formatting rules indicates otherwise. Otherwise, the easiest way that you are probably looking for is to just change the option C_Cpp.clang_format_fallbackStyle. See this page for more information about the available style options. The clang-format style source ( C_Cpp.clang_format_style) is set to file by default, which reads in a. The C/C++ extension comes with it, though you have the option to specify the path to your own installed version of clang-format on your computer using the option C_Cpp.clang_format_path. Clang-format is a standalone tool used to format C/C++ code.
