SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: jporkkahtc on December 04, 2019, 10:19:16 PM

Title: C# Beautifier issue
Post by: jporkkahtc 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.
Title: Re: C# Beautifier issue
Post by: patrick 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.
Title: Re: C# Beautifier issue
Post by: patrick on December 05, 2019, 03:59:24 PM
This is fixed in the 24.0.1 release.