Terminal keymap Close Session shortcut Ctrl+D doesn't exit for PowerShell

Answered

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.

0
1 comment

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.

0

Please sign in to leave a comment.