Hello, I'm using VSCode as external editor. if I press F4 key to edit a file in a remote directory, the file is open in VSCode, but it is empty. It works if instead I open it through the contextual menu.
VSCode does not supports KIOslaves directly (it should rely on GIO), if you edit a remote file, VSCode will receive a path like ftp://user@server/filename, if you look at the path in the empty file you'll see <cwd>/ftp:/user@server/filename because it treats it like a local path (file://). The directory <cwd> is the path the Krusader panel had before connecting the remote folder. There are no plan to support an internal editor without KIO, a possible solution is to connect the remote folder with FUSE.
Note: This is related to https://bugs.kde.org/show_bug.cgi?id=442216