You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For any files inside my VS Code project folder, I want Prettier to auto-format them on save. So I have enabled the setting editor.formatOnSave at the workspace level (in ".vscode/settings.json" inside my project).
When I open a file from outside my workspace in the same VS Code window as my project, then it gets formatted on save too which I don't want. How can I prevent this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For any files inside my VS Code project folder, I want Prettier to auto-format them on save. So I have enabled the setting
editor.formatOnSave
at the workspace level (in ".vscode/settings.json" inside my project).When I open a file from outside my workspace in the same VS Code window as my project, then it gets formatted on save too which I don't want. How can I prevent this?
Beta Was this translation helpful? Give feedback.
All reactions