I have several question about vs 2015, reshaper 10 and angular 2.
For example when I use multiline string in Component template.
@Component({
selector: "hello-world",
template: `
<ul>
<li *ngFor="#name of names">Hello {{name}}</li>
</ul>
`
})
When I use ng2 keywords such as #inputName, (click)="add(inputName)" in html file visual studio show errors in markup . Any way how to fix this problem. It's annoying.
I would like have intellisense support for ng2 in html. I tried find aby resharper plugin but without success.
I just downloaded the latest version of ReSharper 10.1 EAP and it now has support for Angular 2 annotations.
I took a screenshot from my code window. Looks much better!
Unfortunately, it doesn't appear to support the binding tags and proper Intellisense in HTML template files yet.
Resharper version 2017.1 adds support for Angular2 templates. See here: https://www.jetbrains.com/resharper/whatsnew/#v2017-1-angular-2
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.