Useful VSCode Settings

typescript snippet
1{
2 "workbench.tree.enableStickyScroll": true, // Enable sticky scroll in the file explorer
3 "editor.formatOnSave": true, // Format on save automatically
4 "editor.codeActionsOnSave": {
5 "source.fixAll.eslint": "explicit", // Fix all eslint errors on save
6 "source.fixAll.stylelint": "explicit" // Fix all stylelint errors on save
7 },
8 "editor.guides.bracketPairs": "active", // or true
9 "javascript.updateImportsOnFileMove.enabled": "always",
10 "typescript.updateImportsOnFileMove.enabled": "always",
11}

Bracket Pairs

"editor.guides.bracketPairs" Both "true" and "active" can be selected, and the specific effects are compared as follows: