- Step 1: Press
cmd + ,
- Step 2: Find Workbench>Settings: Editor
- Step 3: Choose
json
- Step 4: Copy and paste the below,
{
"workbench.colorTheme": "Default Light+",
"terminal.integrated.shell.osx": "/bin/zsh",
"git.enableSmartCommit": true,
"git.confirmSync": false,
"window.zoomLevel": 0,
"debug.node.autoAttach": "on",
"javascript.updateImportsOnFileMove.enabled": "always",
"workbench.colorCustomizations": {},
"editor.tabCompletion": "on",
"typescript.updateImportsOnFileMove.enabled": "always",
"workbench.editor.showTabs": true,
"todo-tree.general.tags": [
"TODO",
"FIXME",
"Add xss filtering for content"
]
}
- Step 5: Click on Preferences -> User Snippets
- Step 6: Paste the following for
javascript.json
, typescript.json
, typescriptreact.json
{
"Chilli": {
"prefix": "zc",
"body": [
"πΆ"
],
"description": "Log to console"
},
"Normal Log": {
"prefix": "zl",
"body": [
"console.log('$1');"
],
"description": "Log to console"
},
"Super Log": {
"prefix": "ll",
"body": [
"console.log('$1:', $1);"
],
"description": "Log to console"
},
"Magic Log": {
"prefix": "lll",
"body": [
"console.log('*****************');",
"console.log('$1:', $1);"
],
"description": "Log to console"
},
"Magic A": {
"prefix": "lla",
"body": [
"console.log('ππππππππππππππππππ');",
"console.log('$1:', $1);"
],
"description": "Log to console"
}
}