You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we go to disk each time to check if the file on disk has changed
Proposed:
show the file instantly without going to disk
check for the file having changed in the background
The consequences are:
files will load instantly when opened once during the session (good)
if the file has changed on disk (and we missed the file event when this happened) it is possible that the editor is updated later (I think that is OK)
if the user manages to make the file dirty before this update happens, the risk of seeing a save conflict (not ideal, but this is should not be the 99% case)
Overall this optimizes performance for the 99% case and especially remote editing scenarios where resource access is potentially slow.
The text was updated successfully, but these errors were encountered:
In some cases user wishes keeping the opened editor content as is and not updating to new content. I think there should be a dialog to notify user of file content change and confirm whether to load changed file. The dialog is per file, and has 4 options of: Yes, No, Yes for all, and No for all, so user can
have fine grained control when needed, and no bother when not needed. And provide a command to let user manually load changed file.
Setup:
Today:
Proposed:
The consequences are:
Overall this optimizes performance for the 99% case and especially remote editing scenarios where resource access is potentially slow.
The text was updated successfully, but these errors were encountered: