-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Connection is lost after save #292
Comments
Ok, I think I figured out why this is happening: When the file is created it is using an
from the documentation for onDidCloseTextDocument :
The onDidCloseTextDocument event is being triggered on save because the untitled document is "closed" when it gets saved to disk and becomes a file document. |
A possible solution:
the other issue is that the
vs
|
VSCode's document management is a joke. I think I just need to avoid using untitled:// This was also mentioned in another issue: autosave to avoid closure prompts |
Can this be something like how |
I don't remember if this is a consequence of VSCode's document management, but it's not a desired behavior. We're used to saving often so it should not trigger connection closure when one mistakenly saves a GhostText document.
Extracted from:
The text was updated successfully, but these errors were encountered: