Terminal keymap Close Session shortcut Ctrl+D doesn't exit for PowerShell
已回答
This is on Windows 10 Pro. In PhpStorm > File > Settings > Keymap > search for ‘terminal’ then find Terminal > Close Session, it's set to Ctrl+D. Using that shortcut on the terminal prompt with the tab open does nothing, when it's supposed to exit the shell.
请先登录再写评论。
This feature is specific to the terminal shell. Ctrl+D sends EOT (End of Transmission) signal to the terminal. Apparently, windows shells (cmd.exe and powershell.exe) do not support it. If it doesn't work in the standalone terminal for you, it will also not work in IntelliJ IDEA terminal.
If you want to close the terminal tab, use the shortcut for Close Tab action instead.