I want to format a document in a special way, instead of auto formatting:
if(...){
}else{
}
VS should format it like this:
if(...)
{
}
else
{
}
So the brackets ({
and }
) should be direct under the keywords.
How is that possible?
I want to format a document in a special way, instead of auto formatting:
if(...){
}else{
}
VS should format it like this:
if(...)
{
}
else
{
}
So the brackets ({
and }
) should be direct under the keywords.
How is that possible?
You can do this in VS by activating the two checkboxes in Tools > Options... > Text Editor > JavaScript (or whatever formatting you want to customize) > Formatting > New Lines.