简体   繁体   English

如何使用命令行在WebStorm中打开项目(Windows 10)

[英]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.

相关问题 WebStorm-Windows 10的``工具''面板中缺少命令行启动器 - WebStorm - Command Line Launcher is missing from the Tools panel on Windows 10 如何使用Windows命令行打开所有mp3文件? - How to open all mp3 files using windows command line? Windows 10 Universal Power BI App-在命令行/ VBS中打开 - Windows 10 Universal Power BI App - Open in Command Line/VBS 如何使用脚本通过Windows命令行编译Android Project? - How to compile Android Project's with Windows command line using script? 如何使用Windows命令行和参数打开快捷方式 - How to open a shortcut with windows command line and parameters 如何使用for循环通过Windows 10命令行创建许多文件? - How to create many files through the windows 10 command line using a for-loop? 在Windows 10上使用命令行或Powershell关闭“此PC” - Close “This PC” using command line or Powershell on Windows 10 使用 subprocess.run 自动化命令行应用程序(Windows 10) - using subprocess.run to automate a command line application (windows 10) 如何在Windows 10中从命令行运行Web应用程序? - How to run a web application from the command line in Windows 10? tar:打开存档时出错:无法在命令行中打开“wekaUT.tar.gz” Windows 10 - tar: Error opening archive: Failed to open 'wekaUT.tar.gz' in Command Line Windows 10
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM