We should consider updating `dotnet format` to support file-based apps so that one can do `dotnet format app.cs`. Related: - #49185 - #49200