Skip to main content
Lex Fridman
Participant
June 5, 2011
Question

Syntax Highlighting for LESS CSS in Dreamweaver CS5.5

  • June 5, 2011
  • 2 replies
  • 24812 views

This article describes how to add the .less extension to Dreamweaver so that it views it as CSS and thus performs proper syntax highlighting.

I'm using Dreamweaver CS5.5 and following those steps still doesn't work for me. It works perfectly fine in CS5 and earlier versions but not CS5.5.

Do you have any ideas? I'm modifying the following file as the above link suggests:

C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\configuration\DocumentTypes\MMDocumentTypes.xml

    This topic has been closed for replies.

    2 replies

    Participant
    October 13, 2011

    I'm using Dreamweaver CS5.5 on a Mac and cannot get this to work.

    I am specifically trying to get the syntax highlighting working with Sass (.scss) files.

    Any thoughts?

    Participant
    October 18, 2011

    me too. The above isn't working for CS5.5 on OSX Lion Maybe there is a second file like there is on Windows?

    UPDATE: thought so. the two files to edit are also found here, and it fixed the issue for me.

    ~/Library/Application Support/Adobe/Dreamweaver CS5.5/en_US/Configuration/DocumentTypes/MMDocumentTypes.xml

    ~/Library/Application Support/Adobe/Dreamweaver CS5.5/en_US/Configuration/Extensions.txt

    October 28, 2011

    Just activate this extension and BOOM you got LESS syntax highlight !
    http://www.adobe.com/cfusion/exchange/download/e2756522

    Lex Fridman
    Participant
    June 5, 2011

    Answering my own question, but I figured it might be useful for someone...

    It seems that Dreamweaver CS5.5 also keeps the MMDocumentTypes.xml file in the user's AppData folder:

    C:\Users\<USER>\AppData\Roaming\Adobe\Dreamweaver CS5.5\en_US\Configuration\DocumentTypes\MMDocumentTypes.xml

    Adding less to the css type there as the link describes did the trick.

    July 7, 2011

    Thank you for the answer, I was running into the same problem.