I had just installed vscode on OS X Sierra and was working on a component. I did not yet have this plugin installed.
import { Input, Component } from '@angular/core';
import {Account} from "./account";
@Component({
selector: 'account-info',
template: `
<div>{{account.companyName}}</div>
<div>{{account.address}}</div>
<div>{{account.}}</div>
`
})
export class AccountInfoComponent implements OnInit {
@Input() account: Account;
}
I installed this plugin, reloaded VSCode and tried to use the autocomplete feature to import OnInit
.
The context menu showed up and displayed two options.
Nothing happened when I pressed enter on either one or clicked on either one.
I had to erase this line before the plugin would start working.
import { Input, Component } from '@angular/core';