From: tpot on
I have been using eclipse for a while to write javascript
applications. But when it comes to writing and maintaining fairly
large javascript libraries, I can't help but feel there is a better
way.

I would be interested in ideas and suggestions from anyone that has
developed a copmlex javascript application or library.

I can't seem to find much on the internet about IDEs that are geared
to this kind of development.

Thanks
From: Thomas 'PointedEars' Lahn on
tpot wrote:

> I have been using eclipse for a while to write javascript
> applications. But when it comes to writing and maintaining fairly
> large javascript libraries, I can't help but feel there is a better
> way.
>
> I would be interested in ideas and suggestions from anyone that has
> developed a copmlex javascript application or library.

I am using Eclipse Galileo (20090920-1017) with JSDT 1.0.200.v200905242047
to maintain JSX and cannot think of any considerable problems doing that.
What is your use case and what are you missing?


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7(a)news.demon.co.uk>
From: tpot on
Thomas 'PointedEars' Lahn wrote:
> tpot wrote:
> > I have been using eclipse for a while to write javascript
> > applications. But when it comes to writing and maintaining fairly
> > large javascript libraries, I can't help but feel there is a better
> > way.
>
> > I would be interested in ideas and suggestions from anyone that has
> > developed a copmlex javascript application or library.
>
> I am using Eclipse Galileo (20090920-1017) with JSDT 1.0.200.v200905242047
> to maintain JSX and cannot think of any considerable problems doing that.  
> What is your use case and what are you missing?
>

I'm not attempting to create a general library, rather I am trying to
organise my own javascript as a library. I've come to the conclusion,
so far, that this is the best way to develope a large application in a
consitent way. As a library of components (whether or not they are
used in more than one place) and a set of small custom scripts
"plumbing" to use the components.

My use case, or at least what I think is the most relevant parts, is:
1. I wish to use multiple 3rd party general libraries, for example
JQuery and YUI
2. I wish to organize my javascript into many separate files for ease
of maintenance and to maximize the potential for reuse
3. Splitting the application into smaller components allows me to
focus more on what I'm current developing without having too much
mental noise.

I feel I am missing:
1. Library sensitive editing (where the editor understands the objects
and functions of the library) for 3rd party libraries
2. Library sensitive editing for the library I am developing /
maintaining
3. The abitlity to annotate dependencies between my many js files
4. The ability to 'compile' a number of js files into one based on the
requirements of a particular page or particular custom script.
5. The ability to run ad-hoc jsunit (or other) tests from within the
IDE at the push of a button.
6. See a visualization of the components and their dependencies.
7. Anything else that I haven't yet thought of

It may be I just need some pointers or education, or just a lot more
time searching on the net.

From: Stevo on
Thomas 'PointedEars' Lahn wrote:
> tpot wrote:
>> I have been using eclipse for a while to write javascript
>> applications. But when it comes to writing and maintaining fairly
>> large javascript libraries, I can't help but feel there is a better
>> way.
>>
>> I would be interested in ideas and suggestions from anyone that has
>> developed a copmlex javascript application or library.
>
> I am using Eclipse Galileo (20090920-1017) with JSDT 1.0.200.v200905242047
> to maintain JSX and cannot think of any considerable problems doing that.
> What is your use case and what are you missing?
>
> PointedEars

Any strong reasons for preferring JSDT over Aptana? Do you know if
either of them will attach themselves to JS running in a IE, Firefox,
Safari or Chrome? For me the only reason to want Eclipse+JS Plugin is to
debug code running on one of the browsers. Currently I use Firebug in
Firefox and MS Visual Studio in IE. For Safari and Chrome there's
nothing useful for debugging.
From: Ivan S on
On Jan 15, 2:07 pm, Stevo <n...(a)mail.invalid> wrote:
> For Safari and Chrome there's nothing useful for debugging.

Chrome version 4 beta supports extensions. Here is one familiar:

https://chrome.google.com/extensions/detail/bnbbfjbeaefgipfjpdabmpadaacmafkj