viasfora icon indicating copy to clipboard operation
viasfora copied to clipboard

Color per namespace in XML

Open maxtoroq opened this issue 8 years ago • 1 comments

When working with XML documents that mix elements from different namespaces it can be hard to quickly distinguish one namespace from the other. It would be a great feature to visualize elements using different colors based on the namespace, like what Visual Studio does with XSLT.

I see you are already coloring prefixes. Although the same prefix can be bound to different namespaces in the same document, if it makes the implementation simpler it would be a perfectly acceptable solution to implement color per prefix, since that covers what 99.9% of users need.

The idea is to color the whole name: prefix, colon and local parts, in both open and close tags.

maxtoroq avatar Jan 08 '16 05:01 maxtoroq