Reputation: 806
Usually in IntelliJ you have a shortcut for auto importing libraries.
Is there an equivalent for Visual Studio Code?
Upvotes: 7
Views: 18051
Reputation: 453
In the current version, 1.11.2, you can put your cursor in the error line.
You will see a bulb in the line number. Then click it or press the shortcut ⌘ + . (Quick Fix).
That will pop up a import hint window, as follows
Upvotes: 10
Reputation: 9
Currently there is no support for this in Visual Studio Code, but it's a good idea for an extension.
Upvotes: -1