-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node Explorer: accept subdirectories of ~ for root directory #230
Conversation
Signed-off-by: Naman Sood <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this resolves the issue of displaying the directory, but results in new files/folders not being able to be created.
I think you can resolve this by expanding the tilde after we capture homeDir
with this.fsProvider.getHomeDirectory
. SFTP doesn't work with a tilde, so we have to expand it when we create the root of the tree and use that going forward.
Signed-off-by: Naman Sood <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! - tested
Fixes #200. --------- Signed-off-by: Naman Sood <[email protected]>
``` % git log --pretty=oneline v0.6.2..release-branch/v0.6 (HEAD -> release-branch/v0.6) chore(deps): update dependency @vscode/vsce to ^2.21.0 (#223) chore(deps): update dependency @types/vscode-webview to ^1.57.2 (#218) chore(deps): update dependency concurrently to ^8.2.1 (#219) chore(deps): update dependency lint-staged to ^13.3.0 (#196) tsrelay: update for 1.50 (#239) Node Explorer: prompt to add nodes to SSH config file for VSCode remotes list (#233) Node Explorer: accept subdirectories of ~ for root directory (#230) File Explorer: add configuration option to hide dotfiles (#221) package.json: Remove from testing category (#226) chore(deps): update dependency swr to ^2.2.2 (#195) chore(deps): update dependency @types/react to ^18.2.21 (#194) chore(deps): update eslint (#137) package.json: Updates the description (#215) README.md: Use lowercase "internet" (#216) ``` --------- Signed-off-by: Tyler Smalley <[email protected]> Co-authored-by: Naman Sood <[email protected]>
``` % git log --pretty=oneline v0.6.2..release-branch/v0.6 (HEAD -> release-branch/v0.6) chore(deps): update dependency @vscode/vsce to ^2.21.0 (#223) chore(deps): update dependency @types/vscode-webview to ^1.57.2 (#218) chore(deps): update dependency concurrently to ^8.2.1 (#219) chore(deps): update dependency lint-staged to ^13.3.0 (#196) tsrelay: update for 1.50 (#239) Node Explorer: prompt to add nodes to SSH config file for VSCode remotes list (#233) Node Explorer: accept subdirectories of ~ for root directory (#230) File Explorer: add configuration option to hide dotfiles (#221) package.json: Remove from testing category (#226) chore(deps): update dependency swr to ^2.2.2 (#195) chore(deps): update dependency @types/react to ^18.2.21 (#194) chore(deps): update eslint (#137) package.json: Updates the description (#215) README.md: Use lowercase "internet" (#216) ``` --------- Signed-off-by: Tyler Smalley <[email protected]> Co-authored-by: Naman Sood <[email protected]>
Fixes #200.