CSS Intellisense in Visual Studio 2008
I started a new solution in VS2008 today and thought I’d put together the framework for the main theme. With CSS file created, I went to add the styles to the body tag and horror: there was no intellisense.
I live by intellisense. I hate writing all my CSS manually and usually want to scroll through other properties if I can’t decide which to use. Not having it makes me feel exposed, vulnerable and afraid…
Well ok, it’s not quite that bad, but it’s very frustrating. The problem? I type a class name or html property, add the opening brace and hit enter. Normally I’d be presented with a list of CSS properties, but this time: nothing. Tab doesn’t give me anything either.
The solution is the Indenting selection in the IDE options. Specifically:
Tools > Options > Text Editor > CSS > Tabs >
Check that the Indenting is set to Smart. Apparently, anything else means you’re doing it yourself.


Thank a lot, I’m very frustrating till found you article.
thank god, i thought i was going crazy. god knows why they defaulted this to off in 2008 after years of me getting used to it in 05!
thanks ! it saved my life
Cheers for that.
@Dave & @kiarash: You’re welcome. Glad it helped!
AMEN, thank you !
Bloddy MS, how insane.
I’m sure there was a very compelling design reason behind the choice. Can’t for the life of me fathom what it might have been, though.
What a strange Easter egg. Struggling to fix it, I saw the tab option but thought it had nothing to do with it. When I began searching for a bug, luckily I found your blog. THANKS!