Code Formatting Extensions in VSCode

Published: 07 January 2020
on channel: Steve Griffith - Prof3ssorSt3v3
81,871
877

This brief tutorial is generally about being productive and forming good habits. Specifically, it is about using the Prettier VSCode extension to help you format your code and make it less error prone and easier for you and others to read.

Here are the snippets I added to the VSCode "settings.json" file:

"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode"


Watch video Code Formatting Extensions in VSCode online without registration, duration hours minute second in high quality. This video was added by user Steve Griffith - Prof3ssorSt3v3 07 January 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 81,871 once and liked it 877 people.