One of the cool things about the new Visual Studio SharePoint development tools is the ability to communicate with SharePoint to retrieve and work with SharePoint content. Running SharePoint code in the context of a Visual Studio SharePoint development tools extension is pretty simple, but you do have to know one thing in order to be able to debug it.
One of the many great things that the Visual Studio SharePoint development tools allow you to do is to help you automate and simplify working with SharePoint content without leaving Visual Studio. Knowing how to retrieve a document opened in Visual Studio using its name, is one of the basic things you need to know to make your extension really powerful.
While extending the new Visual Studio SharePoint development tools, you can create extensions that do various things: from retrieving content of a SharePoint Site and its properties to manipulating it and exporting into SharePoint Project Items (SPI). As some of these operations might take a while to run, it is considered a good practice to let the user know what the extension is doing at the moment.
Visual Studio 2010 ships with a great extensibility functionality allowing you to write and deploy new extension in a very easy way. However, if you’re a SharePoint developer there is one thing to keep in mind while installing new extensions.
It’s probably one of the most obvious types of extensibility – to generate files out of content existing in a SharePoint Site. There are many examples already there available either in SharePoint Designer or the Visual Studio SharePoint development tools. Still there are many things yet to be created. Knowing how to programmatically create a new file in Visual Studio, is the basic thing that you need to know how to do, before you get started with your own extensions.