visual-studio-code - 将 git-bash 与 Visual Studio 代码一起使用
问题描述
我通常在 Windows 10 上使用 git-bash.exe,但 Visual Studio 代码似乎使用 bash.exe。bash.exe 似乎非常有限:(
我试图让 bash.exe 变得更有用,或者让 git-bash.exe 在屏幕底部的终端中运行。
有什么建议么?
// this opens the terminal window at the bottom of code
// but as I said, seems limited.
{
"shell": "C:\\Program Files\\Git\\bin\\bash.exe",
"label": "Git bash"
}
// the problem with this is it opens a new window when
// run and I would prefer it be at the bottom.
{
"shell": "C:\\Program Files\\Git\\git-bash.exe",
"label": "Git bash"
},
解决方案
推荐阅读
- java - get() 和 contains() 方法在 HashSet 中找不到对象,尽管可以通过迭代和使用 equals() 找到对象,并且哈希码相同
- php - 改进识别和转换 Unicode 表情符号的功能
- tomcat - 将tomcat7迁移到tomcat9后找不到taglib
- c++ - 是否可以获取基本字符的枚举类的元素数量或核对值?
- node.js - 为什么我不能在 ios 设备上关闭并重新打开 react-native 调试?
- mysql - 如何从查询中选择最大值?
- php - 如何使用 PDO 准备语句在链接中使用 id 号从行中获取数据
- php - 向时事通讯的订阅者发送大量消息
- swiftui - 在两个视图之间传递数据
- c++ - Boost.Hana JSON 示例:string 和 decltype(std::to_string(...)) 之间的区别