Google Answers Logo
View Question
 
Q: Is there a good code browser for VisualBasic.net? ( No Answer,   2 Comments )
Question  
Subject: Is there a good code browser for VisualBasic.net?
Category: Computers > Programming
Asked by: theworld-ga
List Price: $50.00
Posted: 08 Nov 2005 12:29 PST
Expires: 08 Dec 2005 12:29 PST
Question ID: 590645
I have used Visual Smalltalk Enterprise (VSE), which is an object
oriented programming language.  It has a wonderful code browser.  It
allows you to see all classes in a hierarchical fashion, to highlight
a class and see all its methods, to highlight a method and see the
code.  Having selected a method, a single click shows you all
implementors of that method and senders of that method.  You can also
get a list of all methods called by that method.  You can also quickly
get a list of all methods that reference a particular class.  And so
on.

The browser in VisualBasic.net seems extemely cumbersome and weak
relative to the Smalltalk browser.  I am looking for a powerful
browser to use in VB.net.  Maybe it's built into the product and I
just don't know where to find it.  More likely someone 3rd party has
designed such a browser.

Thanks in advance!

Clarification of Question by theworld-ga on 10 Nov 2005 15:57 PST
Thanks.  That is not the kind of browser I'm looking for.  I'm looking
for a browser that a programmer uses when developing code.  It lets
him/her examine and modify the code.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Is there a good code browser for VisualBasic.net?
From: mister4u-ga on 09 Nov 2005 06:33 PST
 
I'm not sure if this is what you need but take a look.
http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1417&lngWId=1
Subject: Re: Is there a good code browser for VisualBasic.net?
From: pianoboy77-ga on 15 Nov 2005 10:47 PST
 
Yes, the Visual Studio.NET "browser" (which I'll call IDE from here
on) is not as powerful as what you are looking for, but it does
support part of what you want: the browsing of classes, methods, etc.,
in a hierarchical view.

The default view of your code structure is the "Solution Explorer"
view, which shows the files and projects in your solution. What you
want to do is switch to class view. You can access this by clicking
the "View" menu at the top, and then clicking on "Class View". You
should also see tabs below these views which give you a quick way to
switch between Solution Explorer and Class View.

In the Class View, you can drill down through the hierarchy of all
your classes. You can double-click any item (or right-click and choose
"Go to Definition") to open the source code file at the point where
that item is declared/defined.

In C# projects, there is also a "Go to Reference" choice when you
right-click, which takes you to the first place that references (i.e.
makes a call to or makes use of) the chosen item. You can use CTRL +
SHIFT + 1 to cycle to the next found reference(s) and CTRL + SHIFT + 2
to move back to the previous one. Unfortunately, for some unknown
reason, this "Go to Reference" feature does not appear in the IDE when
your project is a VB.NET project. It seems to be a C#-only feature.

Also unfortunate for you is that there *are* 3rd party tools for doing
exactly what you want and much more, but they are only for C#. Two
well-known tools are Resharper (http://www.jetbrains.net/resharper)
and C# Refactory (http://www.xtreme-simplicity.net/CSharpRefactory.html).
Resharper is planning to add support for VB.NET in the very near
future, so keep an eye out for that.

Or you might want to consider switching to C#, if your current
situation allows you to, if you want these features now.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy