I swear by Textpad for all my coding needs. You can download script files that will identify the code your writing in and
highlight accordingley. I use if for HTML, PHP, JavaScript, ASP and SQL.
http://www.textpad.com
Laurie
I must admit the Javascript console in Mozilla (or any Gecko, I suspect)
saved my day more than once. But I want my hands on the code so no
authoring tools.
Mozilla Composer includes a source code editor, so you could use it.
However, I am currently working with and recommend the JSEditor plugin
0.0.4 [1] for eclipse 3.0M6 [2]. eclipse is 1337 anyway (being an
open-source cross-platform Java-based editor platform, including a
sophisticated Java SDK), and the JSEditor uses its Outline View for
objects, methods and properties. The syntax highlighting of JSEditor
is basic (comments, strings and keywords only), but I hope it will
improve over time. eclipse, JSeditor and other editor plugins (like
PHPeclipse, BlackSun etc.) can be downloaded for free and can be used
freely (through the Common Public License). The only problem is that
there is hardly an editor plugin today which does *all* the syntax
highlighting and stuff. JSEditor knowns only JavaScript, PHPeclipse
only (X)HTML and PHP, and BlackSun (among other languages, but they
are seldom/never combined in one file) only HTML or CSS. So you need
to switch editor plugins often or live with parts of non-highlighted
code and missing features. Hopefully the next eclipse 3.0 milestone
will allow for editor overlay.
If you do not like that, check out Dreamweaver MX 6.1 _with_
_HomeSite/Coder's Layout_(!) [3] for Windows and Quanta+ [4]
for KDE which I have used before eclipse:
Dreamweaver MX's syntax highlighting is sophisticated (I must admit it
is better than of any other editor I have seen to date, including vi's),
and code snippets (you are advised to revise the predefined snippets and
tag library before you use them) and the Code Assist feature allows for
fast coding. To have a web site as a project allows for
uploading/synchronizing without an FTP client.
However, DW is fat in any way (about 200M on harddisk). If you want a
lightweight app with about the same editor features, I recommend
HomeSite 5 [5] (about 50M on HD) which editor is kind of a predecessor
for DW MX's editor (MM included features of HS in DW after they bought
the inventors of HS, Allaire Software, in 2001). But both apps are
30-day-trialware (without functional restriction during the trial
period, IIRC) and the full versions are quite expensive.
Quanta+ is the best web editor for KDE (on GNU/Linux) I have *seen* to
date. It includes Code Assist (my version did not for JavaScript code,
though), syntax highlighting for (X)HTML, JavaScript and PHP, and
basic upload capabilities, IIRC. As part of KDE, Quanta+ can be
downloaded for free and used freely as well (through the GNU General
Public License 2.0).
HTH
PointedEars
___________
[1]
http://jseditor.sf.net/
[2]
http://eclipse.org/
[3]
http://macromedia.com/dreamweaver/
[4]
http://quanta.sf.net/
[5]
http://macromedia.com/homesite/