Hi skuroda, thanks very much for the post back.
We haven't yet tried writing a plugin, you may be right there, could be a good idea, was hoping others might be doing the same local development and that there'd be an easy fix to this, or a flow we hadn't considered that people are using.
Perhaps you are right.
Ok here are the things we've thought of and tried. We'd like to do all the stuff we can inside ST2(Sublime Text 2) if we can, so as to keep the developers/programers in the same context, increasing speed. And we need to make it as easy as possible, because a developer make try lots of different test iterations, not because they don't get the code right =), because we know they always do
, but because there may be a number of different ways something can be done and we may need to offer choices to either our clients or to our core systems as we have plugins as well. So it's usually code, iterations, refactoring, until we get a nice elegant solution.
- 1) We've tried using SFTP, which is a great plugin, but for some reason we can't get it to ftp or bind to a local test directory on a local machine. example we thought we'd set up a project that ftp'd to a local test directory which would be basically just like copying a file there. And then another project on the same directory, that ftp'd to production when connected. Allowing us to test, then post to production. No joy, couldn't get it to do that.
- 2) Then we thought hey we'll just save the file twice, once to save and then once to the apache test directory. But since the side bar always defaults to the folders/directory you are currently in, you then have to pound through a number of selections and directories to get to the right one to do that and then pound your way back again to the actual directory you are working in to work on any other files. Now that doesn't sound like much, but after even a few iterations and a few files of doing that it's untenable, imagine doing that for 50 files or 25 options or even a number of iterations and you can easily see the frustration and time lost. Not to mention the possibility of errors along the way etc...sleepy programmers and the like. =)
- 3) Then we thought hey, maybe we can just quick clone the folders selection area in the side bar, making a second one there and then drag the folders to the second area, cool, easy and well needed here. That way the first folder/file selection area would be the one you are working in and then the second would be the one to drag it to. Eazy peazy, and elegant. As we could then use the already existing Sublime Text 2 code base for that and existing code. And without much work, just a clone of already available technology that would really be useful. But no joy there. And that would allow a copy feature, which is a really needed feature in this software.
We tried other stuff, but those are the first three we tried.
Maybe we could do a move(copy) plugin, as you suggested, that has a json config where you can set the dir path to copy to and then have the plugin add a right click option when you click a file or a folder to move it to. But I admit I am unfamiliar with the plugin system here.
Just was wondering how others do this, while staying within the ST2 context. The above is probably a quick fix, but I'd like to do it the third way above that we already tried, if possible, because that is already using the current ST2 code and just cloning it in the side bar which would be simple and quick and super handy.
There doesn't seem to be a file copy option in the software, just a file save as option which isn't quite the same and this is a big hole for this type of software.
Tips on a better flow or a copy option or starting a plugin for that or a right click option for that are much appreciated as you guys are great! And the current plugin creators are great as well!