XccurateFormatter
XccurateFormatter copied to clipboard
Format on save with Copilot for Xcode (too many limitations)
Limitations:
- Can't format on save triggered by leaving Xcode.
- Can't format on save triggered by switching between editors.
- Actions like quick open will also trigger save. But if we format the file in these situation, those actions will get canceled.
I have tried some workarounds like format when Xcode is active again or when the user switch back to the previous editor. But all of the approaches may crash Xcode.