Ensuring reformat code in jsp page does not create whitespace
This has been a problem for a long time in Idea, when you reformat jsp pages, it will create whitespace by moving around the start and end code blocks.
For instance, if you have:
<%@ page import=" java.net.URL, java.util.ArrayList, java.util.List, java.io.IOException"
%><%@ include file="_global.jspf" %><%
my other code here...
%>
When you reformat, it will change to:
<%@ page import=" java.net.URL, java.util.ArrayList, java.util.List, java.io.IOException"%>
<%@ include file="_global.jspf" %>
<%
my other code here...
%>
Which causes problems when you don't want to output spaces.
Is there any way to force Idea not to create whitespace when reformatting jsp's?
Please sign in to leave a comment.