[英]How to open a project in WebStorm, using the command line (Windows 10)
I would like to open WebStorm from the command line. 我想从命令行打开WebStorm。
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. 我的目标是,当我导航到我的PC上的正确目录时,使用命令,该命令将当前目录打开为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 . 在Windows上从命令行打开项目的语法是
path/to/WebStorm.exe path/to/your/project
- 请参阅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. 您可以将
%WebStorm installation directory%/bin
到系统%PATH%,以便能够使用WebStorm
命令运行WebStorm,而不是输入exe的完整路径。
To open current directory as a project, you can (in principle) just run WebStorm .
要将当前目录作为项目打开,您(原则上)可以只运行
WebStorm .
. 。 But this doesn't currently work ( IDEA-108586 ).
但这目前不起作用( IDEA-108586 )。 You can try using
WebStorm.bat .
您可以尝试使用
WebStorm.bat .
instead 代替
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.