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.
![image](https://cloud.githubusercontent.com/assets/8963131/21701214/fe5e587a-d369-11e6-8e21-3f94337f52cb.png)
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';