Prettier-vscode: files.autoSave and editor.formatOnSave

Created on 30 Oct 2018  路  2Comments  路  Source: prettier/prettier-vscode

"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".

locked

Most helpful comment

// 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

All 2 comments

// 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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sebastijandumancic picture sebastijandumancic  路  4Comments

bardware picture bardware  路  4Comments

bajtos picture bajtos  路  4Comments

peralmq picture peralmq  路  3Comments

bluemoehre picture bluemoehre  路  3Comments