Open Type Macro In Visual Studio
Posted by: Vault of Thoughts,
on 22 Sep 2007 |
View original | Bookmarked: 0 time(s)
In my last article on opening a file in
Visual Studio, I have described how to write a macro to open a file given it's
name. Now we can take it one step further. How about opening a file containing a type
name.
Unlike opening a file, where there is a built in function, searching for a type is
a complicated task. We need to loop over all projects, all items, and then analyze
the code. Other than that, the code is rather simple if you understand recursion:
...