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 throws newer file error #99

Open
lukepighetti opened this issue Dec 20, 2024 · 1 comment
Open

format throws newer file error #99

lukepighetti opened this issue Dec 20, 2024 · 1 comment

Comments

@lukepighetti
Copy link

Screenshot 2024-12-20 at 6 39 39 AM

i suspect this is because I manually format with a keybinding instead of format on save

@hyzyla
Copy link
Collaborator

hyzyla commented Dec 21, 2024

I think the easiest way to fix it is to disable "format on save" in .vscode/settings.json

{
  "[swift]": {
    "editor.defaultFormatter": "sweetpad.sweetpad",
    "editor.formatOnSave": false, // <- here
  },
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants