XccurateFormatter icon indicating copy to clipboard operation
XccurateFormatter copied to clipboard

Format on save with Copilot for Xcode (too many limitations)

Open intitni opened this issue 2 years ago • 0 comments

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.

intitni avatar Jan 11 '24 09:01 intitni