idea中Terminal终端无法执行GIT命令: touch README.md问题解决
terminal
The new Windows Terminal and the original Windows console host, all in the same place!
项目地址:https://gitcode.com/gh_mirrors/term/terminal
免费下载资源
·
=============================记录Start=============================
**为了这个问题折腾了半天...在这里记录下,方便大参考,欢迎评论提出宝贵意见,谢谢!**
问题说明:
解决方法一:
◆打开IDEA,按照路径 Fie--》Settings --》 Tools --》Terminal找到后设置右边的Shell path(自己安装的Git路径下相对位置),如下图所示
不完美之处:当我们点击idea中的Terminal终端时,会自动弹出Windows安装的bash窗口,如下图所示:
解决方法二:
◆更改路径即可git\bin\bash.exe或 Git\bin\sh.exe然后重新启动idea即可
********************88注意:每次更改完成后需要重新启动IDEA******************
=============================记录End=============================
GitHub 加速计划 / term / terminal
94.53 K
8.17 K
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:2 个月前 )
d04381ec
"HighContrast" is not a possible requested theme. So `_UpdateBackgroundForMica()` would force the settings UI to be light or dark. To fix this, we just check if we're in high contrast mode and, if so, we don't bother setting the requested theme. 6 天前
e83434ff
Turns out that having the styles for the KeyChordText and ParsedCommandLineText be empty for high contrast mode caused the issue. Since we're already using theme resources for the colors, we automatically adjust properly to whatever the high contrast theme is (Thanks XAML!).
Bonus points:
- we didn't need the theme dictionaries anymore, so I just moved them to the ResourceDictionary directly
- ParsedCommandLineTextBlockStyle isn't used. So I removed it altogether.
Validated command palette with multiple high contrast themes. See PR thread for demo.
Closes #17914 6 天前
更多推荐
已为社区贡献3条内容
所有评论(0)