gpt4 book ai didi

javascript - 转到 Web Essentials 中的定义

转载 作者:行者123 更新时间:2023-12-03 08:10:46 26 4
gpt4 key购买 nike

我试图理解web essential's Go To Definition feature statement :

Go To Definition is built in to VS2012 and VS2013. This feature makes the feature work with /// <reference> constructs

  • 如果该功能内置于 VS这个功能有什么不同
  • JavaScript 中的引用结构是什么?

根据this , VS 本身可以在 Reference Directives 的帮助下为外部 .js 文件提供智能感知。 ,所以what is the difference

最佳答案

VS Go To Definition 本身可以在 javascript 文件中工作,而不是通过对另一个文件的引用(据说)。 Web Essentials 扩展了此功能。

引用构造已记录,例如,此处:http://msdn.microsoft.com/library/bb385682.aspx#ReferenceDirectives

根据 madskristensencomment

This is not for providing Intellisense, since VS supports that natively. It's for hitting F12 to Go to definition on one of those comments

关于javascript - 转到 Web Essentials 中的定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34157601/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com