Call the command line directly in the Webstorm

Source: Internet
Author: User

Ctrl+alt+s Open the setting menu and find external tools
Dot + number, fill in the Blanks in tool setting:
Program-and external command location, fill in the full path of NPM
Parameters-parameters, set here to $Prompt $ when you run a command, the popup window allows you to enter
In which directory working directory, run this command, enter $projectfiledir$ to run under the current project's root directory.
Click on the right of the Insert macro can see more options, in addition to macro instructions, Webstorm will also tell you the corresponding macro in the current environment is a value, not afraid to read E.

Finally give this command a name, called NPM to save the finished, in the top menu to find tools to see just saved NPM. Clicking on it will pop up a window and enter install Express to try it out.

Call the command line directly in the Webstorm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.