Why does brace insert fade in Visual Studio 2015?

I am using a Visual Studio 2015 release candidate.

In previous versions of Visual Studio, I always programmed with Automatic brace completionand disabled Automatically format completed block on }.

In previous versions, when creating a block, curly braces were automatically formatted as you type enter { enter }

This will lead to:

class Foo
{
}

In VS 2015, resulting in:

class Foo
{
    }

Is there a new parameter that I am missing or is this an error in RC?

+4
source share
1 answer

Ok, I checked it. The result seems pretty obvious - you told Visual Studio not to format your code on }, so it doesn't.

, Visual Studio - , , VS , . , , _ :

class Test
{
    _

},

class Test
{
    }

Visual Studio

class Test
{
}

Automatically format completed block on }. , , - Ctrl+Z, , }. , VS2015 , .

, . :

class Test
{
    public
        string
            Ana
    {
        get; set;
        }
    }

class Test
{
    public
        string
            Ana
    {
        get; set;
        }
        }

VS2013! , , . , VS2015 - , , .

, ? , - , MS , , - , . , , , , , - .

, , , , . , , Connect, "" - IMO , .

+4

All Articles