473,320 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

JavaScript Editor?

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.

Matthew

Jul 23 '05 #1
7 1629
> 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.


You need a book. It is possible to learn things from books.

http://www.crockford.com/javascript/javascript.html
Jul 23 '05 #2
Lee
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/

Jul 23 '05 #3
Lee wrote:
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

Jul 23 '05 #4
Brian,

That is exactly right. A "context-aware" editor would be great.

I like the suggestion of getting a text editor that highlights the
JavaScript syntax. However, that is not what I am looking for.

Everybody else,

I have a book, titled "Mastering JavaScript, Premium Edition". It is over
1000 pages long, and I am currently on page 200. I do have a way to go, but
I have projects that need to be completed yesterday (before I finish the
book ;-)

Just wondering if there was a better way.

Matthew

Jul 23 '05 #5
In article <vs***************@fe03.usenetserver.com>,
tu*************@alltel.net enlightened us with...
Just wondering if there was a better way.


Well, if you can get used to it, Eclipse (free) has a javascript plugin.
I don't how good it is, but if you try it and like it, post that here so
we know it's decent. :)

http://sourceforge.net/projects/jseditor/

I never could get into Eclipse, but a lot of people like it.
I myself just use an editor with syntax highlighting.
--
--
~kaeli~
Condoms should be used on every conceivable occasion.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #6
kaeli wrote:
In article <vs***************@fe03.usenetserver.com>,
tu*************@alltel.net enlightened us with...
Just wondering if there was a better way.

Well, if you can get used to it, Eclipse (free) has a javascript plugin.
I don't how good it is, but if you try it and like it, post that here so
we know it's decent. :)

http://sourceforge.net/projects/jseditor/

I never could get into Eclipse, but a lot of people like it.
I myself just use an editor with syntax highlighting.


Thanks for the pointer... I downaloaded Eclipse, and the JS plugin.

Unfortunately, it gives no more than syntax highlighting, and it will
itemize your vars and functions in a list, to click on. Other than
that, it is nothing special. It does not do completion for you, and it
does not know context. Nothing more than a syntax highlighting editor
around a really slow IDE. I cannot reccomend it in the current state.

Brian

Jul 23 '05 #7
In article <40********@10.10.0.241>, Br**********@yahoo.com enlightened
us with...

Thanks for the pointer... I downaloaded Eclipse, and the JS plugin.

Unfortunately, it gives no more than syntax highlighting, and it will
itemize your vars and functions in a list, to click on. Other than
that, it is nothing special. It does not do completion for you, and it
does not know context. Nothing more than a syntax highlighting editor
around a really slow IDE. I cannot reccomend it in the current state.


That's too bad. Thanks for posting this so others know.

--
--
~kaeli~
Humpty Dumpty was pushed!
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Alex Fitzpatrick | last post by:
Just by way of introduction, I'm currently the principal developer and maintainer of the a JavaScript editor plug-in for Eclipse. https://sourceforge.net/projects/jseditor/ The plug-in as it...
3
by: Java script Dude | last post by:
I have still yet to see a JavaScript Editor that comes close to reading a good JS book, learing it and using it with a text editor. Anyway, here my recipe for build successfull DHTML...
3
by: TrvlOrm | last post by:
Hi There, Can any one please tell me where I can find a really good Free JavaScript Editor on the net? I am looking at either a evaluation copy (Free trial) or a really cheap but good editor...
1
by: Paul Aspinall | last post by:
Can anyone recommend a good editor for coding Javascript?? ie. once which has 'intellisense' type prompting etc. If there isn't an editor with this built-in, is there a program which does it as...
1
by: IkBenHet | last post by:
Hello, I found this script to create a simple rich text form (http://programmabilities.com/xml/index.php?id=17): <html> <head> <title>Rich Text Editor</title> </head> <body>
0
by: Jarod | last post by:
Hey Why there is no javascript with intelisense editor in VS 2005 ? They upgreaded html editor for aspx pages, don't you think MS should also make some nice javascript editor ? I don't think about...
10
by: madtom1999 | last post by:
I've been playing with some javascript code and have produced a very rough proof of concept source code editor written in javascript (a bit like FCKeditor). Its not ready for release ((L)GPL>2 when...
1
by: carlg | last post by:
There seem to be plenty of Javascript implemented WYSIWYG editors for editing rich text in a web browser, but I haven't been able to find one that shows line numbers. Even if that was the only...
1
by: sarwarmohiuddin | last post by:
Hello MAtes, I am having this problem of adding a script element in a rich text editor box. i am doing this. The problem is that it won't add the script tag alltogather, or give an error "Unknown...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.