如何將 Git Bash 整合進 WebStorm?

栏目: 编程工具 · 发布时间: 6年前

内容简介:如何將 Git Bash 整合進 WebStorm?

WebStorm for Windows 的 terminal 預設是使用 Windows 內建的 Command Prompt,但可惜內建的 Command Prompt 不強,而 Git Bash 是 Git for Windows 所提供的 git 文字介面,讓我們可以直接對 git 下指令,並顯示當前的 branch,重點是能在 Windows 使用 Bash,且整合進 WebStorm 的 terminal。

Version

WebStorm 2017.1.4

Git for Windows 2.13.1

下載 Git Bash

Git for Windows 下載 Git Bash。

如何將 Git Bash 整合進 WebStorm?

安裝 Git Bash

基本下都 下一步 即可。

設定 WebStorm

如何將 Git Bash 整合進 WebStorm?

File -> Settings -> Tools -> Terminal

  • Shell path : "C:\Program Files\Git\bin\sh.exe" -login -i

重新啟動 WebStorm。

執行 Git Bash

如何將 Git Bash 整合進 WebStorm?

Conclusion

  • Git Bash 算是在 Windows 下最接近 Linux 血統的 terminal,實務上完全可以取代 Windows 內建的 Command Prompt。
  • WebStorm 的 terminal 也能順利跑 Git Bash。

Reference


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

The Everything Store

The Everything Store

Brad Stone / Little, Brown and Company / 2013-10-22 / USD 28.00

The definitive story of Amazon.com, one of the most successful companies in the world, and of its driven, brilliant founder, Jeff Bezos. Amazon.com started off delivering books through the mail. Bu......一起来看看 《The Everything Store》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具