JSP HTML and JavaScript

There have been some discussions and requests for IDEA to fully support HTML
and JavaScript editing.

Since there has been no commitment from JetBrains to do so, does anyone out
there know of an editor that supports any of the excellent java development
features of IDEA while working with HTML/JSP/JavaScript?

I would greatly prefer first-class support of these technologies by IDEA;
However, in the mean time I have to do my job and I would like to have tools
that help with this aspect of it.

Some of the things that come to mind are:
- Syntax color-coding of JavaScript contained within an HTML or JSP page.
- Syntax checking and Error highlighting of JavaScript.
- Reformat HTML/JavaScript/JSP (on a mixed content page)
- Optimize JSP imports
- Optimize tags - Optimize JSP useBean statements - Conversion between tags and explicit use of the bean property accessors. - Conversion between ]]> tags and explicit use of the
bean property mutators.
- Go to Implementation for JavaScript functions, methods, and variables
- Go to matching (opening/closing) tag.
- Convert a set of JavaScript functions into a JavaScript class.
- Extract/Inline JavaScript file.
- Extract/Inline JavaScript Function/Method
- Extract/Inline JavaScript Variable
- Extract/Inline JSP include page.
- Extract/Inline custom tag.

I'm sure that there are many more, but these would probably be the ones that
I would use the most.

Tim


18 comments
Comment actions Permalink

Antechinus is the best that I have seen, but it still pales in comparison.

Norris Shelton
Sun Certified Java Programmer




Tim Haley wrote:

>There have been some discussions and requests for IDEA to fully support HTML
>and JavaScript editing.
>
>Since there has been no commitment from JetBrains to do so, does anyone out
>there know of an editor that supports any of the excellent java development
>features of IDEA while working with HTML/JSP/JavaScript?
>
>I would greatly prefer first-class support of these technologies by IDEA;
>However, in the mean time I have to do my job and I would like to have tools
>that help with this aspect of it.
>
>Some of the things that come to mind are:
>- Syntax color-coding of JavaScript contained within an HTML or JSP page.
>- Syntax checking and Error highlighting of JavaScript.
>- Reformat HTML/JavaScript/JSP (on a mixed content page)
>- Optimize JSP imports
>- Optimize tags >- Optimize JSP useBean statements >- Conversion between tags and explicit use of the >bean property accessors. >- Conversion between tags and explicit use of the >bean property mutators. >- Go to Implementation for JavaScript functions, methods, and variables >- Go to matching (opening/closing) tag. >- Convert a set of JavaScript functions into a JavaScript class. >- Extract/Inline JavaScript file. >- Extract/Inline JavaScript Function/Method >- Extract/Inline JavaScript Variable >- Extract/Inline JSP include page. >- Extract/Inline custom tag. > >I'm sure that there are many more, but these would probably be the ones that >I would use the most. > >Tim > >]]>

>

0
Comment actions Permalink

Antechinus looks like an OK javascript editor, but other than my first
bulleted item, it doen't have any of of the functions that I am looking for.

J from armedbear.org is as good for general javascript editing purposes and
it's actually free.

For error checking, I always go to crockford.com/javascript/jslint.html
Unfortunately, it isn't very user friendly and it would be nice if it were
built into an editor/IDE.

What I can't find anywhere are the refactoring capabilities that I listed in
my original post.

Tim


"Norris Shelton" <i.hate.spam@yahoo.com> wrote in message
news:40A90C26.7010805@yahoo.com...

Antechinus is the best that I have seen, but it still pales in comparison.

>

Norris Shelton
Sun Certified Java Programmer

>
>
>
>

Tim Haley wrote:

...

>Some of the things that come to mind are:
>- Syntax color-coding of JavaScript contained within an HTML or JSP

page.

>- Syntax checking and Error highlighting of JavaScript.
>- Reformat HTML/JavaScript/JSP (on a mixed content page)
>- Optimize JSP imports
>- Optimize <script src=''.../> tags
>- Optimize JSP useBean statements
>- Conversion between <jsp:getProperty .../> tags and explicit use of the
>bean property accessors.
>- Conversion between <jsp:setProperty .../> tags and explicit use of the
>bean property mutators.
>- Go to Implementation for JavaScript functions, methods, and variables
>- Go to matching (opening/closing) tag.
>- Convert a set of JavaScript functions into a JavaScript class.
>- Extract/Inline JavaScript file.
>- Extract/Inline JavaScript Function/Method
>- Extract/Inline JavaScript Variable
>- Extract/Inline JSP include page.
>- Extract/Inline custom tag.




0
Comment actions Permalink

Well, Microsoft Visual Studio .NET has pretty good JavaScript support,
including some code completion, debugging, etc. but in many cases gives less
information about problems than Mozilla JavaScript console.

This is how we do things around here:
JavaScript editing - TopStyle 3.1 / IntelliJ. This gives some syntax
coloring.
JavaScript debugging - Mozilla JavaScript console, Venkman and Visual Studio
.NET (we support Gecko and IE).
HTML editing - TopStyle 3.1 (great CSS support).
Resulting page structure - Mozilla DOM inspector (Gecko), Instant Source
(IE)

It is far from ideal and I would love having refactoring for JavaScript, but
we found that developing for Gecko and IE can sometimes save time because no
single environment or tool gives the whole picture.

Amnon

"Tim Haley" <ymaraner@yahoo.com> wrote in message
news:c8b1lk$c64$1@is.intellij.net...

There have been some discussions and requests for IDEA to fully support

HTML

and JavaScript editing.

>

Since there has been no commitment from JetBrains to do so, does anyone

out

there know of an editor that supports any of the excellent java

development

features of IDEA while working with HTML/JSP/JavaScript?

>

I would greatly prefer first-class support of these technologies by IDEA;
However, in the mean time I have to do my job and I would like to have

tools

that help with this aspect of it.

>

Some of the things that come to mind are:
- Syntax color-coding of JavaScript contained within an HTML or JSP page.
- Syntax checking and Error highlighting of JavaScript.
- Reformat HTML/JavaScript/JSP (on a mixed content page)
- Optimize JSP imports
- Optimize <script src=''.../> tags
- Optimize JSP useBean statements
- Conversion between <jsp:getProperty .../> tags and explicit use of the
bean property accessors.
- Conversion between <jsp:setProperty .../> tags and explicit use of the
bean property mutators.
- Go to Implementation for JavaScript functions, methods, and variables
- Go to matching (opening/closing) tag.
- Convert a set of JavaScript functions into a JavaScript class.
- Extract/Inline JavaScript file.
- Extract/Inline JavaScript Function/Method
- Extract/Inline JavaScript Variable
- Extract/Inline JSP include page.
- Extract/Inline custom tag.

>

I'm sure that there are many more, but these would probably be the ones

that

I would use the most.

>

Tim

>
>



0
Comment actions Permalink

Ah... and delirum kicks in over here also... someone please spit out an EAP, or send Tim a nice donut.

If there was such a jewel we wouldn't be using IDEA :)

R

0
Comment actions Permalink

:))) Anyway, the guy's right - many people (incl. myself) really need this.

0
Comment actions Permalink

lllopo wrote:

:))) Anyway, the guy's right - many people (incl. myself) really need this.


...true...

drP

0
Comment actions Permalink

A donut would be appreciated.

Even if such a jewel existed, I would still be using IDEA for Java and the
non-web interface portions of J2EE. I do spend a fair amount of time doing
server side code and, although not currently, doing Swing GUI work.

Tim

"Robert S. Sfeir" <robert@codepuccino.com> wrote in message
news:30051203.1084827083345.JavaMail.itn@is.intellij.net...

Ah... and delirum kicks in over here also... someone please spit out an

EAP, or send Tim a nice donut.
>

If there was such a jewel we wouldn't be using IDEA :)

>

R



0
Comment actions Permalink

Hi,

We will do much of this in version 5 and later. Please, post to tracker
and get votes on the requests :-).

Tim Haley wrote:

There have been some discussions and requests for IDEA to fully support HTML
and JavaScript editing.

Since there has been no commitment from JetBrains to do so, does anyone out
there know of an editor that supports any of the excellent java development
features of IDEA while working with HTML/JSP/JavaScript?

I would greatly prefer first-class support of these technologies by IDEA;
However, in the mean time I have to do my job and I would like to have tools
that help with this aspect of it.

Some of the things that come to mind are:
- Syntax color-coding of JavaScript contained within an HTML or JSP page.
- Syntax checking and Error highlighting of JavaScript.
- Reformat HTML/JavaScript/JSP (on a mixed content page)
- Optimize JSP imports
- Optimize <script src=''.../> tags
- Optimize JSP useBean statements
- Conversion between <jsp:getProperty .../> tags and explicit use of the
bean property accessors.
- Conversion between <jsp:setProperty .../> tags and explicit use of the
bean property mutators.
- Go to Implementation for JavaScript functions, methods, and variables
- Go to matching (opening/closing) tag.
- Convert a set of JavaScript functions into a JavaScript class.
- Extract/Inline JavaScript file.
- Extract/Inline JavaScript Function/Method
- Extract/Inline JavaScript Variable
- Extract/Inline JSP include page.
- Extract/Inline custom tag.

I'm sure that there are many more, but these would probably be the ones that
I would use the most.

Tim



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

IDEA 5, the J2EE Holly Grail? Cool!

R

0
Comment actions Permalink

Glad to hear it. Can I vote 100 times :) ?

0
Comment actions Permalink

Hello, Maxim!
You wrote on Tue, 18 May 2004 16:38:34 +0400:

MM> We will do much of this in version 5 and later. Please, post to
MM> tracker and get votes on the requests :-).

Maybe it time to start "New EAP name suggestions?" :))

--
Alexey Efimov - Java Developer
Tops BI
http://www.topsbi.com


0
Comment actions Permalink

Done.

JSP: http://www.intellij.net/tracker/idea/viewSCR?publicId=32812
HTML: http://www.intellij.net/tracker/idea/viewSCR?publicId=32811
JavaScript: http://www.intellij.net/tracker/idea/viewSCR?publicId=12309

Everybody vote!


"Maxim Mossienko" <Maxim.Mossienko@jetbrains.com> wrote in message
news:c8d04a$ab8$1@is.intellij.net...

Hi,

>

We will do much of this in version 5 and later. Please, post to tracker
and get votes on the requests :).

>

Tim Haley wrote:

There have been some discussions and requests for IDEA to fully support

HTML

and JavaScript editing.

>

Since there has been no commitment from JetBrains to do so, does anyone

out

there know of an editor that supports any of the excellent java

development

features of IDEA while working with HTML/JSP/JavaScript?

>

I would greatly prefer first-class support of these technologies by

IDEA;

However, in the mean time I have to do my job and I would like to have

tools

that help with this aspect of it.

>

Some of the things that come to mind are:
- Syntax color-coding of JavaScript contained within an HTML or JSP

page.

- Syntax checking and Error highlighting of JavaScript.
- Reformat HTML/JavaScript/JSP (on a mixed content page)
- Optimize JSP imports
- Optimize <script src=''.../> tags
- Optimize JSP useBean statements
- Conversion between <jsp:getProperty .../> tags and explicit use of

the

bean property accessors.
- Conversion between <jsp:setProperty .../> tags and explicit use of

the

bean property mutators.
- Go to Implementation for JavaScript functions, methods, and variables
- Go to matching (opening/closing) tag.
- Convert a set of JavaScript functions into a JavaScript class.
- Extract/Inline JavaScript file.
- Extract/Inline JavaScript Function/Method
- Extract/Inline JavaScript Variable
- Extract/Inline JSP include page.
- Extract/Inline custom tag.

>

I'm sure that there are many more, but these would probably be the ones

that

I would use the most.

>

Tim

>
>

>
>

--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"



0
Comment actions Permalink


"Alexey Efimov" <aefimov@tengry.com> wrote in message
news:c8d52c$8vo$1@is.intellij.net...

Hello, Maxim!
You wrote on Tue, 18 May 2004 16:38:34 +0400:

>

MM> We will do much of this in version 5 and later. Please, post to
MM> tracker and get votes on the requests :).

>

Maybe it time to start "New EAP name suggestions?" :))


Athena. Not related to Delphi ;)


0
Comment actions Permalink

Hello, Michael!
You wrote on Tue, 18 May 2004 07:26:43 -0700:

MJ> Athena. Not related to Delphi ;)

Moved to separated thread :)

Alexey Efimov - Java Developer
Tops BI
http://www.topsbi.com


0
Comment actions Permalink

What about this request:
http://www.intellij.net/tracker/idea/viewSCR?publicId=2783

It is also for JSP reformatting. Should we move our votes off of that one to
this new one?

--Grant
http://www.gochnauer.org



"Tim Haley" <ymaraner@yahoo.com> wrote in message
news:c8d6a9$g74$1@is.intellij.net...

Done.

>

JSP: http://www.intellij.net/tracker/idea/viewSCR?publicId=32812
HTML: http://www.intellij.net/tracker/idea/viewSCR?publicId=32811
JavaScript: http://www.intellij.net/tracker/idea/viewSCR?publicId=12309

>

Everybody vote!

>
>

"Maxim Mossienko" <Maxim.Mossienko@jetbrains.com> wrote in message
news:c8d04a$ab8$1@is.intellij.net...

Hi,

>

We will do much of this in version 5 and later. Please, post to tracker
and get votes on the requests :).

>

Tim Haley wrote:

There have been some discussions and requests for IDEA to fully

support

HTML

and JavaScript editing.

>

Since there has been no commitment from JetBrains to do so, does

anyone

out

there know of an editor that supports any of the excellent java

development

features of IDEA while working with HTML/JSP/JavaScript?

>

I would greatly prefer first-class support of these technologies by

IDEA;

However, in the mean time I have to do my job and I would like to have

tools

that help with this aspect of it.

>

Some of the things that come to mind are:
- Syntax color-coding of JavaScript contained within an HTML or JSP

page.

- Syntax checking and Error highlighting of JavaScript.
- Reformat HTML/JavaScript/JSP (on a mixed content page)
- Optimize JSP imports
- Optimize <script src=''.../> tags
- Optimize JSP useBean statements
- Conversion between <jsp:getProperty .../> tags and explicit use of

the

bean property accessors.
- Conversion between <jsp:setProperty .../> tags and explicit use of

the

bean property mutators.
- Go to Implementation for JavaScript functions, methods, and

variables

- Go to matching (opening/closing) tag.
- Convert a set of JavaScript functions into a JavaScript class.
- Extract/Inline JavaScript file.
- Extract/Inline JavaScript Function/Method
- Extract/Inline JavaScript Variable
- Extract/Inline JSP include page.
- Extract/Inline custom tag.

>

I'm sure that there are many more, but these would probably be the

ones

that

I would use the most.

>

Tim

>
>

>
>

--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

>
>


0
Comment actions Permalink

I missed that one. Quite a few votes too! I would leave them there. And
add more for the other features listed in
http://www.intellij.net/tracker/idea/viewSCR?publicId=32812

Unfortunately, tracker doesn't have the best UI. It is easy to miss
existing items if you don't format your query just right. It also takes way
to long to search for them or to add new ones. If it were a little easier,
I would have added a separate request for each bulleted item.

Tim


"Grant Gochnauer" <ggochnauer@braunconsult.com> wrote in message
news:c8dbod$hv7$1@is.intellij.net...

What about this request:
http://www.intellij.net/tracker/idea/viewSCR?publicId=2783

>

It is also for JSP reformatting. Should we move our votes off of that one

to

this new one?

>

--Grant
http://www.gochnauer.org

>
>
>

"Tim Haley" <ymaraner@yahoo.com> wrote in message
news:c8d6a9$g74$1@is.intellij.net...

Done.

>

JSP: http://www.intellij.net/tracker/idea/viewSCR?publicId=32812
HTML: http://www.intellij.net/tracker/idea/viewSCR?publicId=32811
JavaScript: http://www.intellij.net/tracker/idea/viewSCR?publicId=12309

>

Everybody vote!

>
>

"Maxim Mossienko" <Maxim.Mossienko@jetbrains.com> wrote in message
news:c8d04a$ab8$1@is.intellij.net...

Hi,

>

We will do much of this in version 5 and later. Please, post to

tracker

and get votes on the requests :).

>

Tim Haley wrote:

There have been some discussions and requests for IDEA to fully

support

HTML

and JavaScript editing.

>

Since there has been no commitment from JetBrains to do so, does

anyone

out

there know of an editor that supports any of the excellent java

development

features of IDEA while working with HTML/JSP/JavaScript?

>

I would greatly prefer first-class support of these technologies by

IDEA;

However, in the mean time I have to do my job and I would like to

have

tools

that help with this aspect of it.

>

Some of the things that come to mind are:
- Syntax color-coding of JavaScript contained within an HTML or JSP

page.

- Syntax checking and Error highlighting of JavaScript.
- Reformat HTML/JavaScript/JSP (on a mixed content page)
- Optimize JSP imports
- Optimize <script src=''.../> tags
- Optimize JSP useBean statements
- Conversion between <jsp:getProperty .../> tags and explicit use

of

the

bean property accessors.
- Conversion between <jsp:setProperty .../> tags and explicit use

of

the

bean property mutators.
- Go to Implementation for JavaScript functions, methods, and

variables

- Go to matching (opening/closing) tag.
- Convert a set of JavaScript functions into a JavaScript class.
- Extract/Inline JavaScript file.
- Extract/Inline JavaScript Function/Method
- Extract/Inline JavaScript Variable
- Extract/Inline JSP include page.
- Extract/Inline custom tag.

>

I'm sure that there are many more, but these would probably be the

ones

that

I would use the most.

>

Tim

>
>

>
>

--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

>
>

>
>


0
Comment actions Permalink

I agree with Tim,

There are flat out too many issues in tracker to even start finding and voting on them. What we need is someone, probably JB, to compile together a list of features which they think will go in, and let us discuss it in a thread like this. yeah the thread will be huge, but at least we'll have all the info in one spot which people can review to comment on.

Voting for issues is just not going to do it. There are sometimes not enough votes for people to put on issues. If you have 100 votes but 400 JSP issues, who the heck do you vote for all of them? Force people to choose? Then they complain later that it was an issue they wanted never the less.

R

0

Please sign in to leave a comment.