简体   繁体   English

WebStorm节点配置气球

[英]WebStorm node configure balloon

I am using WebStorm for a Node.js project, and I keep getting a warning balloon which is rather annoying, and I can't remove. 我正在将WebStorm用于Node.js项目,但我不断收到一个警告气球,这很烦人,无法删除。

在此处输入图片说明

I have tried various things to remove, but have not been successful. 我尝试了各种删除操作,但未成功。 What I have tried : 我尝试过的

  1. Files-> Settings-> Notifications -> I have disabled balloon notifications. 文件->设置->通知->我已禁用气球通知。

  2. Files -> Settings -> Languages & Frameworks -> Node.js and NPM 文件->设置->语言和框架-> Node.js和NPM

在此处输入图片说明

The configuration of the node modules does not work here either. 节点模块的配置在这里也不起作用。

Anyone know how to remove the balloon? 有人知道如何移除气球吗?

Just guessing, but it might be easier just to configure Node.js sources and add the libraries. 只是猜测,但是仅配置Node.js源并添加库可能会更容易。

For Webstorm 9+: 对于Webstorm 9+:

Try selecting the 'Download from Internet' option instead Or determine what your source root directory should be (The default here is not correct for you). 尝试选择“从Internet下载”选项,或者确定源根目录应该是什么(默认设置对您而言不正确)。

Then, one or more of the following: 然后,执行以下一项或多项操作:

  • A. Right-Click in the editor panel > Use Javascript Library > Node.js Globals A.右键单击编辑器面板>使用Javascript库> Node.js Globals
  • B. Repeat A, but select Node.js Core Modules B.重复A,但选择Node.js核心模块

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

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