Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Automatic code formatting grabs closing curly brackets when adding properties #511

@sven-n

Description

@sven-n

Hey there,

I'm using SharpDevelop 5 Beta 5.
Let's say I have a C# code file with the following content:

    namespace foo
    {
        class bar
        {
            public int ID { get; set; }
        }
    }

When I add a new property directly under the ID-property the closing curly bracket of the class gets grabbed after I write the first semicolon for the "get" keyword. So the result is the following:

    namespace foo
    {
        class bar
        {
            public int ID { get; set; }
        public int Test { get; }
    }

That's very irritating...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions