I’m editing a Python file stored on a samba server from Atom 1.18 on my Mac. It’s accessible via a path like /Volumes/(myvolume)/foo/bar.py.
If the samba server is disconnected when I next attempt to save the file, instead of indicating an error condition (as most editors do) when the underlying directory disappears, Atom instead just creates a directory tree under /Volumes/(myvolume) on the local disk and saves the file there. This is confusing at best, and prevents me from being able to re-mount the samba server without clobbering the newly-created directory tree.
Do others encounter this problem? Any suggested solutions? Selecting “Core Settings” -> “Close Deleted File Tabs” does not help.