CSS Editor Hierarchical Indentation in Visual Studio 2011 Developer Preview

In my previous tip I talked about integrated color picker for CSS in  Visual Studio 2011 Developer Preview. In this tip I am going to talk about another nice and small features of CSS Editor. Now CSS Editor supports automatically hierarchical indentation.

This helps your CSS files to read better and you can organize the CSS properly.This will definitely works well with a nice web hosting.

image

You can enabled / disabled this features from Tools > Options, or you can launch the same using Quick Launch of Visual Studio 2011 Developer preview

image

Check / Uncheck “Hierarchical indentation” from  CSS Formatting setting to turn this features on / off

image

Hope this helps !

Cheers !

Abhijit

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.