Author: .NET Web Development and Tools Blog | Posted on: 11/6/2013 11:00:00 AM | Views : 1123

Recently a very valuable, undocumented feature in the Visual Studio LESS editor came to my attention. This applies equally to Visual Studio 2012 Update 2 and later, and to Visual Studio 2013. The installation of Web Essentials is not required to benefit from this feature. The Visual Studio LESS Editor respects @import statements, and can resolve namespace, mixin and variable definitions from imported files. However, a common pattern with larger LESS projects is to have one include file establishing the include order, and a large number of source files with no @imports at all. The BootStrap project, for example, contains bootstrap.less, which looks like: // Core variables and mixins @import "variables.less" ; @import "mixins.less"...(read more)

Go to the complete details ...