简体   繁体   English

在Visual Studio 2017中没有d3.js的智能感知

[英]No intellisense for d3.js in Visual Studio 2017

I am using Visual Studio 2017 to do some d3.js coding on an HTML file. 我正在使用Visual Studio 2017在HTML文件上进行一些d3.js编码。 I notice there is an extension in VS Code for intellisense for d3.js but I cannot find anything similar for VS 2017. Is there a way to use the VS Code extension in VS 2017 or am I missing d3 intellisense elsewhere? 我注意到d3.js的Intellisense的VS Code中有一个扩展名,但我找不到VS 2017的相似之处。是否有办法在VS 2017中使用VS Code扩展名,或者我是否在其他地方缺少d3 intellisense? I am coding in a blank project, HTML files. 我在空白项目HTML文件中编码。

Thank you. 谢谢。

You really should be using Visual Studio Code for javascript as it is geared much more towards the job and the community mostly makes extensions for Visual Studio Code. 您确实应该使用Visual Studio Code for javascript,因为它更适合这项工作,并且社区大多在扩展Visual Studio Code。 However, if for some reason you can't use Visual Studio Code you can reference this tutorial and attempt to create you own custom IntelliSense extension. 但是,如果由于某种原因您不能使用Visual Studio Code,则可以参考本教程并尝试创建自己的自定义IntelliSense扩展。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM