- Exclude some directories and files by placing this into your
settings.json
file.
"files.exclude": {
"**/.rush": true,
"**/*.api.json": true,
"**/*.api.md": true,
"**/*.d.ts": true,
"**/dist": true,
"**/esm": true,
"**/stats.json": true,
"**/temp": true,
"**/umd": true,
"**/node_modules": true
}
- When TS server is not snappy, hit
Cmd + Shift + P
, search forTypeScript: Restart TS server
and hitEnter
.