Windows系统下PyCharm更换Terminal默认ssh方法

背景

   Windows系统下PyCharm更换Terminal对git不友好,没有Tab键提示功能。

解决办法

保证WIN系统中已经安装git[走默认安装]

地址 https://git-scm.com/downloads

PyCharm 中

打开 file——setting——tools——terminal——application settings——shell path

修改 shell path

改为

"C:Program FilesGitbinsh.exe" --login

原因 :上面的路径是Git的可执行文件

重启 PyCharm 后 Terminal 便拥有git提示了

PyCharm 开启工具栏方法

1、没有工具栏

59bdc1a3e5f1c6c8b39a3ab89dc33595.png

2、 在View中找到Toolbar

ba5510f216dae0ffa73509cae635c3fa.png

3、工具栏设置成功效果图

2c2fac805074970bfecdd6656845579c.png

PyCharm修改Python解释器方法

PyCharm 中

File--->Settings---->Progect---->Progect Interpreter
a4aeeec8ad9f3d7eb1d41911f9407fcc.png

结果图

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. 11 小时前
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 11 小时前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐