I had a horrible time today when I edited a config.inc.php file using Filezilla. Generally I find it quite convenient to open and edit files via a right-click in the remote files window, but in this case I got a whole heap of trouble, including not being able to log in to the manager with Firefox (though I could do it with IE). The manager window didn’t update after saving an edited document, and I got blank screens after logging out. This on top of problems getting the site I was working on mixed up with another and disabling it temporarily (totally my fault), and having to remember to make the config.inc file writable and then read-only again.
Eventually I decided I had done this stuff before without problems, and realized I was editing the file in Windows Notepad, and not Dreamweaver editor as I used to do. Re-editing and uploading from DW fixed the problems - it seems to cater for the different styles of linefeed that Windows and Linux use.
>:( very aggravating - usually it’s the case-sensitivity that catches me out >:(
KP
Notepad is evil.
BTW, you should be able to configure FileZilla to use DW (or whatever) as your editor:
Edit | Settings | File Editor
-
☆ A M B ☆
- 24,524 Posts
My personal favorite when using Windows (admittedly some years ago) was
Crimson Edit. Line numbers, syntax coloring, multiple document search-and-replace. In fact, I was using it when I once successfully modified the manager to use a different folder name. And the ftp client I used automatically accepted it as the editor to open files in when double-clicking. I rather imagine it would also work with the Firefox "it’s all text" extension. Oh, and it’s free
-
MODX Staff
- 2,502 Posts
For Windows my favourite editor is E-Text Editor + it has built in FTP so you can skip Filezilla for live updates. It is based on TextMate (for Mac) but surpasses it in features.
Cheers,
Jay
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub
Everyone has their own favorite editor, mine is NuSphere’s PhpED. It does everything but cook you breakfast, is blindingly fast (especially in searching the entire MODx codebase -- with regular expressions if you like) and lets you set the line endings to Windows, Unix, or Auto-detect. It has built-in FTP and a built-in DB editor that pops up instantly from a fly-out tab. It also has a nice code explorer and right-clicking on any function call will almost always let you instantly load the file with the function’s code and put the cursor on the declaration.
Cons: Not free, not available for Mac.
For Windows, my favorite is definitely Notepad++ -- code-coloration, built-in FTP capabilities, regex find/replace -- plus, you can opt to install it as a system-wide replacement for Notepad, replacing the "evil" application with a full-featured code editor. Oh yeah, and it’s free...
Prior to becoming a Mac convert Notepad++ was my favourite free editor.
I agree with BobRay for the commercial route then NuSphere’s PhpED was amazing.