473,671 Members | 2,231 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1646
> 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.usenet server.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.usenet server.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**********@ya hoo.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
2006
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 stands supports syntax highlighting and outlining of functions, classes and their methods.] When I took over the project in June it was for the purpose of adding outlining facilities for JavaScript written in an OO style with classes and so on. I...
3
4356
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 Applications: If you want to support only M$ IE stop here and do the following: 1) Install blindfold 2) Repeat the phrase - I love my cage :p Buy the Book: Buy O'Reilly's JavaScript The Definitive Guide
3
1491
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 that I can download. I need the editor to tell me exactly what I am doing incorrectly, and telling me exactly how I can fix the problem, ideally if I post my
1
1352
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 a quick-ref help tool?? Thanks Paul
1
3746
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
935
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 javascript.net but normal javascript. Maybe there is some add-in ? The strange thing is in menu I have an ability to create javascript file. I create javascript file and when I type Ctrl+space that normaly runs intellisense I have "Function" not...
10
2155
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 it is) but I thought I'd ask for any guidance and tips. The intention is to provide a language nuetral source code editor writen purely in html and javascript so that it can provide code highlighting/completion etc, eventually as part of an...
1
3290
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 enhancement over the standard textarea object it would be great for my needs. Does anyone know of such a widget? Thanks, -Carl Gundel, author of Liberty BASIC
1
2038
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 Runtime Error". Its only with the script element as other elemets suscha s Div, img are all being added correctly. editor = window.opener.document.getElementById('WebWizRTE'); scr = editor.contentWindow.document.createElement('script');...
0
8472
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8909
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8819
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7428
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6222
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4221
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4399
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2048
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1801
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.