This time I will bring you a detailed explanation of the steps for webstorm configuration to support nodejs auto-completion. What are the precautions for webstorm configuration to support nodejs auto-completion. The following is a practical case, let's take a look.
1. Configure support for nodejs
Configure nodejs support, the latest version of 2017.02 downloaded by the blogger, if you already have it after downloadingInstallednode, then the IDE will automatically find the location of the node and add the configuration like myeclipse, without you needing to configure it manually.
If you are unsuccessful, then go to File->Setting->enter Node.js (select and click in)->Node imterpreter (select the installation path of node) ->Confirm
2. Set up automatic completion
First you need to download the core code, File->Setting->Enter Node .js (select and click in) ->The second line has enable (the narration is about whether the source code downloads the application) ->Confirm
Then File->Setting->Language&Frameworks->JavaScript->Libraries->Check Nodejs Core->Confirm
I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the php Chinese website!
Recommended reading:
How to use the http server in angularjs
Summary of commonly used JavaScript interception string methods
The above is the detailed content of Detailed explanation of webstorm configuration to support nodejs automatic completion steps. For more information, please follow other related articles on the PHP Chinese website!