Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 532
  • Last Modified:

Visual Studio IDE - Open class member in Object Browser

In the VBA IDE, selecting a standard keyword (ex. MsgBox) and selecting View / Definition takes you the Object Browser for that keyword. In other words, the VBA IDE takes it's best crack at finding the keyword and presenting it in the Object Browser. (Usually, it does a good job.)

In the Visual Studio IDE, selecting a standard keyword (ex. MessageBox) and selecting View / Definition doesn't take you to the Object Browser, instead it takes you to the code where the keyword is defined. This is often useful, but it would be nice if there was a way to instruct Visual Studio to open the Object Browser and to take a crack at finding the selected keyword in object browser. Is this possible?
0
jdana
Asked:
jdana
  • 2
2 Solutions
 
Fernando SotoRetiredCommented:
Hi;

Using View / Definition brings you to the location within your project where you defined the variable or function so you do not go crazy looking for it. If you want the documentation for a keyword, highlight the keyword and then press PF1. Depending on how you did the initial install of Visual Studio the internal documentation will come up if you loaded it and if not the default internet browser will open up and go to the documentation on the web.
0
 
CodeCruiserCommented:
If I view definition on "string", VS2010 takes me to the decompiled code of string class so it goes a step further than object browser.
0
 
jdanaAuthor Commented:
FernandoSoto,

The "F1" pages are pretty good. (I've made a point of using them regularly.)

Thanks!

J
0
 
Fernando SotoRetiredCommented:
Hi jdana;

Not a problem, glad to help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now