I am trying to launch my Vagrant directly from Phpstorm 6 but I am not able to find the command (Windows).
Screenshot : https://i.sstatic.net/d8aUA.png
Is there anything I could do to make it works ?
Thanks!
Have you created an alias for vagrant
in "Settings | Command Line Tool Support" ?
Command Line Support Tool does not know what vagrant
is, so it tries to execute whole command as is. The problem is -- proper name of app should be vagrant.bat
(or vagrant.cmd
-- do not remember) -- IDE does not add .bat/.exe/etc automatically like DOS/Windows does.
So either use vagrant.bat up
command instead .. or (which is better) create an alias.
P.S. PhpStorm v7 will search for .bat/.cmd/.exe/etc in your PATH if exact command cannot be found. Still -- making an alias is the best/safest way to go here in Command Line Tools.