vscode-sshfs icon indicating copy to clipboard operation
vscode-sshfs copied to clipboard

Navigate out of the "Root" subtree when using a configuration as workspace folder

Open CMR-DEV opened this issue 2 years ago • 0 comments

Many thanks for this awesome plugin!

When I use the "Root" setting in a configuration (say /home/somebody) it is obviously possible to navigate to a parent or other location by cd .. or cd /etc/whatsoever as long as this connection is opened in terminal. However, when the configuration is used as workspace folder the file tree intentionally for sure becomes limited to this "Root" directory with no chance to navigate to a parent location. Of course one could create and follow a symlink ln -s / root or a bind mount on the host system in order to access the file system root, but that is no very intuitive in my opinion.

Question is: Is it possible to somehow access parent locations when a connection is used as a workspace folder despite using this "Root" setting without creating a symlink? Otherwise, I'd love to have a setting like "Only expand file tree to this root location when used as a workspace folder" under the "Root" setting. Could be a single checkbox etc.

CMR-DEV avatar Aug 14 '22 13:08 CMR-DEV