Editor › Folding imports by default
With the Editor › Folding imports by default
setting, VS Code will automatically fold import blocks when you open a file, getting you to the body of the code more quickly.
This settings works in JavaScript/TypeScript and for language in VS Code which supports folding blocks of imports.