Shortcut to formatting JSP code does not work in Eclipse

2

I looked at several posts, but I can not format codes on JSP pages with the Eclipse shortcut, Ctrl + Shift + F , so no managing to indent the code. In Javascript and Java code works, but not in JSP.

I need to reconfigure this shortcut in Eclipse (luna), because I'm working with Bootstrap, taking documentation code, and it's very bad without indenting.

Eclipse Java EE IDE for Web Developers.

Version: Luna Service Release 2 (4.4.2) Build id: 20150219-0600

PS: at the end of the JSP I have a <script> tag with a Javascript code, format and comment there. How strange, just in HTML TAG NOT.

    
asked by anonymous 22.01.2016 / 12:07

1 answer

2

Man, I have not used eclipse for a while, but I think it's with this command here:

Ctrl + I     

22.01.2016 / 12:50