Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Formatting of jsp file that contains Javascript
Formatting of jsp file that contains Javascript [message #210225] Wed, 12 March 2008 03:24
Eclipse User
Originally posted by: srikrishnan.indigotx.com

Hi,
I would greatly appreciate if anyone can help me format a jsp file
containing <script> tags. I need to format both jsp code as well as the
code within <script> tags.

Ctrl+Shift+F on a jsp file (placed under a web project ) only formats
the snippets of code within html tags and jsp tags (that is, code within
<% and %>). My jsp file has a bunch of <script> tags. The code within
the <script> tags also needs to be formatted (probably using the
Javascript formatter).

If anyone has already figured out a way to do this, please let me know.

Thanks
Sri
Previous Topic:Where can I download WTP All-in-one R2.0.2 from?
Next Topic:CompletionProposal offset
Goto Forum:
  


Current Time: Thu Oct 02 08:32:21 GMT 2014

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

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