Have intellisense automatically in SharePoint XML files

Fed up of having to browse for wss.xsd all the time? me too....

To enable intellisense automatically in Visual Studio when you open a SharePoint XML file you must add a reference to wss.xsd in the schema catalog.
To do so, open C:\Program Files\Microsoft Visual Studio 9.0\Xml\Schemas\catalog.xml and add this tag:

<Schema href="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\wss.xsd" targetNamespace="http://schemas.microsoft.com/sharepoint/" />

That's all...

Know all your XML documents referenced with xmlns="http://schemas.microsoft.com/sharepoint/" namespace such as in the following example, will automatically have intellisense active when you open them in Visual Studio.

<Feature xmlns="http://schemas.microsoft.com/sharepoint/" Id="4248E21F-.... etc..."