SeanWcom wrote:For those that want better SFTP support in ST2, I urge you to look at WinSCP. In its preferences, you can specify an editor. Now, when you double click a file, it opens in that editor - you make changes and hit CTRL-S to save the file. WinSCP monitors that file (stored in a local temp buffer) and automatically uploads it back to the server for you.
You don't get to utilize the sidebar of ST2 as it's intended. But you do get all the features of WinSCP. For the few sites I still live-edit, this is the best method I've found. All the power of ST2 far outweighs the SFTP plugin that N++ (or any other editor) has.
The argument is "What if you mess something up?"
Answer: Fix it. Any argument that one could lose two weeks of work by editing this way is absurd. Who is so terrible at programming websites that they make one mistake and destroy that much code? I can understand destroying a database by mistake - but Git has nothing to do with that. And if you wrote code that produced a horrible SQL query that destroyed a database, I'm not sure what git would do to help.
iamntz wrote:The argument is "What if you mess something up?"
Answer: Fix it. Any argument that one could lose two weeks of work by editing this way is absurd. Who is so terrible at programming websites that they make one mistake and destroy that much code? I can understand destroying a database by mistake - but Git has nothing to do with that. And if you wrote code that produced a horrible SQL query that destroyed a database, I'm not sure what git would do to help.
It happened couple of times to do major changes to a file, just to be asked by my clients to revert it back after few days/a week.
It happened several times to change a file and my client to overwrite just because his editor remembered last opened file and just overwrite.
It happened once that the editor - e-texteditor - to crash just while the file was saved/transfered. After i restarted the editor i was shocked to find a beautiful empty file (i found out eventually that had a temp file; it was the worse 10 minutes of my developer life!)
Just because you have over 200 websites made and know exactly what are you doing doesn't protect you from a major screw up. And when you do - because you gonna screw up eventually, it's just a matter of time! - won't be nice.
Return to Ideas and Feature Requests
Users browsing this forum: No registered users and 9 guests