[go: up one dir, main page]

Skip to content

c# repeatedly indenting comment

When formatting this code multiple times the comments get indented more and more. I run the format with and without any parameters, same result. It looks like it has to do with the @ sign infront of the text. We used the latest sourcecode from git to create the exe with the provided VS solution. This issue does not happen after reverting 28f2c879, hope that helps finding the issue.

namespace Testspace
{
  class Testclass
  {
    void TestFunc()
    {
      // normal formatting
      Console.WriteLine("");
      /*
        Testcomment
      }*/

      // repeatedly indented comment
      Console.WriteLine(@"");
      /*
              Testcomment
            }*/

      // repeatedly indented comment
      Console.WriteLine(@"");
      /*
                    Testcomment
                  }*/
    }
  }
}
Edited by René Raviol