Pressing Ctrl+Shift+F
on a JSP editor in eclipse only formats the codes within html tags and jsp tags.
But my JSP file has a lots of JavaScript( unformatted) embedded using <script> </script>
. So it very difficult to read the JavaScript code.
My Question is:
Is there any plugin or any other way to format those embedded JavaScript along with the HTML/JSP codes to make them readable?
If anyone has already figured out a way to do this, please let me know.