belav / csharpier

CSharpier is an opinionated code formatter for c#.
https://csharpier.com
MIT License
1.42k stars 99 forks source link

Rider's "Run on Save" doesn't detect an auto-save from builds, etc #1212

Closed phillijw closed 8 months ago

phillijw commented 8 months ago

Environments

Log Output

Steps to reproduce

  1. Make a formatting change to a file
  2. Build the solution or project without saving first

Expected behavior csharpier should run on any auto-saved files

Actual behavior csharpier doesn't recognize that a file was saved

belav commented 8 months ago

This has caused me some grief when doing renaming/find replacing across files and I never thought to dig into it more. Turns out it was straightforward to respond to all reasons for a document being saved. Thanks for reporting it!

Will be fixed with 1.6.4 when jetbrains approves it, usually takes a day or two.