How to disable .less (dotLess CSS) syntax analysis in ReSharper 6?

Tags: css,visual-studio-2010,resharper,less,dotless

Problem :

ReSharper 6 considers .less files as .CSS, although they aren't.

So instead of proper syntax highlighting, it underlines nearly everything with red (syntax error).

How can I disable this "feature"?

Solution :

Just found a nice trick:

// /* Disabling ReSharper ;)

// .less code goes here

// */

It's better than disabling ReSharper for a particular set of files (ReSharper -> Options -> Settings -> Edit items to skip ...), since in this case each member of your team doesn't need to repeat this.

    CSS Howto..

    how to prevent css and js being cached by internet service provider?

    How to show list items in menu when hover on the parent's it via CSS? [closed]

    How to create a absolute element overlapping several rows in a calendar (table) design?

    [HTML][CSS] How to change opacity of background-image but not the text on it?

    How to convert a JSON object (created by jquery-css-parser) back to valid CSS code? [closed]

    How to make margins collapse evenly?

    jQuery How to select the only child of a
  • inside a class
  • Bootstrap: How to apply certain CSS rules, when on different devices [duplicate]

    How to select classes that are not nested? CSS

    How to add or create an illusion of movement to a fixed div?

    How does css scale transform affect document flow?

    how to translate this xpath into css selector

    How to use Grunt while continually compressing css / javascript

    How to position div underneath dynamic ul

    How to change the content of a span using css hover?

    How to reserve 'width' for a 'hide' element

    How do I use CSS with simple form?

    How to set align of elements to center with css?

    How does the arrival of HTML5 and CSS3 affect jQuery?

    How to style the last element before another specific element in CSS? [duplicate]

    How to slide-out a submenu from under the navigation bar using CSS transition?

    How to print on a specific paper

    How to target a specific element of a div in CSS?

    How can I get this menu to hug the top of the page, widen out, and provide some space below it?

    How to create 'greater than' arrow using CSS only?

    How to hover span content from li

    How can I apply a css rule to all descendants of an elements

    How do you make a floated element fill the remaining horizontal space when it is between its fixed width siblings?

    How to negate conjunction of two attributes in CSS selector

    How to create a menu that rolls down? CSS