Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » JSPX formatting(XML namespaces and XML formatter)
JSPX formatting [message #770139] Fri, 23 December 2011 07:55
Eclipse UserFriend
Is there a way to make automatic formatter to keep every xml namespace declaration on separate line?

This:
<jsp:root xmlns:jsp="http:java.sun.com/JSP/Page" 
	xmlns:tiles="http:tiles.apache.org/tags-tiles"
	xmlns:c="http:java.sun.com/jsp/jstl/core" 
	xmlns:fn="http:java.sun.com/jsp/jstl/functions"
	xmlns:x="http:java.sun.com/jsp/jstl/xml" 
	xmlns:fmt="http:java.sun.com/jsp/jstl/fmt"
	xmlns:sql="http:java.sun.com/jsp/jstl/sql" version="2.0">


will be formatted to:
<jsp:root xmlns:jsp="http:java.sun.com/JSP/Page" xmlns:tiles="http:tiles.apache.org/tags-tiles" xmlns:c="http:java.sun.com/jsp/jstl/core"
	xmlns:fn="http:java.sun.com/jsp/jstl/functions" xmlns:x="http:java.sun.com/jsp/jstl/xml" xmlns:fmt="http:java.sun.com/jsp/jstl/fmt" xmlns:sql="http:java.sun.com/jsp/jstl/sql"
	version="2.0">


I would like to keep these lines as I write them. There is an option to split attributes to separate lines, but that's not what I want.
Previous Topic:jsp Text Editor in Indigo
Next Topic:Static web project
Goto Forum:
  


Current Time: Tue Jul 08 14:07:07 EDT 2025

Powered by FUDForum. Page generated in 0.06044 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top