VS Code formatting erroneously . ejs files while saving

Asked

Viewed 159 times

0

I would like to know how to configure vs code to not format files automatically when saving. This happens a lot in files. ejs and it’s really boring. If anyone can help me I appreciate.

1 answer

1

Disable in the settings of vscode. FormatOnSave.

or

Inserts this item into your settings.json "editor.formatOnSave": false,

or

If you do not want to format only a certain file extension:

"editor.formatOnSave": true 
"[jade]": { "editor.formatOnSave": false }
  • For some reason it doesn’t work.

  • mine is already disabled and does not work

  • Which one did you try? I gave three options.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.