We recently started to use SASS / SCSS to code our stylesheets. We were missing some proper syntax highlighting with the default CSS settings provided by Notepad++. After some research, we found a good base on Wouter Beugelsdijk's techblog but we were still not quite happy with it.
- In Notepad++, Go to the
Language
menu and selectUser Defined Dialog...
- On the window that opens click on the
Import
button and select the XML file from this repository - Restart Notepad++, select CSS sintax for your .scss files.
- That's it, all your files with the .scss extension should now be highlighted
- go to your Notepad++ folder then to
/plugins/APIs/
- duplicate the
css.xml
and rename this file toSCSS-Light.xml
orSCSS-Dark.xml
#Our modifications
- Highlighting for HTML tags
- Changed some colors
- Added syntax coloring for important comments starting with /*! instead of just /*
- Added syntax coloring for partial css keywords used while using nested properties