Loading

csharp_indent_block_contents

Indent statements inside a block.

Value Notes
true
false

Default: true

csharp_indent_block_contents = true
		
namespace N;

public class Widget
{
    public void Run()
    {
int x = 1;
int y = 2;
Console.WriteLine(x + y);
    }
}
		
namespace N;

public class Widget
{
    public void Run()
    {
        int x = 1;
        int y = 2;
        Console.WriteLine(x + y);
    }
}
		
csharp_indent_block_contents = false
		
namespace N;

public class Widget
{
    public void Run()
    {
        int x = 1;
        int y = 2;
        Console.WriteLine(x + y);
    }
}
		
namespace N;

public class Widget
{
    public void Run()
    {
    int x = 1;
    int y = 2;
    Console.WriteLine(x + y);
    }
}