Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Javascript editor pls do it something somebody :$
Javascript editor pls do it something somebody :$ [message #224376] Wed, 26 November 2008 03:24 Go to next message
Attila is currently offline AttilaFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,
I have big request somebody :$
I like eclipse because the jdt project is best of best java editor , and i
like eclipse perspectives.
But Javascript support is not the best one.
I tryed netbeans javascript editor, and the netbeans javascript editor is
much better. But i like eclipse wtp jpa support, it is a very good idea,
and i use every day.

So guys please develop javascript support, because its not useful.
Thank you very much :)
Re: Javascript editor pls do it something somebody :$ [message #224429 is a reply to message #224376] Wed, 26 November 2008 15:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: david_williams.linux.vnet.ibm.com

Attila wrote:
>
> So guys please develop javascript support, because its not useful.
>
Which version of eclipse webtools are you using? I'm surprised anyone
would say it's not useful, after the improvements made
in WTP 3.0.

And, just so you know, in all kindness and respect, requests such as
this are too general and too vague to be very helpful.
It is a bit like saying "will 3 or 4 of you guys that read this list all
band together for the next 6 months or year and make my life better" :)

If you are not able yourself to to provide patches or improvements
directly to the JavaScript support, it would be more helpful to open
bugs and feature requests with detailed descriptions of features you
find most important, with a verbal description of relative importance.
This would give some specific idea of an "actionable" item that someone
from the community might want to tackle.
Re: Javascript editor pls do it something somebody :$ [message #224461 is a reply to message #224429] Wed, 26 November 2008 15:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mauro.molinari.cardinis.com

David Williams ha scritto:
> Which version of eclipse webtools are you using? I'm surprised anyone
> would say it's not useful, after the improvements made
> in WTP 3.0.

IMHO the problem is that the new JavaScript support becomes more
problematic when you are working with JavaScript inside HTML/JSPs (that
is... 90% of times?). The new validation routines do not support, for
instance:

- dereferencing HTML form elements from scripts, i.e.:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript">
function c()
{
document.testForm.testInput.focus();
}
</script>
</head>
<body>
<form name="testForm">
<input name="testInput" type="text">
</form>
</body>
</html>

See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=240134

- JSP tags inside <script> tags
See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=119322

The new JSDT tools seem smarter to recognize problems, but because of
these bugs the result is that my JSPs are now full of red marks because
of false errors.

I also find the new JavaScript validator quite slow at analyzing
HTMLs/JSPs...

Because of these problems, in general I find myself to hit the problem I
exposed some time ago here in the newsgroup about Webtools source
editing tools (especially the JSP editor): in real-world examples of web
development, the current JavaScript and JSP editing tools provided by
WTP are not adeguate, unfortunately.

Yes, I know you need community help and I also know that criticisms have
to be constructive and that filing new bug reports and keeping on them
is the way to get things improved... however it's quite sad for me to
see that I have voted for more than 20 bugs in WTP that I consider
critical and no progress has been done even for a couple of years,
although I constantly check on them :-(

Please David, don't blame on me, if I say this it's because I love
Eclipse and I would like it to be better and better and I try to do my
best to support it... However in general I'm feeling like there's less
interest on improving it (the platform and some of its major plugins)
during the latest months... after all, the Visual Editor Project is
dead, the TPTP profiling tools seem to have difficulty on providing a
fruitful user experience (while they already are at version 4.5) and WTP
web development tools have been suffering from certain critical bugs for
years now... :-(

Maybe I just need to be said that the Eclipse ecosystem is still in good
health, although my worries...

Sorry for the outlet...

Mauro.
Re: Javascript editor pls do it something somebody :$ [message #224538 is a reply to message #224461] Fri, 28 November 2008 08:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: david_williams.linux.vnet.ibm.com

Mauro Molinari wrote:
>
> IMHO ...

Thanks for the detail. I found it educational and constructive.
Re: Javascript editor pls do it something somebody [message #224561 is a reply to message #224429] Sat, 29 November 2008 04:08 Go to previous messageGo to next message
Attila is currently offline AttilaFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,
I use eclipse wtp 3.0.3.
The javascript editor is not supported jquery or other libs, i always use
jquery, this is my first problem at javascript editor.

And other:
I created a simple js file, and i would like to use auto code completion
support, but it isnt work.
So simple example :

test.js
var foo=5;
f<ctrl + space> there is no hit .

Ok. I tryed in a function

function somefunction() {
var some_element = document.getElementsByTagName('tag');
som_<ctrl+space> it was work
for(var i=0; i<=som<ctrl + space> didnt work
}

This features are missing for me.
Thank you for your answer :)
Re: Javascript editor pls do it something somebody :$ [message #224574 is a reply to message #224461] Mon, 01 December 2008 09:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: knb.gfz-potsdam.de

I've just tried the new Javascript editor and I must say that it has
made tremendous improvements compared to previous versions or attempts
(although, the ATF toolset was also very good already). It is very easy
to use.

I agree with Mauro in the following: What is most annoying now are the
false errors that the editor creates. Some crucial objects cannot be
resolved although the library / .js file that contains them *is*
referenced in the build path dialog. The inability to resolve the object
for statement completion might be caused by the fact that the
references (to that object in my code) are nested in some way (but not
very deeply at all).

In other false errors, in places the Image() object can't be resolved,
a call to parent. can't be resolved etc. This is strange because these
are JS built-in objects.

I have

eclipse.buildId=M20080911-1700
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64

org.eclipse.wst.jsdt.core (1.0.1.v200807302212) "JavaScript Development
Tools Core" [Active]

I find it also impossible to upgrade the webtools. There is always some
strange dependency missing. I have spent Hours already finding this..


Knut
Re: Javascript editor pls do it something somebody :$ [message #224745 is a reply to message #224538] Fri, 05 December 2008 17:51 Go to previous message
Rich Garrison is currently offline Rich GarrisonFriend
Messages: 1
Registered: July 2009
Junior Member
David

I am also seeking JQuery support in JSDT.

If i was to consider investigating what it would take to make the JQuery
libraries available options as runtime libraries, would this be a complex
task?...

Would you be ameniable to providing some pointers into the source (or hte
approach) for how the DOJO libraries were integrated so that i could
perhaps mimic that for JQuery? Or is that such an absurdly complex
question or task to even consider?...
Previous Topic:Usage of XMLCorePlugin to programatically register XML Catalog in eclipse...
Next Topic:Add per compilation unit global variables to JSDT
Goto Forum:
  


Current Time: Tue Mar 19 09:20:01 GMT 2024

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

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

Back to the top