If VS Code is running at ~100% CPU, add this to the settings and close/reopen Code.
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/tmp": true,
const salaryFormatter = new Intl.NumberFormat('en-GB', { | |
style: 'currency', | |
currency: 'GBP' | |
}) | |
salaryFormatter.format(100) |
0491cbbb8e82a2956334e0a322a99ea2582335d7cf6c82d29918c8924b7279074361891e5fbef0cfff78dbf790fe9fa2d48cc687b93d4735f6e4c849edc75dc92b;andycampbell92 |
If VS Code is running at ~100% CPU, add this to the settings and close/reopen Code.
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/tmp": true,
// swap the keybindings for paste and paste_and_indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" } |
$ git config --global help.autocorrect 1
Go to Sublime Text 2 > Preferences > Key Bindings - User
and add this JSON to the file:
[
{ "keys": ["super+shift+l"],
"command": "insert_snippet",
"args": {
"contents": "console.log(${1:}$SELECTION);${0}"
}, "context":
[