Where can I find a jQuery syntax highlighting plugin for Notepad++? [closed]
jQuery has a syntax all its own*, and when writing ridiculously lengthy expressions I often yearn for some sort of highlighting. Is there a way to achieve this in Notepad++?
*except for the bits that are shared with CSS and JavaScript...
Notepad++ has a langs.xml file in its directory that you can edit to add a jQuery langueage type and the keywords you want highlighted.
You can start by copying and editing the 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>
精彩评论