开发者

How to make selected html tag highlighting in Visual Studio 2010 work like it did in Visual Studio 2008

Is there a way to make VS 2010 work more like VS 2008 when it come to highlighting the begin and end tags of the currently selected html element.

In Visual Studio 2008 the selected html tag simply gets a bold font on the beginning and end tags of the element along with the < > characters, and the attributes remain normal.

The only option I can seem to find in VS 2010 is开发者_运维问答 to highlight the entire selected tag, attributes and all. I have found nothing that just controls the selected tag itself.

Anyone know a way to make it work more like the old editor?

Thanks!


Go to Tools -> Options -> Environment -> Fonts and Colors. Then select Brace Matching(Rectangle), set the item background to the same background your ide is using and also check the bold option. That should do it.


Go to Tools -> Options -> Environment -> Fonts and Colors. Then select Highlighted Reference. Change the Item background.

This works in VS2015 - I'm not sure about other versions of VS.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜