Edit. SCSs in Dreamweaver like CSS

Source: Internet
Author: User

In DW, files with. SCSs extension names are not supported by default.CodeHighlighted and code prompts, but fortunately DW provides the relevant extended Configuration

You need to adjust several files (OS: win7, DW: 5.0 ):

 
Find D: \ Program Files \ Adobe Dreamweaver cs5 \ Configuration \Extensions.txt
And C: \ Users \ and1coder \ appdata \ roaming \ Adobe \ Dreamweaver cs5 \ zh_cn \ Configuration\Extensions.txt

 

 
SetCSS: Style SheetsChangeCSS, SCSs: Style Sheets

 

Find D: \ Program Files \ Adobe Dreamweaver cs5 \ Configuration \ documenttypes \Mmdocumenttypes. xml

Search for CSS and modify the CSS configuration:

 <  Documenttype  ID  = "CSS"  Internaltype  = "Text"  Winfileextension  = "CSS, SCSs"  Macfileextension  = "CSS, SCSs"   
File = "Default.css" Writebyteordermark = "False" >
< Title >
< Mmstring: loadstring ID = "Mmdocumenttypes_30" />
</ Title >
< Description >
< Mmstring: loadstring ID = "Mmdocumenttypes_31" />
</ Description >
</ Documenttype >

The last step is:

Open Dreamweaver, edit, preferred parameters, file type/EditorOpen it in the Code attempt and add the. SCSs suffixAnd restart, so we can get all done here...

 

Reference connection:

Http://tracehello.wordpress.com/2011/03/19/making-dreamweaver-cs5-read-scss-as-css/

Http://www.visual28.com/articles/less-scss-syntax-highlighting-in-dreamweaver

Http://stackoverflow.com/questions/4830437/working-with-sass-in-adobe-dreamweaver

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.