November 19th, 2001, 12:47 PM
I am basically a minimalist so I have up to now just used notepad.
I have to admit error checking can be time consuming due to lack of line numbers. Anyway I decided to try out some of these new specialised programs and downloaded ultraedit based on some favourable comments in this thread.
Ultraedit has line numbers but I was diappointed not to see PHP color formatting (like on this board). I figure if I am going to change, I may as well get the colour coding aid.
So... to save me downloading and trying out all the options could someone please tell me which ones have linenumbers and colour coding.
: ----- >>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<< ----- :
: ---- You can't judge a man by his clothes ...or from his name ---- :
: ------ But you can tell a lot about him ...from his signature !!! ------ :
: ----- >>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<< ----- :
November 19th, 2001, 12:51 PM
i use ConTEXT, thats got colour coding
November 19th, 2001, 12:57 PM
Maybe someone could come up with a table or spreadsheet outlining editor features? So far, I've seen line-numbering, color-coding, search-vs-search-and-replace and FTP as the only real features that anyone look for in an editor.
November 19th, 2001, 02:54 PM
Kind of you to offer, TotalMonkey
Maybe then we can put this thread to rest!
November 19th, 2001, 05:07 PM
I use Homesite 5 for all my coding on Windows boxs and vi when I'm on the *nix boxes.
HS 5 actually has most of the mentioned features:
*Secure FTP (FTPS)
*Color coding - you can customize it if you want to
*seach-replace / extended search replace w/ Reg EX
*5 now has 2 file explorers so you can browse 2 at once
...and bunch of other stuff.
For the money, it's worth it.
November 19th, 2001, 05:13 PM
Who makes Homesite?
Is it better than Dreamweaver?
How much does it cost?
November 19th, 2001, 11:19 PM
UltraEdit has color syntax highlighting for more languages than almost any other text editor you will find (about 300, at last count). It just takes a little configuring to get the languages you want. UE can only handle up to 10 languages at a time, but the Downloads->Wordfiles/Macros section has wordfiles for PHP, among many others. Just download the wordfile you want, and then go to the Advanced->Configuration menu, and choose Syntax Highlighting, where you are given the choice of pointing to a new wordfile, or editing the existing one to add a PHP section.
Give it a second try. It's a real programmer's editor, and it takes time to unlock all its potential.
Good point, TotalMonkey, on the features list. Here are some things to consider:
- String manipulation (regular expressions, advanced count/search/replace)
- Text reformatting (can you do interesting things with word wrapping, whitespace, alignment)
- Column mode: can you do rectangular selections? (IMHO if you can't do those, it shouldn't be called a programmer's editor). Are there any other column functions, such as autoincrementing, summation, etc...
- Macro ability: Does it do simple "recorder" macros, or can does it actually have an internal macro language.
- Hotkeys: can you put a few of your favorite code phrases into hotkeys, to call back regularly
- Compatibility: can your editor convert between text formats, such as Unix/windows/Mac, Unicode, UTF-8, etc...
- Configurability: how much freedom do you have to change the behavior, memory usage, backups, and other features. Can you choose your syntax highlighting colors, etc...
- Code completion: can it present choices for completion of certain code constructs, as you type?
- Matching: can you match braces, parentheses, etc...
There are many more things, but this is a good starter list. (You will find that UltraEdit does very well in all of these categories )
Last edited by rycamor; November 19th, 2001 at 11:33 PM.
November 20th, 2001, 01:42 AM
In addendum to rycamor's (as always excellent;\) post, I'd add:
- project management (grouping script/code files together under one 'project' name and being able to switch from one project to another easily)
- File Comparison/diff utilities (comparing 2 files and displaying how they differ)
- the ability to set markers in a file and jump through them at the press of a key.
- open/save to FTP
less important, but nice:
- HTMLTidy plugin support (handy for checking hand-coded HTML for mistakes)
- comment multiple lines (useful for languages where /*C style */ commenting is a no no)
- function list (display a list of all functions within the code)
- open dialog box starts in last working directory (annoying when you have to 'drill down' to a file from the desktop)
Also I prefer UltraEdit for opening large log files - Editplus tends to take about 5 minutes(!) to open a 10mb file (on my system) whereas UltraEdit takes about 20 seconds.
November 20th, 2001, 03:41 AM
This is the only thing I'm not sure about in UE, it has got the rest, but no multi-line string syntax highlighting, which I really miss.
Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems. - Jamie Zawinski, in comp.lang.emacs
November 20th, 2001, 05:08 AM
UE has markers, only they're called bookmarks
Look under "search". Multiline string coloring would be nice, I agree.
November 20th, 2001, 06:34 AM
It's made by Macromedia (although there is another version under same name by a different company out there), it costs $99. Better than Dreamweaver? Cant make the comparison, as the products aren't really that much alike. It's for hand coding, and I was very impressed with the 30-day trial.
As for my PHP coding, I use EditPLUS (www.editplus.com) or Notepad if it's just a small thing needing done. But definitely get a decent coding environment if you plan to do any large projects in PHP. Colour coding and line numbering dramatically decrease your debugging time. I used to use Notepad, but I would never do anything other than small touch ups in it again.
November 20th, 2001, 08:46 AM
can you see what your page looks like in the editor, like in dreamweaver + where could I get a copy of the trial version
November 20th, 2001, 09:57 AM
Just got ultraedit, and its very useful
November 20th, 2001, 10:45 AM
VI or EMACS
I usually code in VI or EMACS
Got Debian Linux?
November 20th, 2001, 12:36 PM
Have you ever tried Visual SlickEdit. This is a multiplatform editor that pretty much meets most or all of the suggestions that you and rycamor presented in the previous post.
A couple of the more impressive is the use of line numbering that is dynamic, they are not displayed, but you can access any line from the file that you are in by pressing ESC and entering in the line number. The other is the called Diff-Zilla, which checks for differences in multiple files, not just one.
All standard features such as colour coding, function/class - object/file viewer, ftp, beautify source and a macro language is included. I actually believe this program is a little more refined on the Linux version than the Windoze version, but I use both, for HTML,PHP,C and C++. It has a nice range of language references. It isn't free but is a real powerful tool. The only other thing that I have found myself using instead of this is the editor that is build into Midnight Commander (MCEdit) on linux.