I just released version 1.6, which includes the much-requested remote server browsing and editing. Enjoy!
Sublime SFTP and FTP Plugin (w/ Remote Browsing)
Damnā¦
Will, I think you have too much time on your hands . This is pretty incredible. Iāll definitely buy it soon. (BTW, did you raise the price with this release?)
[quote=āC0D312ā]Damnā¦
Will, I think you have too much time on your hands . This is pretty incredible. Iāll definitely buy it soon. (BTW, did you raise the price with this release?)[/quote]
I hope you find it useful!
In terms of the price, it actually went down a little with the release. I have done some experimentation with the price to make sure I can sustain the work on it, but at the same time make it affordable enough. The actual history is $8 -> $15 -> $19 -> $16. Iāve found it takes quite a bit of development and support time to keep up with all of the emails and requests. I canāt imagine how much time Jon sinks into Sublime!
Thank you for the remote browsing!
Is there any chance weāll get remote folder tree preview?
Unfortunately there is no way through the Sublime API to add items to the side bar. I donāt load the full remote tree in the quick panel because the performance of such degrades very quickly when there are a number of folders and you have anything but the fastest connection.
Another request Iāve heard before that has the same answer it about adding context (right-click) menu entries to the files in the āFilesā section of the side bar. Unfortunately the answer for this is also the same ā there is no way to affect that via the Sublime API.
I seem to have discovered a small issue. When I use the ālocal to remote sync,ā it opens a connection and works flawlessly. Then a few minutes later, I might make another edit. When I press ālocal to remote sync,ā it connects, prompts me if I want to overwrite, I select yes, then it gives my a timeout error. If I restart st2, and the press local to remote sync, it works again flawlessly.
It seems that the plugin is not properly closing the connection because this issue occurs frequently. But besides that, itās awesome.
Thanks again for all your work.
[quote=āC0D312ā]I seem to have discovered a small issue. When I use the ālocal to remote sync,ā it opens a connection and works flawlessly. Then a few minutes later, I might make another edit. When I press ālocal to remote sync,ā it connects, prompts me if I want to overwrite, I select yes, then it gives my a timeout error. If I restart st2, and the press local to remote sync, it works again flawlessly.
It seems that the plugin is not properly closing the connection because this issue occurs frequently. But besides that, itās awesome.[/quote]
Thanks for the bug report! Iāll check it out and release a fix with the next version.
You are correct in that I never explicitly close the connection - this helps improve the performance of uploads, but it has been quite a bear trying to find all of the edge cases about how the various programs and libraries I use react when they are disconnected by the server.
Thereās really only one thing stopping me from purchasing this. I noticed there is āUpload file on saveā, how about a āDownload file on open (if newer)ā
Most editors plugins Iāve tried that do FTP have somewhat of a āsyncā when I open a file - that is, checking if the remote file has been modified after the local copy. If it has been modified after, then download the newest version on the spot. I do a lot of personal work off a cloud server (not production) and am forced to use FTP.
Therefore, if I checkout out another branch in the remote workspace via git, thereās a good chance my local copy will become stale and will muck up my current workspace if I donāt explicitly download each file I open.
Is there any chance to get the menuitems under āsidebarā and ācontext menuā organized under a āFTPā submenu?
Thanks
I found another odd bug. When I delete a folder off of my server, it deletes everything in the folder, then it deletes the actual folder, and then it tries to delete the folder again. Itās not really a big deal, but then SFTP throws a message saying ERROR.
Iāll see if I can come up with a solution for this.
Sort of related, Iām also working at a solution for handling auto file uploads when a file changes from third-party program such as CodeKit.
[quote=ātitoā]Is there any chance to get the menuitems under āsidebarā and ācontext menuā organized under a āFTPā submenu?
Thanks[/quote]
So there is currently a bug in Sublime on Windows and OSX that does not hide the three sub-menus when no SFTP remote has been configured. It works fine on Linux and I have a bug report into Jon about it.
Iāll play around with moving all of the menu items under a single entry, however I definitely donāt want to get into more than two levels of menus. Iām concerned that having all 9 entries in a single menu will be too much, but like I said, Iāll play around with it.
Thanks, Iāll check it out.
When possible (for anyone, not just COD312), if you do find a bug, please let me know at support@wbond.net and include a debug log if you can. This helps to make sure I donāt forget to get back to you, and helps provide me with info about what is going on with your machine and remote server. You can get a debug log by going to Preferences > Package Settings > SFTP > Settings ā Default, copying the debug and debug_log keys into the Settings ā User file and setting debug to true.
Hi,
I have a problem using SFTP with SSH Key file.
When asked for the Passphrase, the window close after 2/3sec, and i have the āfailure (Connection timeout)ā error.
Iāve tried changing the āconnect-timeoutā setting, but it doesnāt change anything.
Iām on Windows and everything else seems ok ā¦
Thanks
Any chance to have all the FTP content in the sidebar? Just like a project. Very annoying to go to ābrowser FTPā each time I want to open a file. that way I could also click cmd+p and find what I want immediately.
If you do that, Iāll definitely buy it.
Thanks.
[quote=āJeromeMā]Hi,
I have a problem using SFTP with SSH Key file.
When asked for the Passphrase, the window close after 2/3sec, and i have the āfailure (Connection timeout)ā error.
Iāve tried changing the āconnect-timeoutā setting, but it doesnāt change anything.
Iām on Windows and everything else seems ok ā¦
Thanks[/quote]
Iām working on replicating this now. There should be a fix with 1.6.3.
[quote=āBomBinā]Any chance to have all the FTP content in the sidebar? Just like a project. Very annoying to go to ābrowser FTPā each time I want to open a file. that way I could also click cmd+p and find what I want immediately.
If you do that, Iāll definitely buy it.
Thanks.[/quote]
Unfortunately it is not currently possible to manipulate the sidebar via an API in Sublime. Iāve had quite a number of requests for this, so I plan on asking Jon if that is something he would consider adding. The downside is that there arenāt many, if any, other plugins that would need to manipulate the sidebar in such a way, so it is of limited use.
In terms of browse via key command, you can press ctrl+alt+u+w (or cmd+ctrl+u+w on OS X) to browse remotely at the current file, which is the equivalent of ctrl+p.
Okay thank you, but it isnāt very comfortable if I accidentaly click something else than what I want, or I go to Chrome to check something and the control panel disappearsā¦
In your case, Iād probably look into buying Expandrive (expandrive.com/). I believe there is a 30-day free trial. It mounts a remote server as a local drive or folder, and then you can use the built-in sidebar to browse your code.
expandrive is extremely slow. I get it up on Sublime Text 2 and it takes something like 2 minutes to load a folder. Is there anything faster?
Thanks!
Also, after a while I donāt use the editor, I try to reconnect to the server and it says āmultiple connections, giving upā and then I try again and it crashes.