Lee said:
Matthew said:
I am very new to JavaScript, and have been using Notepad.
Is there a [cheap] editor out there that showes the JavaScript environment
variables?
Example: I just found out about the document.forms array on the web the
other day. Ideally, it would show this and other handy things.
In my day (which I guess has passed), you would be asking for
what we called a "manual" or "documentation".
You'll find lots of better answers than that here:
http://www.jibbering.com/faq/
I think more appropriately, he is asking for a context-aware editor. I
agree, that an editor that is aware of the DOM would be very useful,
much like Visual Studio is able to finish my lines of code for me.
Unfortunately, if it is aware of the model you are using, it can only be
aware of one model, which is not the same across all browsers
I am pretty sure that Visual Interdev will do this for you for the IE
model, but I cannot verify this. Also, there is a chance that someone
has written a Javascript plugin for the eclipse IDE. Interdev is not
cheap. Eclipse is.
As far as I know, there is no good, cheap editor that will do this.
The best I have gotten, is using a text editor with syntax highlighting.
When working with Javascript only (*.js files), I have used TextPad
with the Java syntax highlighting. It is not perfect, but it works
resonably well. It only gives syntax highlighting though.
Also, I would not be suprised if someone has made an Emacs rule set for
Javascript syntax highlighting. Emacs is a very powerful text editor,
and it is cross platform (Windows, Solaris, Linux, probably Mac, etc)
Good luck,
Brian