Skip to content

turning off format-on-save? #27

Discussion options

You must be logged in to vote

Hey Will!

The format on save setting is one that is managed by VSCode. The easiest way to change this is to open up your settings.json and delete the preferences we added in.

You can do this by:

  1. Open the command palette in VSCOde (Control + Shift + p)
  2. Type "user settings json" and open the entry that says: "Open User Settings (JSON)"
  3. Remove these lines from the config:
{
  "[idl]": {
    "editor.defaultFormatter": "idl.idl-for-vscode",
    "editor.formatOnSave": true
  }
}
  1. Double check saving a file doesn't format automatically.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by znorman-harris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants