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