remote-edit icon indicating copy to clipboard operation
remote-edit copied to clipboard

Feature request: upload local file in host with the exact same path

Open nahuelhds opened this issue 7 years ago • 0 comments

Context: I don't need to see the online files often as I work with git and with a Continue Integration flow. Anyway there are times where I need to apply a quick fix and I only want to commit it once I know that works fine online first. So...

Request: Say I'm working on a template file, like "template/my.tpl". Right now I do the following:

  • Use the remote-edit package, so I select the host and then navigate to the file.
  • I have the local file and the online file.
  • Modify the online file till I see it's okay.
  • Copy and paste the remote file into the local one.

What I'd like (if possible of course).

  • Open the local file.
  • Modify file.
  • Use a new function to upload the file with path "template/my.tpl".
  • The package would request to select the host (like when you start navigating with the package)
  • Option to remember the host for the file (so I don't have to select it everytime I want to upload it).
  • Once I've select the host, the package would upload the file with path "template/my.tpl" in the host I've selected. Of course, this would override any existent file. ¿If the file doesn't exists, it would create it? (I don't "need" this feature but...)
  • Now everytime I save the file, it's uploaded automatically.

This way it'd be easier to do such thing.

Excellent plugin of course!

Bye!

nahuelhds avatar Sep 21 '16 18:09 nahuelhds