sveale / remote-edit

remote-edit
MIT License
146 stars 55 forks source link

Suggestion: keep connection alive #175

Open controversial opened 8 years ago

controversial commented 8 years ago

I have no idea if this is still being actively developed. I kind of assume it's not, since @sveale's last contribution was Feb 22. Anyway, I was wondering if it'd be possible to implement a mechanism by which connections aren't closed so quickly. If I want to open multiple remote files all at once, remote-edit has to reconnect every time, which is sometimes slow. Would it be possible to keep connections alive longer, just for convenience? Maybe the connection to the server could be automatically closed after something like 5 minutes?

sveale commented 8 years ago

Hi 😊. It's still being maintained, but I don't have that much time nor do I use the plugin myself anymore. You're more than welcome to submit a PR. Sounds like a good idea. Maybe adding an option so the user can specify the time?

Den 24. mar. 2016 kl. 21.24 skrev Luke Deen Taylor notifications@github.com:

I have no idea if this is still being actively developed. I kind of assume it's not, since @sveale's last contribution was Feb 22. Anyway, I was wondering if it'd be possible to implement a mechanism by which connections aren't closed so quickly. If I want to open multiple remote files all at once, remote-edit has to reconnect every time, which is sometimes slow. Would it be possible to keep connections alive longer, just for convenience? Maybe the connection to the server could be automatically closed after something like 5 minutes?

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

controversial commented 8 years ago

I'll try. I haven't looked at the code for this all, but I'll see what I can do. I'm familiar with but not great at JavaScript, but I have no experience with CoffeeScript, and know next to nothing about Atom's package system.

That said, if it's an easy fix modifying existing code I might be able to scrape something together with a little googling.

You say you no longer use this package. Is this because you no longer do remote editing with Atom, or have you found another solution? If it's the latter, I'd love to hear it. On Thu, Mar 24, 2016 at 4:30 PM Sverre Aleksandersen < notifications@github.com> wrote:

Hi 😊. It's still being maintained, but I don't have that much time nor do I use the plugin myself anymore. You're more than welcome to submit a PR. Sounds like a good idea. Maybe adding an option so the user can specify the time?

Den 24. mar. 2016 kl. 21.24 skrev Luke Deen Taylor < notifications@github.com>:

I have no idea if this is still being actively developed. I kind of assume it's not, since @sveale's last contribution was Feb 22. Anyway, I was wondering if it'd be possible to implement a mechanism by which connections aren't closed so quickly. If I want to open multiple remote files all at once, remote-edit has to reconnect every time, which is sometimes slow. Would it be possible to keep connections alive longer, just for convenience? Maybe the connection to the server could be automatically closed after something like 5 minutes?

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/sveale/remote-edit/issues/175#issuecomment-201005781