Skip to content

Instantly share code, notes, and snippets.

@danfoust
Created October 29, 2020 12:21
Show Gist options
  • Save danfoust/82ce1703e5779ea367fe9a4531a93b69 to your computer and use it in GitHub Desktop.
Save danfoust/82ce1703e5779ea367fe9a4531a93b69 to your computer and use it in GitHub Desktop.
VSCode Settings
{
// -> Files
"files.trimTrailingWhitespace": true,
// -> Editor
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.renderWhitespace": "all",
"editor.formatOnPaste": true,
"editor.codeActionsOnSave": {
"source.format": true,
"source.fixAll": true,
"source.organizeImports": true
},
"editor.wordWrap": "on",
"editor.mouseWheelZoom": false,
// -> Git
"git.fetchOnPull": true,
"git.autofetch": true,
// -> Prettier
"prettier.singleQuote": true,
// -> Window
"window.openFilesInNewWindow": "default",
// -> JSON
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// -> Javascript
"javascript.validate.enable": true,
"javascript.preferences.quoteStyle": "single",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// -> TypeScript
"typescript.preferences.quoteStyle": "single",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// -> Explorer
"explorer.confirmDelete": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment