Can I automatically run a terminal command when opening a PHPStorm project?

旧城冷巷雨未停 提交于 2019-12-21 01:46:07

问题


I've got a Gulp workflow that I'd like to automatically launch upon opening my project in PHPStorm. Is this possible?


回答1:


Not possible at the moment.

https://youtrack.jetbrains.com/issue/WEB-11818 -- watch this and related tickets (star/vote/comment) to get notified on progress.


UPDATE: This functionality is now implemented and available since PhpStorm v10 / WebStorm v11 -- look for it under Settings/Preferences | Tools | Startup Tasks.

This allows you to execute any existing (or create new) Run/Debug Configurations on project opening. This includes Gulp/Grunt tasks as they can be invoked via Run/Debug Configurations functionality.



来源:https://stackoverflow.com/questions/27945062/can-i-automatically-run-a-terminal-command-when-opening-a-phpstorm-project

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!