For about a second you will see the source in VS Code and then it disapears
Reproduces without extensions: Yes
There looks like there are 2 contributing factors to this issue:
VS Code auto closes tab when file is deleted.
VS Code doesn't keep Open handle on files, and Outlook deletes file as soon as it registers that no other app is holding it.
Comparing to other code editors:
Notepad and Notepad++ hold the handle and Outlook is not immediately deleting the file.
Notepad++ will ask you what to do if it detects that file is delted.
Steps to Reproduce:
Reproduces without extensions: Yes
There looks like there are 2 contributing factors to this issue:
Comparing to other code editors: Notepad and Notepad++ hold the handle and Outlook is not immediately deleting the file. Notepad++ will ask you what to do if it detects that file is delted.