Sublime Forum

Drag Files from Sidebar

#1

In past editors that I have used (textmate in particular) I have been able to drag files out of the sidebar and drop them into a FTP client so that the FTP client can upload the file to my server. Is there a way to do this with sublime text 2?

0 Likes

#2

You can save yourself a few mouse clicks and use a plugin: github.com/brickattack/st2-send_to_transmit

There’s also a version that sends on save: viewtopic.php?f=5&t=1995&p=10660&hilit=transmit

0 Likes

#3

I thought about using that, but I switch projects so often it would be a pain to constantly be changing docsend setting. I might try and rework my workflow to adjust… If anyone has any other ideas please let me know.

0 Likes

#4

If you’re using Transmit, you don’t have to change anything – Transmit checks the file path, and if it matches a favorite, uploads to that site in the proper area.

I switch projects constantly, and this setup works beautifully. Cmd-ctrl-p, jump to Project, cmd-t, jump to file, make edit, save – and it automatically FTPs the file to the appropriate site+folder.

0 Likes

#5

I didn’t know that Transmit was that smart. I’ll have to look at doing that. That makes a ton of sense.

0 Likes

#6

Of course you have to have DockSend checked for any of the projects you want to have this behavior.

I used to use the same setup with TextMate years ago. I’ve been trying to talk the dev of ForkLift into adding the DockSend feature as I prefer that as an FTP app (Transmit is great, it’s just not as powerful). It’s a really slick feature for this type of workflow. Which, granted, can be dangerous – I only use it on dev sites, then use git to push changes to live.

0 Likes