淘汰赛区域突出显示-Visual Studio 2013 [英] Knockout region highlighting - visual studio 2013

查看:97
本文介绍了淘汰赛区域突出显示-Visual Studio 2013的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在VS2013中,淘汰赛突出显示不适用于我.鉴于我具有剔除突出显示颜色"设置:

Knockout highlighting is not working for me in VS2013. Given that I have the "knockout highlight color" setting:

...我的假设是它应该可以工作.

...my assumption is that it should be working.

但是,没有骰子:

有什么想法吗?

推荐答案

我遇到了完全相同的问题.我是Visual Studio的新手,并且考虑到Web Essentials开箱即用地列出了基因敲除智能感知,所以我认为没有人需要做任何事情来打开"它.另外,似乎对Moustache模板和Angulars ng-bind语法的支持开箱即用,所以我和您一样困惑.

I had the exact same issue. I am a total newbie to Visual Studio, and given that the Web Essentials listed knockoutJS intellisense out of the box I did not think one needed to do anything to 'turn it on'. Also, it seems support for Mustache templating and Angulars ng-bind syntax works out of the box so I was just as perplexed as you.

这就是我所做的:

我按照然后,我创建了文件,并将基因敲除3.0.0.js文件拖到此

I then created the file, and dragged the knockout.3.0.0.js file into the code area like descirbed on this blog

那给我带来了Knockout数据绑定的语法重点,以及Intellisense的Knockout.

That gave me syntax highlight for Knockout data-binds, as well as Intellisense for Knockout.

还要查看此博客由Mads Christensen撰写的 Web Essentials背后.在博客文章中,他描述了_references.js的用途以及使用方法.

Also check out this blogpost by Mads Christensen, the man behind Web Essentials. In the blog post he describes what _references.js is for, and how to use it.

这篇关于淘汰赛区域突出显示-Visual Studio 2013的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆