Today's VS code tip: add missing imports on save
Use the editor.codeActionsOnSave setting to add all missing imports to a TypeScript or JavaScript file whenever you save it.
To enable, just set:
"editor.codeActionsOnSave": [ "source.addMissingImports" ]
Watch video VS Code tips — Add missing imports on save for JavaScript and TypeScript online, duration hours minute second in high quality that is uploaded to the channel Code 2020 31 July 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 4,551 times and liked it 42 visitors.