It seems that the current extensions available on the VSCode marketplace struggle to properly add Angular imports. For example, when I try to import OnInit using the Path IntelliSense extension:
export class AppComponent implements OnInit
It ends up importing from:
import { OnInit } from '@angular/core/core'
Instead of the correct way:
import { OnInit } from '@angular/core'
I have searched through various extensions on the marketplace but so far haven't found anything that works as expected. However, I did notice that VSCode has a feature to add to an existing import statement, which is shown in this screenshot:
https://i.sstatic.net/70kTX.png Is there a way to utilize a keybinding for this action without having to manually click on the yellow light bulb when it appears? Additionally, do you know of any reliable extension that correctly adds Angular imports like WebStorm does? (This is one of the few reasons why I still occasionally use WebStorm over VSCode despite preferring its lighter and faster performance).