Kevin
Kevin

Reputation: 2802

How do you configure Visual studio to enforce HTML5 standards?

I'm running VS 2010 SP1 w/Web Standards Update for Microsoft Visual Studio 2010 SP1 installed.

I've got it setup so I get the nice HTML5/CSS3 intellisense, but what I'm looking for is more detection and notification.

I have quite a few pages that I am converting to the new standards and have been looking for a way to get a quick snapshot of possible changes required. Does anyone know of an add-on that will show the invalid html as a tick on the scrollbar?

I would like to be able to open a page in VS, and if it picks up any html5 discrepancies to put a dash on the scrollbar. Is this configurable in VS?

I have been looking around and haven't quite found what I'm looking for yet.

Upvotes: 2

Views: 298

Answers (2)

Kevin
Kevin

Reputation: 2802

I hate to answer my own question and Resharper is an excellent addon, but I would prefer something that was free.

What I found that works well for me is the Productivity Power Tools Addon.

This addon includes a number of good improvements, but to keep this in context of my original question I would recommend this based on the Enhanced Scroll Bar.

Once installed, your scrollbar will now have little dash marks representing any validations VS catches.

You can enable this in Tools > Options > Productivity Power Tools > Enhanced Scroll Bar

It works well in Scroll bar mode or Map mode but Full Map Mode made it quite a bit more difficult to spot the recommendations.

More details about the Enhanced Scroll Bar

Upvotes: 0

tsells
tsells

Reputation: 2771

I would take a look at Resharper.

http://www.jetbrains.com/resharper/features/index.html

Upvotes: 4

Related Questions