[英]Intellij Windows Terminal as terminal (in ide)
我将 WSL 与 Ubuntu 18.04 一起使用。
In Intellij i want to change terminal to Windows Terminal (or Ubuntu Terminal), but when I add wt.exe
as shell path (File -> Settings -> Tools -> Terminal), ide returns new window with Windows Terminal (not on the ide的底部)。
我还使用了 Windows Terminal.exe 路径,但它不起作用。
C:\Users\USER\AppData\Local\Microsoft\WindowsApps\Microsoft.WindowsTerminal_8wekyb3d8bbwe/wt.exe
You can't use GUI app as the terminal shell in IntelliJ IDEA, use the command line app like cmd.exe
, powershell.exe
or c:\Windows\System32\bash.exe
.
现在,您可以在 IntelliJ IDEA 的终端设置中使用wsl.exe
字符串,在 IDE 中使用 WSL 终端,如文档所述:
Shell 路径
指定默认运行的 shell。 以下是不同 shell 的一些示例:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.