Where can I find the jQuery syntax highlighting plugin for Notepad ++?

jQuery has syntax with all of its * and when writing ridiculously long expressions, I often strive for some kind of highlighting. Is there a way to do this in Notepad ++?

* , except for bits that are shared between CSS and JavaScript ...

+3
source share
1 answer

Notepad ++ has a langs.xml file in its directory that you can edit to add the jQuery langueage type and the keywords you want to highlight.

You can start by copying and editing a Javascript element:

<Language name="javascript" ext="js" commentLine="//" commentStart="/*" commentEnd="*/">
    <Keywords name="instre1">abstract boolean break byte case catch char class const continue debugger default delete do double else enum export extends final finally float for function goto if implements import in instanceof int interface long native new package private protected public return short static super switch synchronized this throw throws transient try typeof var void volatile while with true false prototype</Keywords>
</Language>
+4
source

Source: https://habr.com/ru/post/1733043/


All Articles