Hello,
It looks like comments in an array cause the formatter to break the code. Consider the code below.
C#var test = new[]
{
// Test
"test"
};
After formatting, this is turned into this:
C#var test = new[]
{
// Test "test"
};
Which means that the value "test" is now commented out, which changes the meaning of the code. I first noticed this today, but I'm not sure how long this has been happening. I know it did not do this in the past though, and as far as I am aware no settings were changed.
Thanks in advance for your help.
Sincerely,
Bart
Hi Bart,
Thank you for your report. I have reproduced this issue locally. We will fix it in our future builds.