After installation of Node.js 12.16.1 there is no chance to prevent accidental close of IDE with working terminal by setting option Terminal -> Integrated -> Confirm On Exit to true. Popup message with dialog appears, but VS Code doesn't wait for user choice and closes itself almost immediately after the 'window-close' trigger fires.
Previous version of Node.js was 12.13, the behavior was correct on it.
- VSCode Version: 1.43.0 (user setup)
- OS Version: Windows 10 Pro x64, version 1909, build 18363.720
Steps to Reproduce:
- Install Node.js v12.16.1.
- Install Git for Windows v2.25.1-64-bit.
- Set option
"terminal.integrated.confirmOnExit": true.
- Set option
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe".
- Launch
Developer: Reload Window from Command Palette, or close window with IDE instance via click on cross-button, or push Alt + F4 keyboard shortcut.
Does this issue occur when all extensions are disabled?: Yes
After installation of Node.js 12.16.1 there is no chance to prevent accidental close of IDE with working terminal by setting option
Terminal -> Integrated -> Confirm On Exittotrue. Popup message with dialog appears, but VS Code doesn't wait for user choice and closes itself almost immediately after the 'window-close' trigger fires.Previous version of Node.js was 12.13, the behavior was correct on it.
Steps to Reproduce:
"terminal.integrated.confirmOnExit": true."terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe".Developer: Reload Windowfrom Command Palette, or close window with IDE instance via click on cross-button, or pushAlt + F4keyboard shortcut.Does this issue occur when all extensions are disabled?: Yes