是否可以在IntelliJ IDEA中配置多种类型的终端,例如cmd、powershell、git bash等?
发布于 2019-10-18 17:28:06
目前不可能,但有一个相关的功能请求:https://youtrack.jetbrains.com/issue/IDEA-156939
发布于 2021-08-27 14:49:32
IntelliJ IDEA 2021.2 (2021年7月27日发布)介绍了just this feature。虽然在详细的发行说明(https://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+2021.2+(212.4746.92+build%29+Release+Notes)和documented中还没有明确提到,但IntelliJ现在位于start-up scans a list of predefined shell locations,如果找到了,它会通过弹出菜单提供这些内容:

如果您在非标准路径上安装了shell,例如。IntelliJ将不会检测到D:\progs\Git\而不是默认的Git。一个简单的解决方法是将默认设置符号链接到您的自定义位置,例如。mklink /j C:\Program Files\Git D:\progs\Git in an admin cmd.exe on Windows
https://stackoverflow.com/questions/58445331
复制相似问题