Skip to main content

User settings (JSON)

How to open a settings file in JSON format?

Ctrl + Shift + P => Preferences: Open User Settings (JSON)

Preferences: Open User Settings (JSON)

How to enable/disable autosave?

"files.autoSave": "onFocusChange",

How to set newline character?

"files.eol": "\n",

How to enable the removal of trailing spaces?

"files.trimTrailingWhitespace": true,

How to prevent trailing spaces from being removed for Markdown files?

"[markdown]": {
"files.trimTrailingWhitespace": false
},