简体   繁体   中英

How to open a project in WebStorm, using the command line (Windows 10)

I would like to open WebStorm from the command line.

My goal is, when I have navigated to the right directory on my PC, to use a command, which opens the current directory as a project in WebStorm.

The syntax to open a project from command line on Windows is path/to/WebStorm.exe path/to/your/project - see https://www.jetbrains.com/help/webstorm/2016.2/working-with-webstorm-features-from-command-line.html#d279626e72 . You can add %WebStorm installation directory%/bin to your system %PATH% to be able to run WebStorm using WebStorm command instead of entering a full path to exe.

To open current directory as a project, you can (in principle) just run WebStorm . . But this doesn't currently work ( IDEA-108586 ). You can try using WebStorm.bat . instead

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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