Is it possible to make the VS Code move the curly brace to the next line automatically?
E.g. in this code:
namespace MyNamesp
{
public class Configuration {
}
}
I would like the code to be formatted like this:
namespace MyNamesp
{
public class Configuration
{
}
}
ASAP as I typed this:
namespace MyNamesp
{
public class Configuration {}
}
And pressed (or not pressed, I do not care about this exactly) the Enter
while being between the {}
.
Right now in order to achieve this kind of formatting I have to select the whole document (Ctrl
+ A
) and click Alt
+ Shift
+ 'F'.