如何將 Git Bash 整合進 WebStorm?

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

内容简介:如何將 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


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

查看所有标签

猜你喜欢:

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

Complete Web Monitoring

Complete Web Monitoring

Alistair Croll、Sean Power / O'Reilly Media / June 29, 2009 / GBP 39.99

Do you know the true value of your website to your organization? i??Complete Web Monitoringi?? shows you how to integrate several different views of your online business - including analytics, back-en......一起来看看 《Complete Web Monitoring》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具