Description
I don't know if this is actually supported by the devs at this point, since the whole SSH-thing is still new on Windows. So I'm asking here. If it is valid for a bug report, please tell me the info you need, since it concerns VSCode, PowerShell 7 across 2 systems.
I enabled PSRemoting from my Windows to my Linux box. Since it has no GUI, I figured I should do an Enter-PSSession in the VSCode terminal, then develop my code from VSCode.
There is some unexpected behavior. First, a cosmetics issue. Tab completion on filesystem paths will always show a backslash instead of a forward slash. So I type /tm
, press TAB and it turns into /tmp\
. This does not happen if I first SSH to the Linux box and then start pwsh from its local shell. It is no problem, since it will automatically turn into a forward slash if I TAB-complete the next level.
More importantly, if I select a line in VSCode and press F8 to execute it, two things happen. First, if there is no output, the line will be copied to the terminal but not executed. I need to manually press Enter in the terminal window in order to actually execute the code. This also happens on the last line of a multi-line block and with both settings of the focusonexecute setting. Windows/Unix line feed differences?