Is there anyway to have the Pretty Output feature preserve comments in my JavaServer Faces config file?
Unfortunately, due to the way XML is structured and how XML parsers work there is no way (at least that I know of) to preserve comments in config files when using the Pretty Output feature. The problem lies in the fact that XML comments can be placed before or after XML tags. So for instance, some people may put comments before a tag starts and some people may put comments after a tag starts or perhaps both. When the Faces Console adds or removes XML tags from files there’s no way to know which tag a comment belongs to. Does it belong to the tag above it or below it? 3. How do I make the Pretty Output feature work when using Faces Console as a plugin? Currently the Pretty Output feature can only be configured from inside the standalone version of Faces Console. However, once you have configured the Pretty Output options in the standalone version, the options apply to all of the Faces Console plugins. Future versions of Faces Console will support modifying the Pretty Output options dire
Is there anyway to have the Pretty Output feature preserve comments in my JavaServer Faces config file?