玄铁剑

成功的途径:抄,创造,研究,发明...
posts - 128, comments - 42, trackbacks - 0, articles - 174

How to enable IntelliSense in .skin files

Posted on 2008-03-06 23:01 玄铁剑 阅读(270) 评论(0)  编辑 收藏 引用 所属分类: asp.net

IntelliSence everywhere! That's one of the biggest features in new Visual Studio .NET 2005 (VS 2005). But guess what, it doesn't work out of the box in .skin file  - the place you really need it. Those of you who worked with ASP.NET 2.0 themes understand me. Good news - there is a workaround to enable this feature. Do the following:

1. Go to Tools->Options menu.
2. Pick Text Editor -> File Extesion fom a tree at the left part of Options dialog.
3. Type skin in Extesion text box.
4. Select User Control Editor from Editor dropdown.
5. Click Add and then Ok to close dialog and re-open your skin files.

只有注册用户登录后才能发表评论。