vscode-remote-workspace
vscode-remote-workspace copied to clipboard
Partial loading of big files after update - large files then truncated on save!
Since taking the new vscode and remote workspace updates today, large files are only partially loading. Not sure what else to add. Before the updates large files would open in full. i.e. only 1900 lines are loading in a file that has 4000, but in another file, only 600 lines are loading in a file of 2000.
version 0.41
when a file is then saved only the truncated lines are saved - this leads to data loss!
Same problem here
Same here, and also saved a change causing the data to be lost. Following on from the sftp bug, I'm thinking of moving to jEdit.
Yes, this is a major issue that sprouted in the last update.
When saving a large file, it gets truncated.
One only finds out after closing the file and opening it again.
Same problem
Same problem. Looking in to switching to netbeans now.
P.S. NetBeans is so much better in every imaginable way. Switch now. Never look back. It's fast, it let's me actually search all my remote files, I can even compile and run my c/c++ remotely and display the output right in the NetBeans console. Things like Go-to-definition actually work. I will not be coming back to visual studio code until remote support is built in natively, not provided by an always-broken extension.
+1 Always the same file gets cut for the 3rd time at line 1686 out of 2181, but the remote original is still correct, until I save the file in vscode-remote-workspace plugin.
Same problem on me. And if you saved the partial loading file, it would cover the origin one. That a big problem.
This is hardly a problem of vscode-remote. Most probably it is ssh2 issue. @mkloubert Please take note of this issue, this is quite breaking.
same problem. Please make it correct soon
I'm having the same issue. Went back to Atom while this gets resolved.
@mkloubert same probleme here, files (even not so big ones) get truncated on sftp servers thank you.
Moreover creating files is hard, the file newly created doesn't open, need to delete it via filezilla and recreate a new one via filezilla
thank you
Same issue here!
Same problem here. After some tests, it seems that the limit is not based on the number of lines but on the number of characters, which is 65536. Anyone to confirm?
something like this...it's dependant of the file size
I noticed that 'ssh2-streams' js lib also reported a content lost issue on SFTP connection. Is it the root cause? https://github.com/mscdex/ssh2-streams/issues/43
@zivyou Definitely.
This is a great extension but has numerous bugs, sftp experience is sketchy and it's not being actively improved. Is there an active fork that is being maintained and improved?