A coworker asked for this feature, wondering if Visual Studio or ReSharper
could help, and I know I've wanted this in the past... but haven't seen any
easy way to do it: extract the XML path (XPath) to the node the cursor is
There have been many times when I just want to get the path to where a
certain node is, so I can just paste that path into an XPath query string or
something similar. Is there an easy way to do this?
If not, can ReSharper be enhanced to provide this functionality? I already
get a little pencil pop-up that offers several useful options... it'd be
nice if "show path to current node" would be there, or "copy path to current
node to clipboard" or however you want to implement it.
Any suggestions or comments?