Save time, because time is more important than money.
List is non-exhaustive, will add more along the way.
Default Shortcut Keys
Open Terminal for the current working file
Ctrl + `
Split work screen
Ctrl + \
Close Current work screen
Ctrl + W
Collapse Explorer side bar
Ctrl + B
Alternate between 2 work screens
Alt + 1 and Alt + 2
Search files
Ctrl + P
Swap line of codes
Alt + up or down key
To edit same lines at one go
Ctrl + alt + up or down key
Configure Global Snippets
Go File > Preferences > User Snippets > Global Snippets
"console.log": {
"scope": "javascript,typescript",
"prefix": "cl",
"body": ["console.log('');"],
"description": "Log output to console"
}
Prevent auto conversion of single-quote to double-quotes
Go File>Preferences>Settings and search for prettier.singleQuote. Now check to true.
Cheers!
Top comments (0)