I have VSCode with the extension remote-ssh installed. I connect to a remote host by username and IdentityFile.
To access certain files on the remote host, I have to switch users using su <user>. But when I switch users, I can only access the file in the terminal and not in the file explorer and therefore I'm unable to use the graphical editor of VSCode to edit my files.