Hiding XML Attributes or custom Color

Hello there,
i would like to ignore certain xml Attributes, when working with XML. For example this one:
<SharePoint:RobotsMetaTag runat="server" __designer:Preview="" __designer:Values="&lt;P N='InDesign' T='False' /&gt;&lt;P N='ID' T='ctl00' /&gt;&lt;P N='Page' ID='1' /&gt;&lt;P N='TemplateControl' ID='2' /&gt;&lt;P N='AppRelativeTemplateSourceDirectory' R='-1' /&gt;"/>

It would be very cool to hide the xml attributes __designer:Preview and __designer:Values or at least make them display in another color like a light grey.

Is something like this possible with Resharper? I did not find a way.

1 comment

Hello Nils,

There's no built-in functionality in ReSharper for this scenario. You can
achieve this behavior by writing a plug-in for ReSharper. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello there,

i would like to ignore certain xml Attributes, when working with XML.
For example this one:

<SharePoint:RobotsMetaTag runat="server" __designer:Preview=""
__designer:Values="&lt;P N='InDesign' T='False' /&gt;&lt;P N='ID'
T='ctl00' /&gt;&lt;P N='Page' ID='1' /&gt;&lt;P N='TemplateControl'
ID='2' /&gt;&lt;P N='AppRelativeTemplateSourceDirectory' R='-1'
/&gt;"/>

It would be very cool to hide the xml attributes __designer:Preview
and __designer:Values or at least make them display in another color
like a light grey.

Is something like this possible with Resharper? I did not find a way.

---
Original message URL:
http://devnet.jetbrains.net/message/5307135#5307135



0

Please sign in to leave a comment.