How to open a terminal on WebStorm?

前端 未结 13 1624
心在旅途
心在旅途 2020-12-29 01:07

How do I get WebStorm to open a terminal?

When I try to do it I get an Exception:

\"java.io.IOEXception:couldn\'t create PTY\"

git

13条回答
  •  灰色年华
    2020-12-29 01:40

    Go to File -> Settings -> Tools -> Terminal and change Shell path based on the the installed git version.

    for 64bit:
    "C:\Program Files\Git\bin\sh.exe" -login -i

    for 32bit:
    "C:\Program Files (x86)\Git\bin\sh.exe" -login -i

    Don't forget the quotes around the command.

提交回复
热议问题