I annoyingly discovered that Visual Studio does not support intellisense when editing skin files. To save the hassle of using an aspx page and then copying it back there is a little tweak you can do to visual studio to allow this.
Simply go to the Tools|Options|FileExtension and add
skin, then select User Control Editor from the list and press Add.
Close and re-open any open skin files and voila you will now have intellisense support for skin files. The trick basically tells visual studio to open the skin source in the user control editor.
Cant believe this wasn't a feature out of the box though!
Wednesday, 14 January 2009
Intellisense for skin files in Visual Studio
Posted by Omen at 17:24
Labels: ASP.NET, Visual Studio IDE
Subscribe to:
Post Comments (Atom)
13 comments:
Thanks it worked
It worked for me
I can't find "file extensions" in the options menu. I'm using Visual Studio 2008.
@Anonymous - Go to the Options again, then the Text Editor Settngs and the File Extensions option is under that!
Hope that sorts you out.
Hohoho very good tip! It worked!
Works like a charm in Visual Studio 2010 as well!
I love you.
Thanks it work for me too
Thanks it work for me too
Cool, great share!
Oh Yeah. First search on Google. Worked a treat. Using VS 2010 and still can't believe it isn't out of the box.
Awesome...thanks for posting!
Omen u rockzzzzzz... Thanks alot. Its working.
Post a Comment