使用PowerShell作为WebStorm终端并在当前项目文件夹中打开

时间:2016-05-26 07:20:25

标签: powershell webstorm

我正在使用WebStorm 2016.1,并使用powershell.exe作为WebStorm终端设置中的shell路径,将PowerShell配置为终端:

enter image description here

当我打开终端时,它不会在当前项目文件夹中打开,而是在我的主文件夹中打开。

enter image description here

如何在当前项目文件夹中打开它?

1 个答案:

答案 0 :(得分:3)

对我来说很好。你有PowerShell $ PROFILE文件吗?如果是,请检查是否在那里指定了“设置位置”。另请参阅https://superuser.com/questions/507387/autorun-for-powershell