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:CompletionProposal offset
Next Topic:content assist, folding , hiding
Goto Forum:

Current Time: Sat Apr 29 05:53:24 GMT 2017

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

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