我有几个关于vs 2015,reshaper 10和angular 2的问题.
例如,当我在组件模板中使用多行字符串时.
@Component({
selector: "hello-world",
template: `
<ul>
<li *ngFor="#name of names">Hello {{name}}</li>
</ul>
`
})
Run Code Online (Sandbox Code Playgroud)
当我在HTML文件中使用ng2关键字如#inputName,(click)="add(inputName)"时,visual studio会在标记中显示错误.任何方式如何解决这个问题.它很烦人.
我想在html中对ng2进行intellisense支持.我试过找到aby resharper插件但没有成功.
syntax-highlighting typescript visual-studio-2015 resharper-10.0 angular
我想为打字稿自定义语法突出显示颜色。
我使用 Visual Studio Code 1.16 和自定义主题(实际) Obsidian。
我尝试使用特征editor.tokenColorCustomizations。
这是我的自定义用户设置。
{
"editor.fontSize": 20,
"workbench.colorTheme": "(Actual) Obsidian",
"editor.tokenColorCustomizations": {
"functions": "#F1F1F1",
"keywords": "#8EC160",
"types": "#87CEEB",
"numbers": "#F1F1F1",
"variables": "#F1F1F1",
"textMateRules": [
]
}
}
Run Code Online (Sandbox Code Playgroud)
我不知道如何选择更改颜色: