Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JSPX formatting(XML namespaces and XML formatter)
JSPX formatting [message #770139] Fri, 23 December 2011 12:55
Lukas Zboron is currently offline Lukas ZboronFriend
Messages: 1
Registered: December 2011
Junior Member
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: Sun Dec 21 02:08:38 GMT 2014

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

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