Open ShimShamSam opened 5 years ago
@aeschli Should this already work? I see 'Reading...' in the terminal, an editor tab opens, but the editor remains empty:
Yes, this should work. I just tested this with Remote-SSH and with a 'Try a sample' container and it worked: The editor opens with content 'foo'. The cli command comes back when the editor is closed.
It doesn't immediately work in a new terminal. Opening and closing another editor makes the content appear. Maybe some buffer is not flushed?
The content is written to a temp file while the editor is opening. Maybe file changes are not tracked properly by the editor?
I don't see the bug, so @chrmarti if you can debug it on you machine that would be great.
When using the integrated terminal on my local machine, I can pipe output to VSCode using something along the lines of:
Is there a way to do this in Remote Development- SSH?