To edit php, css, and html files, I use a Cyberduck – TextWrangler setup. I open up SFTP areas within Cyberduck and then open, edit, and save the files within TextWrangler. The benefit is that all changes are immediately updated back into the SFTP area.
A few days ago, when I double-clicked on the files to open them in TextWrangler, they would not open up for me. I searched online for a solution and could not find one. Some of the other text editors available are over $50 and I didn’t want to spend that kind of money.
My solution was to pay $5 to get Smultron. Smultron is another text editor that works in tangent with Cyberduck. You can download Smultron here or from the Mac App store.
One thing I don’t like about Smultron is that it automatically saves your file as you are working on it. If you are doing web development, you need time to work on the file before saving it, especially if the page is live. There is a workaround to this so that the file in Smultron will only be saved when you save the file. That workaround is to Quit Smultron on your Mac, open the terminal, and add this comment:
defaults write com.peterborgapps.Smultron5 AutoSave -bool NO
If you have a different FTP to Text Editor setup, let us know in the comments below.