Description
I am introducing chsarpier into our monorepo, and I want to only format the subset of the repo that we are currently working on. To that end, I have a .csharpierignore file like the following:
*
!Src/Project1
!Src/Project2
!Src/Project3
This works perfect when I run dotnet csharpier from CLI, but when I open the repo folder in Visual Studio and enable the extension's Format on Save option (at the solution level), it formats files from the ignored projects as well.
Is this supposed to be working as I expect?
(I'm not sure I even understand the difference between the Format on Save setting for global and solution level. Enabling the global one seems to not enable it at all for me.)
Steps to Reproduce
- Add ignore file like mine.
- Install VS extension.
- Enable Format on Save (at solution level).
Expected Behavior
Files in Src/Project4 to not be formatted on save.
Actual Behavior
All .cs files are formatted.
Description
I am introducing chsarpier into our monorepo, and I want to only format the subset of the repo that we are currently working on. To that end, I have a
.csharpierignorefile like the following:This works perfect when I run
dotnet csharpierfrom CLI, but when I open the repo folder in Visual Studio and enable the extension's Format on Save option (at the solution level), it formats files from the ignored projects as well.Is this supposed to be working as I expect?
(I'm not sure I even understand the difference between the Format on Save setting for global and solution level. Enabling the global one seems to not enable it at all for me.)
Steps to Reproduce
Expected Behavior
Files in Src/Project4 to not be formatted on save.
Actual Behavior
All .cs files are formatted.