functionList.xml for CSS
-
I just wanted to share this in case it could help someone else. If you edit your functionList.xml file here:
C:\Users<username>\AppData\Roaming\Notepad++\functionList.xml
add this at the top in the associationmap:
<association id= "css_class" langID="20" />
and add this at the end:
<!-- ======================================================= [ css_class ] --> <parser displayName="CSS" id ="css_class" commentExpr="(?s:/\*.*?\*/)" > <function mainExpr="([\.\#\@]?\w[\.\w\:, \-\r\n\t\(\)]+) *[\r\n,]*? *{+?" > <functionName> <nameExpr expr="(.)+" /> </functionName> </function> </parser> <!-- ================================================================= -->
It should be able to parse pretty much any css classname in the view->Function List pane.
-