473,324 Members | 2,239 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,324 software developers and data experts.

Code assistant/completion for Javascript for Dreamweaver MX

Hello,
I'm working with Dreamweaver MX and we started to develop our website
with Javascript too. However, unlike "Eclipse" for Java developement
I don't have the support for Javascript code completion (the "dot
notation") in Dreamweaver MX,
like for ex.

navigator.plugins[i].name.indexOf("Flash")

Instead of looking in my book reference which objects I am allowed to
call, I'd like to simply write "navigator." ctrl+shift and then obtain
a list of all methods and attributes I can use.
Does anybody know if there is an "Add-On" or a plugin for this code
completion for Dreamwever MX? I mean a good code completion tool...
;-)

Thank you very much for your answerz
John
Jul 20 '05 #1
1 3333
John wrote:
I'm working with Dreamweaver MX and we started to develop our website
with Javascript too. However, unlike "Eclipse" for Java developement
I don't have the support for Javascript code completion (the "dot
notation") in Dreamweaver MX,
like for ex.

navigator.plugins[i].name.indexOf("Flash")

Instead of looking in my book reference which objects I am allowed to
call, I'd like to simply write "navigator." ctrl+shift and then obtain
a list of all methods and attributes I can use.

<snip>

Java has a theoretically standardised execution environment in which it
is relatively easy to know exactly which method/properties any given
Class makes available. You seem to want a similar facility that applies
to browser object models. Unfortunately browser object models are not
standardised, beyond the more recent ones more or less implementing the
W3C DOMs.

So what is such a feature going to offer? A list of every method of
every host object ever implemented by any browser, that would be a big
list and not much help as picking an item form the list is no guarantee
that it will be available on the browser receiving the page.

Alternatively you could be presented with a list of methods and
properties known to be implemented by all browsers (in so far as that
information could be known), that would be a very short (possibly empty)
list and probably not worth the effort.

Browser scripting for the Internet is unlike any other programming task
in that it is not possible to author any given script with confidence
that the receiving browser will support any of the features it will need
to successfully execute. Scripts have to probe their way into an
execution environment, testing for any and all required features,
implementing fall-back plans if possible and still exhibiting planed
behaviour in the face of an unsupportive environment, degrading cleanly
to the underlying HTML.

That requirement introduces a strategic aspect at the script design
stage and a need to fully exploit the dynamic nature of javascript in
the implementation. Neither are tasks that lend themselves to automation
of any kind (as the truly appalling javascript that Dreamweaver spews
out if you let it demonstrates).

Richard.
Jul 20 '05 #2

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

Similar topics

8
by: somaboy mx | last post by:
I'm looking for a javascript-based rich text/wysiwyg html editor that can be easily integrated in a php cms. I don't require any advanced features (tables, images etc) , just basic text formatting....
3
by: Bruce W.1 | last post by:
Can anyone recommend a Javascript debugger? I see where debuggers are made by Netscape, Microsoft and Macromedia (built-in to Dreamweaver). I'm new to javascript so any comments are appreciated....
18
by: Arthur Connor | last post by:
Is there a way of extracting the Javascript code from the "normal" HTML code (e.g. similar to CSS code which can be put into a separate file) ? If you offer a solution: can I determine in your...
1
by: John | last post by:
Hi, when I develop applications in Java I use Eclipse. A nice feature is the code assistant when coding, suggesting me the methods or variables for a special object. For web pages I use...
0
by: Jeff | last post by:
I'm noticing the JavaScript code completing to be somewhat funky in VS.net 2003 Pro. I just moved to 2003 from VS 6.0 -- using Interdev for my older web projects... it seemed to do fine when...
0
by: Zorba.GR | last post by:
Macromedia Dreamweaver MX 2004 v7.0.1 Incl Keymaker, and Addons, other Workhouseboys Design The Transmitter Buttons v1.0 for Dreamweaver MX WebAssist WA eCommerce Suite v2.01 RETAIL for...
171
by: tshad | last post by:
I am just trying to decide whether to split my code and uses code behind. I did it with one of my pages and found it was quite a bit of trouble. I know that most people (and books and articles)...
1
by: mohkb | last post by:
If i run my javascript withen html using dreamweaver, it works perfectly well. But when i try to use 'src' command to run the script from another file it doesnt work. Can anybody tell me why. and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
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....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.