Natizyskunk / vscode-sftp

Super fast sftp/ftp extension for VS Code
Other
381 stars 72 forks source link

Add Delete Remote/Local File/Folder for SFTP Context Menu #132

Open sgtcoder opened 2 years ago

sgtcoder commented 2 years ago

Is this a similar or duplicate feature request? I did not see any.

Is your feature request related to a problem? Please describe. No,

Describe the solution you'd like Add ability to right click and delete from Remote and Local just like Sublime Text has.

Describe alternatives you've considered Have to manually go from local and delete files, then back over to remote to delete files.

Does this project help you?

Natizyskunk commented 1 year ago

You should be able to automatically delete files between your local and your server using this config :

{
    "...",
    "watcher": {
        "files": "**/*",
        "autoUpload": true,
        "autoDelete": true
    },
    "...",
    "syncOption":{
        "delete": true
    },
    "...",
}
    "uploadOnSave": false, // set to false if watcher `autoUpload` is set to true & `files` is set to "**/*".

It's not exactly what you asked for but it's the best i can offer you fofr now.

jjnxpct commented 1 year ago

I think having a way to delete a remote file in the local file list with 'delete remote file' or 'delete local and remote file' would be a nice extra option. Maybe also for folders.