通过终端从现有文件夹在 WebStorm IDE 中打开新项目
Open new project in WebStorm IDE from existing folder via terminal
是否可以通过终端用新项目打开 WebStorm IDE。
我想创建新文件夹,然后将 IDE 作为新项目启动,并将此文件夹作为根目录。
首先你必须自己创建项目根文件夹。
然后——只需将完整路径传递给 WebStorm 可执行文件(webstorm
或(旧名称)wstorm
)作为参数——IDE 将在那里打开现有项目(如果它找到 .idea
子文件夹)或将为该文件夹创建新项目:
webstorm /path/to/the/project/
https://www.jetbrains.com/help/webstorm/2016.3/opening-files-from-command-line.html
P.S.
如果无法识别 webstorm
命令——使用 Tools | Create Command Line Launcher...
创建这样的 alias/command.
是否可以通过终端用新项目打开 WebStorm IDE。
我想创建新文件夹,然后将 IDE 作为新项目启动,并将此文件夹作为根目录。
首先你必须自己创建项目根文件夹。
然后——只需将完整路径传递给 WebStorm 可执行文件(webstorm
或(旧名称)wstorm
)作为参数——IDE 将在那里打开现有项目(如果它找到 .idea
子文件夹)或将为该文件夹创建新项目:
webstorm /path/to/the/project/
https://www.jetbrains.com/help/webstorm/2016.3/opening-files-from-command-line.html
P.S.
如果无法识别 webstorm
命令——使用 Tools | Create Command Line Launcher...
创建这样的 alias/command.