Feature request for R# 8 - XAML Find Usages

Hi, the most missing features for me in R# 7, that would be great to have in R# 8, is having better support for XAML named elements, especially the possibilty to right click on x:Name="myTextBlock" and have option in context menu Find usages just like for C# types/instances - to find all usages of converters, styles, etc. Another useful feature will replacing inlined DataTemplates to resources and vice versa. Sometimes I just have one usage of my DataTemplate and I want to quickly add it to the only place where it's used. Or maybe another feature - find duplicates in templates, styles or even find similar controls and extract similar fields into common styles. Sometimes I found myself in project where the previous developer used the same properties on dozens of elements and I just want to refactor this code to use common Style on all these controls.
Any plans for including this in R# 8?

5 comments
Comment actions Permalink

Hi Martin, hi Klaus,

Actually, Find Usages should work fine with XAML. However, I've logged your request here in YouTrack: http://youtrack.jetbrains.com/issue/RSRP-345365
Please describe in detail what is not working/not implemented for you, as well as what new features would you like to see there in ReSharper 8. The corresponding developer will get YouTrack notifications and reply to you directly.

Thank you in advance!

0
Comment actions Permalink

See the screenshots, I'd like to have the possibility to right click any x:Name and use Find Usages.
xaml.pngcsharp.png

0
Comment actions Permalink

This feature is still not implemented in latest R# 8 EAP, can we expect it in RTM?

Screenshot (1).png

0
Comment actions Permalink

Martin,

This feature is available in XAML, please use the "ReSharper | Find | Find Usages" command in the main menu or the corresponding shortcut.

The command is not available in the context menu in XAML editor due to VS integration issues (it does not provide us a valid mechanism to create ReSharper commands there), so all features are available via Keyboard Shortcuts or Main Menu commands only.

Thanks.

0

Please sign in to leave a comment.