Navigation improvements in Rider 2018.1 EAP

Our latest EAP builds of Rider 2018.1 include improvements in navigation. Let’s explore some of the new features for the Find Usages and Go To actions, such as getting results in a tool window (with previews!) as well as this being executed asynchronously – making things snappier.

Navigation and Find Usages

Rider now has improved support for getting multiple results for Find Usages. For example, when we want to find where a certain view model is used in our solution, we can Find Usages by pressing Shift+F12. If a single usage is found, Rider will navigate us to the usage directly in the editor. When multiple usages are found, we can explore them in a separate tool window.

Find Usages

Note the the process of finding usages is performed asynchronously so the IDE will not lock-up for large solutions.

In the Find tool window, we can preview the line of code that the symbol was discovered. We can jump to a line of code from the list of usages by highlighting the result (using mouse or keyboard arrows) and using the Jump to Source context menu (F4).

Find Usages Jump to source

If we want to look at a preview of the selected usage, we can select the Preview Usage button in the Find tool window.

Show Find Usage Preview

Find Usages is supported for all languages supported by Rider, including C#, VB.NET, F#, JavaScript, and TypeScript.

Navigation and Go To

In Rider 2018.1 EAP, the pop-up windows for finding usages also have been improved to correctly show and preview usages of symbols and types. In the editor, we can place the cursor over any symbol and press Shift+Alt+F12. This will display a pop-up window showing usages.

Go To Results in Tool Window

If a single usage is found, Rider will navigate us to the usage directly in the editor. Like the Find Usages process, the Go To search is now an asynchronous action.

Give the latest Rider 2018.1 EAP build a try! We’d love to hear your feedback on these updated features!

About Chris Woodruff

Chris Woodruff or Woody as his friends call him, is a Developer Advocate at JetBrains, working on .NET and Database tools. He focuses on .NET, REST APIs, web development, and AWS. Chris is a humbled speaker at various US and international conferences.
This entry was posted in How-To's and tagged , , , . Bookmark the permalink.

4 Responses to Navigation improvements in Rider 2018.1 EAP

  1. George Cook says:

    The last one (shift alt and f12) is simply the shiznit..

    You guys rock. I imagine Jetbrains HQ is like this..

    http://www.disneypicture.net/data/media/241/santa-claus_1900.jpg

    but with features instead of puppies.

  2. Fernando C says:

    This is good, but I still miss the Open Call Hierarchy feature. It shows a tree of references and is much more practical than right-click each place and asking to show references again. https://goo.gl/images/fGrHhv.

Leave a Reply

Your email address will not be published. Required fields are marked *