Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

331
Views
Is there an opposite to 'go to definition' in Visual Studio?

I can right click a variable/method/class etc and click 'go to definition' and it will show me where that variable/method/class was created.

Is there a way to do the opposite of that? Is there a way to see where that variable/method/class is used in your C# project?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Right click, find all References. Or use Ctrl+K+R

UPDATE

I know where the Ctrl+K+R vs Shift+F12 confusion stems from. For developers that set up their environment settings for C#, Visual Basic or JavaScript, Ctrl+K+R is the keyboard shortcut that shows up in context menus. Shift+F12 is the keyboard shortcut that shows up in context menus when the environment settings is set up for Web Development or General.

To change the environment settings:

Tools > Import and Export Settings > No, just reset settings, overwriting my current settings > General / JavaScript / Visual Basic / Visual C# / Visual C++ / Visual F# / Web Development /Web Development (Code Only)

over 4 years ago · Santiago Trujillo Report

0

Try Shift + F12

It will find all references.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!