Author Topic: C# Beautifier issue  (Read 62 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1861
  • Hero Points: 179
  • Text
C# Beautifier issue
« on: December 04, 2019, 10:19:16 pm »
C# Beautifier && blocked initializers

Code: [Select]
        void statements(boolean cond, int x)
        {
            List<string> names1 = new List<string> { $"sample" };
            List<string> names2 = new List<string> { "sample" };
        }
"Names1" is split based on the setting for "If Statement Blocks".
"names2" is not.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1164
  • Hero Points: 110
Re: C# Beautifier issue
« Reply #1 on: December 05, 2019, 01:54:57 pm »
Odd, but I think I know what's happening.  Not hot-fixable, so I'll put this on the list for 24.0.1.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1164
  • Hero Points: 110
Re: C# Beautifier issue
« Reply #2 on: December 05, 2019, 03:59:24 pm »
This is fixed in the 24.0.1 release.