vscode add all missing imports shortcut

Solutions on MaxInterview for vscode add all missing imports shortcut by the best coders in the world

showing results for - "vscode add all missing imports shortcut"
Valeria
25 Apr 2020
1//This also allows you to set up a keybinding for Add all missing imports:
2{
3    "key": "ctrl+shift+i",
4    "command": "editor.action.sourceAction",
5    "args": {
6        "kind": "source.addMissingImports",
7        "apply": "first"
8    }
9}
10
11// Or even enable Add all missing imports on save:
12
13"editor.codeActionsOnSave": [
14    "source.addMissingImports"
15]
16