Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JavaScript Support in Webtools M2
JavaScript Support in Webtools M2 [message #64429] Tue, 11 January 2005 10:18 Go to next message
Eclipse UserFriend
Originally posted by: amnon.netvision.net.il

Hi.

Now that I finally got webtools to work (it was my fault, I didn't
realize I needed all those zip files) I played with it a little bit and
here are my impressions:

1. Nice to have the standard objects recognized and have autocompletion
for (e.g. document and its methods).
2. I wish I could define something similar to a classpath so that
Eclipse will know about classes and functions from other files.
3. I wish it had a JavaScript engine that could actually interpret
JavaScript files and state if there is an error in the code. That would
be amazing.

Admittedly, my JavaScript work is more structured than most usages of
JavaScript (function here and there to make a site 'cool'), as I am
using a UI toolkit called Bindows (www.bindows.net) that provides a fat
client like development model for web facing rich applications, and as
such has an extensive class library (similar in spirit to Delphi, MFC
and others) thus the capabilities I am describing would be invaluable
for me.

May be such a feat could be created by manual definition of libraries of
JavaScript files and having them run through an embedded Internet
Explorer or Gecko engine, or making use of code like httpunit.

JavaScript support in Eclipse is still better than what I currently have
in IntelliJ, but doesn't really make the difference for me as I don't
really use the standard JavaScript objects, as those are abstracted or
meaningless when developing with Bindows.

I know that Bindows people are looking at the opportunity to have an IDE
so the features described above may interest them too, but also anyone
working in JavaScript with respect to the object oriented powerful
language it is rather than some bottom of the food chain language for
DHTML gizmos...).

Amnon
Re: JavaScript Support in Webtools M2 [message #64454 is a reply to message #64429] Tue, 11 January 2005 10:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: davegabol.eircom.net

I don't know if this is what you want (sort of classpath) but you can
include external jar files etc by going to "project/properties/java build
path" and then selecting the "libraries" tab. If you use the "Add external
jars" button you can browse for jars in other directories than the Eclipse
one.

Dave.

"Amnon I. Govrin" <amnon@netvision.net.il> wrote in message
news:41E3A7F3.9050400@netvision.net.il...
> Hi.
>
> Now that I finally got webtools to work (it was my fault, I didn't
> realize I needed all those zip files) I played with it a little bit and
> here are my impressions:
>
> 1. Nice to have the standard objects recognized and have autocompletion
> for (e.g. document and its methods).
> 2. I wish I could define something similar to a classpath so that
> Eclipse will know about classes and functions from other files.
> 3. I wish it had a JavaScript engine that could actually interpret
> JavaScript files and state if there is an error in the code. That would
> be amazing.
>
> Admittedly, my JavaScript work is more structured than most usages of
> JavaScript (function here and there to make a site 'cool'), as I am
> using a UI toolkit called Bindows (www.bindows.net) that provides a fat
> client like development model for web facing rich applications, and as
> such has an extensive class library (similar in spirit to Delphi, MFC
> and others) thus the capabilities I am describing would be invaluable
> for me.
>
> May be such a feat could be created by manual definition of libraries of
> JavaScript files and having them run through an embedded Internet
> Explorer or Gecko engine, or making use of code like httpunit.
>
> JavaScript support in Eclipse is still better than what I currently have
> in IntelliJ, but doesn't really make the difference for me as I don't
> really use the standard JavaScript objects, as those are abstracted or
> meaningless when developing with Bindows.
>
> I know that Bindows people are looking at the opportunity to have an IDE
> so the features described above may interest them too, but also anyone
> working in JavaScript with respect to the object oriented powerful
> language it is rather than some bottom of the food chain language for
> DHTML gizmos...).
>
> Amnon
Re: JavaScript Support in Webtools M2 [message #64477 is a reply to message #64454] Tue, 11 January 2005 11:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: amnon.netvision.net.il

No, not really, but thanks for the tip.

I was looking for a JavaScript parallel, i.e. if I have a.js and b.js
that define a class a and class b I want autocompletion that will be
aware of those, especially if b extends a.

Yes, all of it is possible quite nicely in JavaScript.

Amnon

Dave Gabol wrote:
> I don't know if this is what you want (sort of classpath) but you can
> include external jar files etc by going to "project/properties/java build
> path" and then selecting the "libraries" tab. If you use the "Add external
> jars" button you can browse for jars in other directories than the Eclipse
> one.
>
> Dave.
>
> "Amnon I. Govrin" <amnon@netvision.net.il> wrote in message
> news:41E3A7F3.9050400@netvision.net.il...
>
>>Hi.
>>
>>Now that I finally got webtools to work (it was my fault, I didn't
>>realize I needed all those zip files) I played with it a little bit and
>>here are my impressions:
>>
>>1. Nice to have the standard objects recognized and have autocompletion
>>for (e.g. document and its methods).
>>2. I wish I could define something similar to a classpath so that
>>Eclipse will know about classes and functions from other files.
>>3. I wish it had a JavaScript engine that could actually interpret
>>JavaScript files and state if there is an error in the code. That would
>>be amazing.
>>
>>Admittedly, my JavaScript work is more structured than most usages of
>>JavaScript (function here and there to make a site 'cool'), as I am
>>using a UI toolkit called Bindows (www.bindows.net) that provides a fat
>>client like development model for web facing rich applications, and as
>>such has an extensive class library (similar in spirit to Delphi, MFC
>>and others) thus the capabilities I am describing would be invaluable
>>for me.
>>
>>May be such a feat could be created by manual definition of libraries of
>>JavaScript files and having them run through an embedded Internet
>>Explorer or Gecko engine, or making use of code like httpunit.
>>
>>JavaScript support in Eclipse is still better than what I currently have
>>in IntelliJ, but doesn't really make the difference for me as I don't
>>really use the standard JavaScript objects, as those are abstracted or
>>meaningless when developing with Bindows.
>>
>>I know that Bindows people are looking at the opportunity to have an IDE
>>so the features described above may interest them too, but also anyone
>>working in JavaScript with respect to the object oriented powerful
>>language it is rather than some bottom of the food chain language for
>>DHTML gizmos...).
>>
>>Amnon
>
>
>
Re: JavaScript Support in Webtools M2 [message #64500 is a reply to message #64429] Tue, 11 January 2005 11:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: amnon.netvision.net.il

OK, I checked JavaScript support in the latest early access build of
IntelliJ and it seems to have some things that Eclipse doesn't at the
moment (isn't life interesting...)

- It auto inserts brackets and parenthesis
- It auto completes function parameter names in addition to inner variables.
- It can comment / uncomment lines or blocks in JS files.

I feel both IntelliJ and Eclipse are beginning to scratch the surface in
JavaScript support, it will be very interesting to see the status of
this in a year or even 6 months...

Amnon

Amnon I. Govrin wrote:
> Hi.
>
> Now that I finally got webtools to work (it was my fault, I didn't
> realize I needed all those zip files) I played with it a little bit and
> here are my impressions:
>
> 1. Nice to have the standard objects recognized and have autocompletion
> for (e.g. document and its methods).
> 2. I wish I could define something similar to a classpath so that
> Eclipse will know about classes and functions from other files.
> 3. I wish it had a JavaScript engine that could actually interpret
> JavaScript files and state if there is an error in the code. That would
> be amazing.
>
> Admittedly, my JavaScript work is more structured than most usages of
> JavaScript (function here and there to make a site 'cool'), as I am
> using a UI toolkit called Bindows (www.bindows.net) that provides a fat
> client like development model for web facing rich applications, and as
> such has an extensive class library (similar in spirit to Delphi, MFC
> and others) thus the capabilities I am describing would be invaluable
> for me.
>
> May be such a feat could be created by manual definition of libraries of
> JavaScript files and having them run through an embedded Internet
> Explorer or Gecko engine, or making use of code like httpunit.
>
> JavaScript support in Eclipse is still better than what I currently have
> in IntelliJ, but doesn't really make the difference for me as I don't
> really use the standard JavaScript objects, as those are abstracted or
> meaningless when developing with Bindows.
>
> I know that Bindows people are looking at the opportunity to have an IDE
> so the features described above may interest them too, but also anyone
> working in JavaScript with respect to the object oriented powerful
> language it is rather than some bottom of the food chain language for
> DHTML gizmos...).
>
> Amnon
Re: JavaScript Support in Webtools M2 [message #64523 is a reply to message #64500] Tue, 11 January 2005 15:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gael.billard.jwaretechnologies.com

eclipse WTP can comment/uncomment js block too... (like in java editor)

Amnon I. Govrin a écrit :
> OK, I checked JavaScript support in the latest early access build of
> IntelliJ and it seems to have some things that Eclipse doesn't at the
> moment (isn't life interesting...)
>
> - It auto inserts brackets and parenthesis
> - It auto completes function parameter names in addition to inner
> variables.
> - It can comment / uncomment lines or blocks in JS files.
>
> I feel both IntelliJ and Eclipse are beginning to scratch the surface in
> JavaScript support, it will be very interesting to see the status of
> this in a year or even 6 months...
>
> Amnon
>
> Amnon I. Govrin wrote:
>
>> Hi.
>>
>> Now that I finally got webtools to work (it was my fault, I didn't
>> realize I needed all those zip files) I played with it a little bit
>> and here are my impressions:
>>
>> 1. Nice to have the standard objects recognized and have
>> autocompletion for (e.g. document and its methods).
>> 2. I wish I could define something similar to a classpath so that
>> Eclipse will know about classes and functions from other files.
>> 3. I wish it had a JavaScript engine that could actually interpret
>> JavaScript files and state if there is an error in the code. That
>> would be amazing.
>>
>> Admittedly, my JavaScript work is more structured than most usages of
>> JavaScript (function here and there to make a site 'cool'), as I am
>> using a UI toolkit called Bindows (www.bindows.net) that provides a
>> fat client like development model for web facing rich applications,
>> and as such has an extensive class library (similar in spirit to
>> Delphi, MFC and others) thus the capabilities I am describing would be
>> invaluable for me.
>>
>> May be such a feat could be created by manual definition of libraries
>> of JavaScript files and having them run through an embedded Internet
>> Explorer or Gecko engine, or making use of code like httpunit.
>>
>> JavaScript support in Eclipse is still better than what I currently
>> have in IntelliJ, but doesn't really make the difference for me as I
>> don't really use the standard JavaScript objects, as those are
>> abstracted or meaningless when developing with Bindows.
>>
>> I know that Bindows people are looking at the opportunity to have an
>> IDE so the features described above may interest them too, but also
>> anyone working in JavaScript with respect to the object oriented
>> powerful language it is rather than some bottom of the food chain
>> language for DHTML gizmos...).
>>
>> Amnon
Re: JavaScript Support in Webtools M2 [message #64615 is a reply to message #64523] Tue, 11 January 2005 17:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: amnon.netvision.net.il

Hmm... What's the shortcut/menu?
Thanks,
Amnon

Gael wrote:
> eclipse WTP can comment/uncomment js block too... (like in java editor)
>
> Amnon I. Govrin a écrit :
>
>> OK, I checked JavaScript support in the latest early access build of
>> IntelliJ and it seems to have some things that Eclipse doesn't at the
>> moment (isn't life interesting...)
>>
>> - It auto inserts brackets and parenthesis
>> - It auto completes function parameter names in addition to inner
>> variables.
>> - It can comment / uncomment lines or blocks in JS files.
>>
>> I feel both IntelliJ and Eclipse are beginning to scratch the surface
>> in JavaScript support, it will be very interesting to see the status
>> of this in a year or even 6 months...
>>
>> Amnon
>>
>> Amnon I. Govrin wrote:
>>
>>> Hi.
>>>
>>> Now that I finally got webtools to work (it was my fault, I didn't
>>> realize I needed all those zip files) I played with it a little bit
>>> and here are my impressions:
>>>
>>> 1. Nice to have the standard objects recognized and have
>>> autocompletion for (e.g. document and its methods).
>>> 2. I wish I could define something similar to a classpath so that
>>> Eclipse will know about classes and functions from other files.
>>> 3. I wish it had a JavaScript engine that could actually interpret
>>> JavaScript files and state if there is an error in the code. That
>>> would be amazing.
>>>
>>> Admittedly, my JavaScript work is more structured than most usages of
>>> JavaScript (function here and there to make a site 'cool'), as I am
>>> using a UI toolkit called Bindows (www.bindows.net) that provides a
>>> fat client like development model for web facing rich applications,
>>> and as such has an extensive class library (similar in spirit to
>>> Delphi, MFC and others) thus the capabilities I am describing would
>>> be invaluable for me.
>>>
>>> May be such a feat could be created by manual definition of libraries
>>> of JavaScript files and having them run through an embedded Internet
>>> Explorer or Gecko engine, or making use of code like httpunit.
>>>
>>> JavaScript support in Eclipse is still better than what I currently
>>> have in IntelliJ, but doesn't really make the difference for me as I
>>> don't really use the standard JavaScript objects, as those are
>>> abstracted or meaningless when developing with Bindows.
>>>
>>> I know that Bindows people are looking at the opportunity to have an
>>> IDE so the features described above may interest them too, but also
>>> anyone working in JavaScript with respect to the object oriented
>>> powerful language it is rather than some bottom of the food chain
>>> language for DHTML gizmos...).
>>>
>>> Amnon
Re: JavaScript Support in Webtools M2 [message #65017 is a reply to message #64615] Wed, 12 January 2005 08:50 Go to previous message
Eclipse UserFriend
Originally posted by: gael.billard.jwaretechnologies.com

Sorry, it's html/jsp editor function.

I've made a mistake because I'm editing javascript in html/jsp files.

Amnon I. Govrin a écrit :
> Hmm... What's the shortcut/menu?
> Thanks,
> Amnon
>
> Gael wrote:
>
>> eclipse WTP can comment/uncomment js block too... (like in java editor)
>>
>> Amnon I. Govrin a écrit :
>>
>>> OK, I checked JavaScript support in the latest early access build of
>>> IntelliJ and it seems to have some things that Eclipse doesn't at the
>>> moment (isn't life interesting...)
>>>
>>> - It auto inserts brackets and parenthesis
>>> - It auto completes function parameter names in addition to inner
>>> variables.
>>> - It can comment / uncomment lines or blocks in JS files.
>>>
>>> I feel both IntelliJ and Eclipse are beginning to scratch the surface
>>> in JavaScript support, it will be very interesting to see the status
>>> of this in a year or even 6 months...
>>>
>>> Amnon
>>>
>>> Amnon I. Govrin wrote:
>>>
>>>> Hi.
>>>>
>>>> Now that I finally got webtools to work (it was my fault, I didn't
>>>> realize I needed all those zip files) I played with it a little bit
>>>> and here are my impressions:
>>>>
>>>> 1. Nice to have the standard objects recognized and have
>>>> autocompletion for (e.g. document and its methods).
>>>> 2. I wish I could define something similar to a classpath so that
>>>> Eclipse will know about classes and functions from other files.
>>>> 3. I wish it had a JavaScript engine that could actually interpret
>>>> JavaScript files and state if there is an error in the code. That
>>>> would be amazing.
>>>>
>>>> Admittedly, my JavaScript work is more structured than most usages
>>>> of JavaScript (function here and there to make a site 'cool'), as I
>>>> am using a UI toolkit called Bindows (www.bindows.net) that provides
>>>> a fat client like development model for web facing rich
>>>> applications, and as such has an extensive class library (similar in
>>>> spirit to Delphi, MFC and others) thus the capabilities I am
>>>> describing would be invaluable for me.
>>>>
>>>> May be such a feat could be created by manual definition of
>>>> libraries of JavaScript files and having them run through an
>>>> embedded Internet Explorer or Gecko engine, or making use of code
>>>> like httpunit.
>>>>
>>>> JavaScript support in Eclipse is still better than what I currently
>>>> have in IntelliJ, but doesn't really make the difference for me as I
>>>> don't really use the standard JavaScript objects, as those are
>>>> abstracted or meaningless when developing with Bindows.
>>>>
>>>> I know that Bindows people are looking at the opportunity to have an
>>>> IDE so the features described above may interest them too, but also
>>>> anyone working in JavaScript with respect to the object oriented
>>>> powerful language it is rather than some bottom of the food chain
>>>> language for DHTML gizmos...).
>>>>
>>>> Amnon
Previous Topic:XML Catalog
Next Topic:Common UI Properties plugin
Goto Forum:
  


Current Time: Sun Nov 03 12:20:03 GMT 2024

Powered by FUDForum. Page generated in 0.03489 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top