brackets-ftp-sync
brackets-ftp-sync copied to clipboard
Autosync feature request
Hi ! It would be very nice to has autosync if you hit save shortcut. For example some kind of autoconnection checkbox in ftp config dialog. Then if you save the file you edited it's send to ftp automatically. It's only idea which is really missing in brackets/extensions...
Agreed. Great plugin. Would love to have a one-click sync after setup.
Thanks for the feedback guys. One-click is a very good idea. I am working on some base FTP issues for the 1.0.3 release but will look into supporting a one-click sync.
Auto-sync would be great, but for now just having it save the FTP Password would be fine. Having to place a 12 char strong password everytime isn't fun.
Is this still on the radar? It's tough having to re-enter a password on every save. Otherwise, I love the extension.
Code for saving the password has been committed into the master branch. I hope to do a 1.0.4 release with this by next weekend.
Could you add a keyboard shortcut to FTP Sync without confirmation when password is saved?
Thanks!
With Parcye's password checkbox now out in 1.0.4, I've been thinking about a way to 'one-click' and I think a keyboard shortcut should be doable for the next release.
Could those who have posted on this issue @tkowalski @cronos916 @Parcye @markholmes @frederichoule comment on what your preferred keyboard shortcut would be. Cheers, Tim
I was thinking of the option to hook into CTRL+S, when saving to local filesystem also save to web via sync. But now the entire tree gets checked for sync and not only the open files.
But I guess this could be unwanted for many others.
I don't really have a shortcut in mind.
Maybe ctrl+shift+s? So just adding a shift could do the sync?
Sent with my SGN2 On Mar 20, 2014 7:41 PM, "Parcye" [email protected] wrote:
I was thinking of the option to hook into CTRL+S, when saving to local filesystem also save to web via sync. But now the entire tree gets checked for sync and not only the open files.
But I guess this could be unwanted for many others.
I don't really have a shortcut in mind.
— Reply to this email directly or view it on GitHubhttps://github.com/timburgess/brackets-ftp-sync/issues/2#issuecomment-38234153 .
Sorry, CTRL+SHIFT+S is Save As.
Let's say CTRL+[SOMETHING]+S would sync FTP.
So you code, then Ctrl+Alt+S to Save All, then Ctrl+[SOMETHING]+S to sync them to server.
Maybe TAB? Is it possible?
I think options with S have been largely used by Brackets itself and may also be targeted by other extensions. And it seems that 'F' variants are used for Find. So maybe a variant on R for 'remote'? i.e. Ctrl+Shift+R
Don't forget that keyboard shortcuts can be defined for each OS as well. So Windows could be Ctrl+Shift-R and OS could be Ctrl-Apple-R.
Seems good, at least for me.
I would like the shortcut only to sync the file in focus. That would be the only reason for me to use a shortcut; as I syncing a CI project just takes to long when only just one file has been changed.
I think we would need 2 shortcuts then. I often modify a few files, then upload the entire project. And sometimes I also only modify one file.
I'll second what @frederichoule said - one and all. Right now the only thing stopping me moving totally from PSPad to Brackets is the lack of being able to edit a file directly on the server. Yes, I know it shouldn't be done, but sometimes a quick, safe tweak is needed and this would solve that problem.
Thanks for the great comments guys. I think there are three related but separate features that have been mentioned here.
- A way to perform the full sync that occurs at present but with just a keyboard shortcut
- A keyboard shortcut to sync just the current file
- Performance improvements for projects containing very large numbers of files.
I would like to keep 1 as the focus of this issue. I have created #12 and #13 for the other two
So (I'm speaking for Windows) CTRL+SHIFT+R for Full Sync would be nice.
@timburgess Actually, no. Not just a shortcut for the single current file. I personally think it would be better (also) to have an option where you can tell the plugin to upload the current file everytime you change it and save it. This way the latest file will always be ready to viewed on the remote server, easy and quick.
ALSO, it would be great to specify both the local and remote directory (I'm getting mad uploading my project/src/ folder to remoteserver/website folder, I do not want to have a src directory in the server).
You can have a look at this, it's what I currently use on Atom.io: https://github.com/yongkangchen/remote-sync You could even make it read the same config file and behave similarly, so it would be possible to use both the editors (that would be the best approach).
I need this feature... I'd like to develop and see the changes immediately on the development server