Reformatting all files in a project
Could this be provided as a convenience function? I'm using black, and sometimes I receive projects with horrible formatting. Because Wing knows which sources belong to the project, an internal solution is often preferable compared to some script, rewriting anything in his scope. At this moment I'm not sure if the Wing API provides the relevant information, but the particular function has IMO enough value to justify a standard interface in the main application.
This should certainly only be available as mostly one-time deliberate manual step for initial formatting, though. Perhaps with some confirmation dialog or a non-standard command to be explicitly bound.
Comments