vscode-share icon indicating copy to clipboard operation
vscode-share copied to clipboard

Upon connection, empty the files content for other tabs

Open zeachco opened this issue 8 years ago • 4 comments

Cool project but not quite ready to share existing codebase.

zeachco avatar May 11 '17 18:05 zeachco

@zeachco Thanks for the feedback! Yes, I did it as a university project, but I'm considering making it more robust.

Can you elaborate, what do you mean by empty the files content for other tabs?

lyuboraykov avatar Nov 15 '17 19:11 lyuboraykov

Nice plugin!

It seems that vscode will add this feature.

https://code.visualstudio.com/blogs/2017/11/15/live-share

joeky888 avatar Nov 21 '17 06:11 joeky888

Yes, true, most probably there wouldn't be a need for this extension when they release it.

But I'm glad, this means that the feature is useful and it will be widely available.

lyuboraykov avatar Nov 22 '17 21:11 lyuboraykov

Sorry for the late answer @lyuboraykov it's likely a race condition between two connected computer editing and saving the same file at almost the same time which cause one of the two clients to end up with an empty content (caused most of the time by the autosave setting but can be forced manually by abusing saves).

zeachco avatar Nov 23 '17 18:11 zeachco