SCSS User Defined Languages - UDL version 2.1 for Notepad++
Because I love some of the features of Notepad++ i wanted to use it for SASS / SCSS. Natively there is no scss in it and I did not find a satisfactory plugin so I had to do it myself. There are two here:
scss.xlm
- For default setting light mode. I tried to make css highlighting resemble this default CSS syntax highlighting provided by Notepad++scss-BlackBoardTheme.xml
- as the name suggests for Black Board Theme
The infos comes from npp user manual
Once you have the XML, you can then import it into your Notepad++, so that you can use that UDL yourself. There are two main ways to do this:
- Copy the XML into the appropriate
userDefineLangs
subfolder. Exit all instances of Notepad++ and reload, then the new UDL will be available. - Use the Import… button, navigate to the source XML, and the UDL will be immediately available.
The differences between those two methods are when the UDL will be available to Notepad++, and which config file will hold that UDL, per UDL File Locations.
Individual UDL files are stored in one of two userDefineLangs
subfolders. Each XML file in that folder is used to define one or more UDL.
%AppData%\Notepad++\userDefineLangs
: this is the default location for most Notepad++ installations<notepad++_directory>\userDefineLangs
: this is the location for portable versions, or if you turned on “local configuration mode” (or disabled%AppData%
) during the installation.<notepad++_directory>
refers to whatever folder thenotepad++.exe
application executable is located.