Saturday, June 4, 2011

XML Skin Intellisense in Visual Studio

When creating a skin file in Visual Studio by default the Intellisense is turned off on the xml .skin file located in the theme. You can turn on this Intellisense by doing the following:

1. Go to Tools>Options>Text Editor>File Extension
2. In the Extension text box enter the file type 'skin'
3. Select fromt the Editor drop down 'User Control Editor'
4. Click 'Add' to add it to the extension list.
5. Click 'OK'
6. Close any skin files that are open and reopen them.

This should now give you Intellisense for your skin file.


No comments:

Post a Comment