You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I started using Csharpier recently and I really like it !
However, I stumbled upon a case where I asked Csharpier to ignore some code, but it somehow added newlines in it.
I was able to reproduce it in the playground, so I don't think it is related to my setup.
Am I missing something ?
Csharpier version : 0.22.1 (dotnet-csharpier) and 1.3.6 (VSCode extension) Environment : Ubuntu 22.04, Dotnet 5 (C# 9)
It took me a bit, but I can see what is happening now. The ranged ignore doesn't play nice with multiple statements on a line. You can see by adding extra whitespace like so, which it leaves alone.
Hi, I started using Csharpier recently and I really like it !
However, I stumbled upon a case where I asked Csharpier to ignore some code, but it somehow added newlines in it.
I was able to reproduce it in the playground, so I don't think it is related to my setup.
Am I missing something ?
Csharpier version : 0.22.1 (dotnet-csharpier) and 1.3.6 (VSCode extension)
Environment : Ubuntu 22.04, Dotnet 5 (C# 9)
Input code :
Expected output :
Actual output :
The text was updated successfully, but these errors were encountered: