Below you wil find an overview of the required and optional configurations for the VSCode IDE.
{
"files.insertFinalNewline": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"[javascript]": {
"editor.formatOnSave": true
}
}
Follow: https://giphy.com/gifs/bSMIXCswbv8uqNIil4 to check how to access the settings to paste above code in.
More information about VSCode config: https://code.visualstudio.com/docs/getstarted/settings
More information about VSCode extensions: https://code.visualstudio.com/docs/editor/extension-gallery
To add templates go to: Code -> Preferences -> User snippets -> Javascript
More information about VSCode templates: https://code.visualstudio.com/docs/editor/userdefinedsnippets
{
"Print to console": {
"prefix": "clog",
"body": [
"console.log('$1', $1);"
],
"description": "Log output to console"
}
}
Last modified | Friday, April 30, 2021, 12:00:21 PM UTC |
Last author | Colin van Eenige |
Commit ID | 4c7a701 |