You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can implement comparing with remote files/folders using VS Code API and additional extension.
For SFTP it is SSH FS (https://marketplace.visualstudio.com/items?itemName=Kelvin.vscode-sshfs). Important - we should use v1.24.1 (as in H marketplace), latest 1.26.1 is slightly broken.
Proposed pipeline:
User has SSH FS installed on their VS Code
User calls command 'Compare with remote file/folder' and enters desired uri (e.g. ssh://user@localhost:2222/data/)
Message with pair of uris is sent to sudu-editor
For local folders/files, sudu-editor retrieve needed information (folder listing, file data, metadata) using existing node.js fs mechanism
For remote folders/files, sudu-editor calls method of FileAccessProvider, registered by VS Code extension. FileAccessProvider reads data using VS Code fs API and returns it to sudu-editor. Access to sftp (for example, password prompt) is handled on this step by SSH FS
I've tested SSH FS extension with various uris (folders and files), that do not belong to VS Code workspace. Everything seems to work fine
The text was updated successfully, but these errors were encountered:
We can implement comparing with remote files/folders using VS Code API and additional extension.
For SFTP it is SSH FS (https://marketplace.visualstudio.com/items?itemName=Kelvin.vscode-sshfs). Important - we should use v1.24.1 (as in H marketplace), latest 1.26.1 is slightly broken.
Proposed pipeline:
SSH FS
installed on their VS Codesudu-editor
sudu-editor
retrieve needed information (folder listing, file data, metadata) using existing node.js fs mechanismsudu-editor
calls method ofFileAccessProvider
, registered by VS Code extension.FileAccessProvider
reads data using VS Code fs API and returns it tosudu-editor
. Access to sftp (for example, password prompt) is handled on this step bySSH FS
I've tested SSH FS extension with various uris (folders and files), that do not belong to VS Code workspace. Everything seems to work fine
The text was updated successfully, but these errors were encountered: