vs代码节点js中没有intellisense [英] There is no intellisense in vs code node js

查看:33
本文介绍了vs代码节点js中没有intellisense的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 代码中没有智能.我已经安装并尝试了许多扩展,但它并没有帮助我.它只显示我的代码文件中已经使用的那些函数和变量.这是我安装的扩展列表和屏幕截图.

There is no intellisence in visual studio code. i have installed and tried many extensions but it does not helping me out. It only shows those functions and variables that are already used in my code file. Here is the list on extension i have installed and the screenshot.

推荐答案

vs 代码没有问题我只是通过

There is no problem with the vs code i just solve this by

npm install --save @types/node

这是开发依赖项之一,—save 只是一个参数,反映了 package.json 文件中与此相关的信息

This is one of development dependencies and —save is just an argument that reflect the info related to this in your package.json file

这篇关于vs代码节点js中没有intellisense的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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