
If you find this out, drop a comment on this blog. I confess I don’t know for sure what other formatting features are included when we enable this option but I would love to discover this. In Visual Studio Code Editor, Right-click on it There are two ways you can format. none: Require braces to be on the same line for all expressions ('K&R'). Here is a sequence of steps to format a code in Visual. In order to enable them, we need to enable the configuration Format On Type on File-> Preferences->Settings->Text Editor->Formattingīasically, we are telling the editor to format our code, in this case the XML Comments, immediately after typing. Visual Studio 2017 version 15.3: Option values: all: Require braces to be on a new line for all expressions ('Allman' style). In the past there was an extension for C# XML Comments but since version 1.23.8 the C# XML comments are naively support on Visual Studio Code, but not enabled by default. If we manage to include these explanations in a standard format that could even be extracted later, even better. Some explanations on business logic may be useful. However, this doesn’t mean we should totally avoid comments.

If a code needs to be full of comments, it’s possible the code is not good enough to be read. Being light, there are some features that we don’t have or at least took some time to appear. Visual Studio Code appeared years ago as a light option to the full Visual Studio Environment. C# XML Comments in Visual Studio Code - Simple Talk Skip to content
