Question

Using IntelliJ Idea, is there a way to autoformat JSP, similar to how Java files are formatted?

Was it helpful?

Solution

Code | Reformat Code works for JSP pages in IntelliJ IDEA Ultimate Edition when your JSP file extension is mapped to the Java Server Page files in Settings | File Types.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top