Freigeben über


Did you know… You can create folders to organize your objects and methods within the Class View? - #347

Happy Halloween! Here’s a picture of me and Beth Massi (i’ll let you guess which is which) at her annual Halloween party. An unsuspecting Agent Smith showed up, but he didn’t know martial arts, which was anti-climatic consider this Trinity does.

Sara Ford as Trinity, and Beth Massi as a red Devil

One difference between the Class View and the Object Browser is the way to create “custom component sets” in Object Browser speak. In the Class View, you can quickly click on the folder icon to create a folder to store both objects and methods.

Class View New Folder

now you can drag both objects into the folder, as shown below

Object shown in the New Folder 1

but you can also drag individual methods (i discovered this one by accident to see what would happen).

individual method in New Folder1

And to state the obvious, since that’s what i do, you can double click a method to jump straight to it in code (if it is a part of your solution; otherwise, if a part of the framework, it’ll jump into the object browser).

method in code

Technorati Tags: VS2005Tip,VS2008Tip

Comments

  • Anonymous
    October 30, 2008
    PingBack from http://mstechnews.info/2008/10/did-you-know%e2%80%a6-you-can-create-folders-to-organize-your-objects-and-methods-within-the-class-view-347/

  • Anonymous
    November 18, 2008
    Great tip Sara (and great costume (and an even great pouting pose!)). When reading this, I thought what a great feature, but then thought of the churn that would occur in the either the project file or solution file. Turns out that it's stores in the .suo file!  Which is nice. Thanks again. Steve Dunn

  • Anonymous
    November 18, 2008
    Great tip Sara (and great costume (and an even greater pouting pose!)). When reading this, I thought what a great feature, but then thought of the churn that would occur in the either the project file or solution file. Turns out that it's stores in the .suo file!  Which is nice. Thanks again. Steve Dunn

  • Anonymous
    November 19, 2008
    the pose was me doing my Trinity from the Matrix impression. =)