Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

intitni
Copy link
Owner

@intitni intitni commented Jan 11, 2024

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 intitni added the enhancement New feature or request label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant