Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ReSharper Essentials

You're reading from   ReSharper Essentials Make your Microsoft Visual Studio work smarter with ReSharper.

Arrow left icon
Product type Paperback
Published in Feb 2014
Publisher Packt
ISBN-13 9781849698702
Length 124 pages
Edition Edition
Arrow right icon
Author (1):
Arrow left icon
Lukasz Gasior Lukasz Gasior
Author Profile Icon Lukasz Gasior
Lukasz Gasior
Arrow right icon
View More author details
Toc

Searching code references


When we are writing about finding something in your project, it is not only about opening the files that you are working on, but also about finding relations within your code.

Go to Declaration

When you are analyzing your code, it is a very common scenario that you need to go to a particular place where a type is declared.

With ReSharper, you can do this by pressing F12 (Go to Declaration) on your type, method, or property use/call. Another way to achieve this is by pressing Ctrl, moving your mouse cursor above a symbol, and clicking on the left mouse button.

Code usage

As you need to go to declaration, you probably also want to check where your symbol (class, method, and so on) is used. To do this, just move cursor to your symbol and press Shift + F12 (Find usages). If there is only a single instance of the symbol being used, then ReSharper will just move you there. If there are more instances, then ReSharper will display a new Find Results window with all occurrences...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image