Same as SFTP extension for VS Code ? #12082
-
Do you think it would be a good idea to think about an SFTP extension like the one from VSCode? https://marketplace.visualstudio.com/items?itemName=Natizyskunk.sftp In my case, yes, because I like to work locally and then push the code to my remote server. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
If all you care about is some SFTP uploading command have a CLI tool working already, you might consider using tasks: https://zed.dev/docs/tasks Zed can store a definition of that "upload to SFTP" bash invocation generic over project path and a few other things, and launch that via a single shortcut/task modal invocation. As for the full extension, currently that would be rather hard, as this is what any Zed extension is limited with: zed/crates/extension_api/src/extension_api.rs Lines 59 to 118 in d5fe2c8 and the extensions run in wasm runtime, isolated from most of the world by default. |
Beta Was this translation helpful? Give feedback.
-
Did you find a solution you were satisfied with? This has become an integral part of my workflow, and in trying Zed it has become a stumbling block for me. |
Beta Was this translation helpful? Give feedback.
If all you care about is some SFTP uploading command have a CLI tool working already, you might consider using tasks: https://zed.dev/docs/tasks
Zed can store a definition of that "upload to SFTP" bash invocation generic over project path and a few other things, and launch that via a single shortcut/task modal invocation.
As for the full extension, currently that would be rather hard, as this is what any Zed extension is limited with:
zed/crates/extension_api/src/extension_api.rs
Lines 59 to 118 in d5fe2c8