The following gets automatically changed in .vscode/settings.json the first time I open a TypeScript project:
"[typescript]": {
"editor.codeActionsOnSave": {
- "source.organizeImports": true
+ "source.organizeImports": "explicit"
}
},
The generated code should automatically already have the correct value for organizeImports.
In my opinion, it could even be changed to "always".