Reputation: 15
I use vscode to do a demo of angular. Which plugins can be used to auto import Angular Interface?
I have already installed Auto Import
& Auto Import - ES6, TS, JSX, TSX
extensions. But they didn't work.
I expect when I type ActivatedRoute
, it will be automatically imported.
Upvotes: 1
Views: 244
Reputation: 1127
You can install auto import extension in vs code
https://marketplace.visualstudio.com/items?itemName=steoates.autoimport
You can also install
Angular Extension Pack
from the extension tab in the VS CODE, this package also provides the auto import functionality.
Upvotes: 1