KIMGEONUNG / curly-curly

curly braket style conversion tool
1 stars 0 forks source link

Undesirable knr open bracket indentation #4

Open KIMGEONUNG opened 4 years ago

KIMGEONUNG commented 4 years ago

Original code

using System;

namespace HelloWorld                       
{
    class Program               
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }
}

result code

using System;

namespace HelloWorld                       {
    class Program               {
        static void Main(string[] args)               {
            Console.WriteLine("Hello World!");
        }
    }
}

Desirable code

using System;

namespace HelloWorld {
    class Program {
        static void Main(string[] args) {
            Console.WriteLine("Hello World!");
        }
    }
}
KIMGEONUNG commented 4 years ago

Alt