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

files.autoSave and editor.formatOnSave #613

Closed
utterly-calm opened this issue Oct 30, 2018 · 2 comments
Closed

files.autoSave and editor.formatOnSave #613

utterly-calm opened this issue Oct 30, 2018 · 2 comments
Labels
locked Please open a new issue and fill out the template instead of commenting.

Comments

@utterly-calm
Copy link

"files.autoSave": "afterDelay",
"editor.formatOnSave": true,

These settings are not working together, i.e. file is being auto saved when I write my code but it's doesn't format it at the same time, I have to click ctrl + s in order to format, but this is contradictory to the setting "files.autoSave".

@CiGit
Copy link
Member

CiGit commented Nov 8, 2018

// Format a file on save. A formatter must be available, the file must not be auto-saved, and editor must not be shutting down.
"editor.formatOnSave": false,

From settings. This is a limitation of VSCode

@CiGit CiGit closed this as completed Nov 8, 2018
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the locked Please open a new issue and fill out the template instead of commenting. label Apr 13, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

No branches or pull requests

2 participants