Best Practice for Adding Commands to Visual Studio .NET

  One of the most important considerations to increase the performance of Visual Studio .NET is to delay the loading of VSPackages. Loading a VSPackage DLL is expensive from a file I/O point of view, adding extra memory pressure to the working set, and execution time of running more code. There are many delay loading…

1

Tool Window is closing … Or is it really

Wow! That was a pretty long vacation for the good doctor. I know that most of you have been aching to hear from me. Anyway I missed you all a lot and am glad to be back. Hope you and your family had nice Halloween! It was nice for us.             I don’t know about you but…

2

Opening a document in a specific editor from a ToolWindow

The doctor is back in the house after taking some well needed rest. Back to your Visual Studio Extensibility questions!   How do I open a document in a specific editor from a ToolWindow? I tried IVsUIShellOpenDocument::OpenSpecificEditor(…) but had some trouble. Can you help?   Sure! You found the right method to call if you’re…

2

Hosting Code Editor in Tool Windows

Deploying Visual Studio 2003 managed VSPackages(Reposted here) Hosting Code Editor in a ToolWindow          I am pretty sure you have thought about doing this. Come on! I know you have. I had been thinking about implementing it for quite some time now. But one of our resident surgeons Ed Dore beat me to it. Read…

6

Visual Studio 2005 – Extensibility Test Specifications

Test Specification for VS Extensibility   Have you ever wondered what we test on VSIP & Extensibility features in the VS QA team when we release Community Tech Previews?  We run a small number of automated tests on most of our features against each new build of VS & VSIP. If the results from tests…

2

I say Annotate that!!!

  Fresh off the grill or should I say warmed after deep freeze? I will leave that up to you. But I thought it was about time to let you all party on the Source Code Annotation sample, developed by one of my assistants, Chetan N Parmar at Tech Ed 2004 Visual Studio Extensibility Cook…

9

How do I implement a custom Text marker?

A: Aha! Custom text markers are one of those cool features lacking adequate documentation on how to implement it. I feel that implementing one is really very straight forward and hope you would be able to use to your heart’s content.   Providing custom markers text markers essentially boils down to implementing three components   ·          A…

5

How was your TechEd 2004?

Thanks a lot to all who dropped by the Visual Studio Extensibility booth to meet n greet  ‘Da VS Extensibility Gang’. I am sure the cool swag we handed out with my face on it would have made your trip worth while. Anyway one of my clones/spy was there too and had some good feedback…

6

Are you going to be at TechEd 2004?

Are you going to be at TechEd 2004? What would you like to have for brunch? No seriously! Doctor and some of his accomplished colleagues are going to cook components to satisfy your insatiable hunger to extend Visual Studio. At TechEd, we will be holding a Cabana session (we are calling it a cook off)…

3

How do I enable standard Visual Studio commands and accelerator keys for a Tool Window?

    Alright! Alright! I know you want to be in command here. Just make sure your tool window gets agood dose of high octane OLE command handling. Using Visual Studio Integration packages (VSPackages)it is very easy to handle existing command likeEdit.Copy or Edit.Paste in your tool windows.  For example to handle Edit.Copy or Edit.Paste in…

0