How can I prevent IntelliJ from wrapping JSP code like this?
<textarea class="doh"><%=foo%></textarea>
After formatting, the closing tag is on the next line.
<textarea class="doh"><%=foo%> </textarea>
If foo is an empty string then I get blank spaces in the textarea.
File | Settings | Code Style | HTML | Don’t break if inline content, add
textareato the list of tags.Unfortunately, it doesn’t work for the JSP script tags, please watch/vote the issue in YouTrack.