JetBrains / resharper-rider-samples

Simple interactive exercises to help learn ReSharper and Rider
Apache License 2.0
228 stars 173 forks source link

Confirmation of expected behavior @ 01-Navigation/6-Find_usages/6.2-Find_usages.cs #42

Open sun-flat-yamada opened 3 years ago

sun-flat-yamada commented 3 years ago

Summary

I want to check the expected behavior.

I didn't know what to expect from what was written in this workshop. 01-Navigation/6-Find_usages/6.2-Find_usages.cs

    :
        // 1. Put the caret on ButtonText and Find Usages
        //    Note that ReSharper has found read and write usages
-->     //    It has also found usages of the type in a XAML control
-->     //    And has inferred a dynamic usage in the XAML control where no type is specified
    :

When I tried it with ReSharper, I got the following results, is this what you expect? What part of this do you want me to look at?

jetbrains-resharper-find-usages

maartenba commented 3 years ago

That tool window in your screenshot looks like the "regular Visual Studio" tool window. Can you try resetting the R# keymap (Extensions | ReSharper | Options, then Environment | Keyboard | Shortcut scheme, and Apply Scheme)

Ideally the screen should look like this: image

I just pushed an update to fix the XAML user control (it was no longer working)

sun-flat-yamada commented 3 years ago

Hi, @maartenba .

Apparently, my ReSharper is not working perfectly.

I had problems with shortcuts not being applied before, but I haven't been able to essentially solve the problem. I'll try uninstalling and setting it up again.

maartenba commented 3 years ago

Also check Extensions | ReSharper | Options, then Environment | Keyboard | Shortcut scheme, and Apply Scheme, this should put the keymap in place