Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Formatting of jsp file that contains Javascript
Formatting of jsp file that contains Javascript [message #210225] Wed, 12 March 2008 03:24
Eclipse UserFriend
Originally posted by:

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.

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

Current Time: Tue Jun 19 18:45:26 GMT 2018

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

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

Back to the top