csharpier
csharpier copied to clipboard
charpier do not repect `#pragma warning disable format`
csharp supports this
#pragma warning disable format
#pragma warning enable format
any updates
It seems a bit unnecessary to support a second method of disabling formatting. Is there some benefit that I'm missing?
This is the way of official support, and I think it should be supported.
https://github.com/dotnet/roslyn/issues/36930#issuecomment-530441099
FYI
https://stackoverflow.com/a/65083158
https://developercommunity.visualstudio.com/t/%E5%A6%82%E4%BD%95%E9%98%B2%E6%AD%A2vs-%E6%A0%BC%E5%BC%8F%E5%8C%96%E6%88%91%E7%9A%84%E6%9F%90%E5%87%A0%E8%A1%8C%E4%BB%A3%E7%A0%81%EF%BC%9F-%E6%AF%94%E5%A6%82c-c-%E7%9A%84%E5%87%A0%E8%A1%8C%E4%BB%A3%E7%A0%81%EF%BC%9F/789307
https://developercommunity.visualstudio.com/t/%E5%A6%82%E4%BD%95%E9%98%B2%E6%AD%A2vs-%E6%A0%BC%E5%BC%8F%E5%8C%96%E6%88%91%E7%9A%84%E6%9F%90%E5%87%A0%E8%A1%8C%E4%BB%A3%E7%A0%81%EF%BC%9F-%E6%AF%94%E5%A6%82c-c-%E7%9A%84%E5%87%A0%E8%A1%8C%E4%BB%A3%E7%A0%81%EF%BC%9F/789307#T-N818996
I understand that VS supports it. If someone is using CSharpier I don't see why they would ask VS to format a file, which is why it seems unnecessary to me.
I'm not opposed to supporting it so feel free to submit a PR.