haoide icon indicating copy to clipboard operation
haoide copied to clipboard

Improved "Retrieve From Server" option

Open Xtremefaith opened this issue 9 years ago • 2 comments

First off, not sure when it happened, but I love the improvements on the "Retrieve From Server" context menu here:

image

It lets me select an environment to pull FROM but it pulls it INTO the environment I'm in. This is perfect!! (this wasn't always the case)

Now that it functions as expected my only hope is to have the option no matter what my current project is. For example if I'm working in production but my selected project is beta then the context menu does not appear. So I have to switch projects to production so that the menu appears and then when it ask me where to pull from I have to select beta. It seems like a very unnecessary step; since it is going to prompt me anyways to select the project to pull from then what does it matter what project is currently selected?

Also if this can be changed is it possible to also then give it a command that we can bind to a hot key as well?

Xtremefaith avatar Jun 10 '16 00:06 Xtremefaith

@Xtremefaith , there already has a command in the command palette named HaoIDE: Retrieve from Server, if you want to add your own key binding for this command, you can paste below content to Key Bindings > Key Bindings - User,

[
    {
        "keys": ["ctrl+r+f"], 
        "command": "retrieve_file_from_server"
    }
]

xjsender avatar Jun 11 '16 02:06 xjsender

@Xtremefaith , related to your mentioned point 1, I need to do some investigate on it before do that.

xjsender avatar Jun 11 '16 02:06 xjsender