Formatting IntelliJ JSP

When I try to format some JSP files in IntelliJ, all lines start from the beginning.

What parameters should be changed to make IntelliJ more formatted JSP files?

+4
source share
1 answer

IntelliJ IDEA 15

JSP associated with HTML, and HTML tags of the following: children html, body, thead, tbody, tfootthe default do not have padding.

This can be changed from "File"> "Settings" ...> "Editor"> "Code Style"> "HTML"> "Other"> " Do not back off from children: > delete all from here> OK

Do not retreat from children Remove tags

Ctrl + Alt + L.

+6

Source: https://habr.com/ru/post/1623675/


All Articles